Closed TheSail28 closed 9 months ago
The behavior is no different with Hotspot,
Perhaps you can find some reason for the change in the migration guide. https://docs.oracle.com/en/java/javase/11/migrate/index.html
Regardless, the behavior comes from OpenJDK and you should peruse it with the OpenJDK project.
Affected versions
We found a test case with execution problems. To facilitate analysis, we simplified the test case and the simplified class file can ben found at attachment.
Java -version output
Reproduce
Expected Result
Actual Result
Problem summary
cn.ponfee.commons.jce.PBECryptorTest
after a series of calls, ends up pointing toProviders.getSecretKeyFactory(String algorithm, Provider provider)
. Why is the output of OpenJ9-8 different from other versions of the JVM?Attachment
testcase2.zip