RFR: 8323616: [JVMCI] TestInvalidJVMCIOption.java fails intermittently with NPE [v4]

Doug Simon dnsimon at openjdk.org
Tue Jan 16 12:28:31 UTC 2024


> This PR changes callSystemExit to call `vm_exit_during_initialization()` instead of `System.exit` if the module system has not been initialized. This avoids an NPE in the `System.exit` code path where it is assumed that the `Class.module` field is non-null for `java.lang.Shutdown`.

Doug Simon has updated the pull request incrementally with one additional commit since the last revision:

  use substring instead of equality test for expected error message

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17397/files
  - new: https://git.openjdk.org/jdk/pull/17397/files/91be4c2d..a9967cc4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17397&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17397&range=02-03

  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/17397.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17397/head:pull/17397

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


More information about the hotspot-compiler-dev mailing list