On Wed, 18 Oct 2023 04:44:07 GMT, David M. Lloyd <d...@openjdk.org> wrote:
> Would `getParameterSpec` be a better/more descriptive name, given that the > thing it returns is an `AlgorithmParameterSpec`? > > (Disclosure: Our security library (WildFly Elytron) has a `getParameterSpec` > on every one of its key implementation classes... it would be serendipitous > if it would retroactively fit in with this change!) We already have the `getParams` method everywhere and we are actually reusing that name and make all these methods a mesh (not a mess). If we create another method, there will be 2 ways to do the same thing and users will be confused. And we cannot simply deprecate the old one since that will be even more disruptive. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16222#issuecomment-1769095093