RFR: 8371688: Unexpected behavior for jdk.tls.client.cipherSuites and jdk.tls.server.cipherSuites system properties [v3]
Artur Barashev
abarashev at openjdk.org
Mon Dec 1 16:34:49 UTC 2025
On Mon, 1 Dec 2025 15:14:16 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Artur Barashev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Correct test description
>
> src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java line 448:
>
>> 446:
>> 447: if (cipherSuites.isEmpty()) {
>> 448: throw new IllegalArgumentException("System property "
>
> How does this exception propagate to the caller? Can you show the stack trace?
Since this method is called to initialize static class variables the whole class fails to initialize. So `ExceptionInInitializerError` is being thrown as demonstrated in the [unit test](https://github.com/openjdk/jdk/pull/28499/files#diff-907d2d932e7c3ee713ab69b674a8c5f6edfc5ebf3f62421e0effb0951ced41c9R45)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28499#discussion_r2577801716
More information about the security-dev
mailing list