RFR: 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error [v2]

David Holmes dholmes at openjdk.org
Tue Jun 4 04:45:01 UTC 2024


On Mon, 3 Jun 2024 19:38:48 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> [JDK-8316132](https://bugs.openjdk.org/browse/JDK-8316132) addresses one incident of the problem. The test I did was an attempt to reproduce similar failure mode in this bug but I couldn't trigger a JNI error.

The JNI Error only happened because exceptions were not being handled correctly. Now that is fixed. So the number of actual failure paths are now reduced. So what I'm suggesting is that you only enhance the test to account for the additional path your testing uncovered rather than treating all VM initialization errors as being okay.

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

PR Comment: https://git.openjdk.org/jdk/pull/19506#issuecomment-2146598708


More information about the hotspot-runtime-dev mailing list