On Fri, 28 Aug 2026 12:55:53 GMT, Alan Bateman <[email protected]> wrote:
>> - Yes, returning `String[] ` for consistency with existing methods. >> - Not sure if we should say that the names are unique and the ordering is >> significant: similar methods such as `getSupportedCipherSuites()` and >> `getSupportedProtocols()` don't document such requirement. While SunJSSE >> returns unique values in order of preference, other providers may choose to >> do otherwise. I need to think about it more. >> - Please elaborate about the `empty array ` question, not sure I understand. >> Technically this call can return an empty array, that would be a valid >> return value. > >> Please elaborate about the empty array question, not sure I understand. >> Technically this call can return an empty array, that would be a valid >> return value. > > If an empty array is an allowed return then okay. My question was to > understand if it is necessary to have both UOE and empty array. An empty array means that the engine implementation doesn’t support any named groups. An UOE means that the engine implementation may support named groups but doesn’t implement the API for querying which ones are supported. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32560#discussion_r3886125886
