RFR: 8298939: Refactor open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.sh to jtreg java test [v2]

Daniel Fuchs dfuchs at openjdk.org
Tue Feb 7 20:13:44 UTC 2023


On Tue, 7 Feb 2023 19:33:23 GMT, Matthew Donovan <duke at openjdk.org> wrote:

>> Removed SSLSocketParametersTest.sh script (which just called a Java file) and configured the java code to run directly with jtreg
>
> Matthew Donovan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   clarified cases 4 and 5

test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java line 184:

> 182:                 try {
> 183:                     new ServerFactory(SSLContext.getDefault(),
> 184:                             new String[]{"dummy_ciphersuite"}, null, false);

what if the constructor doesn't throw any exception? shouldn't the test fail? or should `run` be called in that case?

-------------

PR: https://git.openjdk.org/jdk/pull/11910


More information about the core-libs-dev mailing list