[crac] RFR: 8370873: [CRaC] Launcher does not parse CRaC VM options from JDK_JAVA_OPTIONS

Radim Vansa rvansa at openjdk.org
Thu Oct 30 14:20:01 UTC 2025


Java launcher parses command-line arguments as it needs to perform some operations before the normal parsing in `arguments.cpp`. However the options injected in JDK_JAVA_OPTIONS are ignored in this part (and so does parsing options from files...), leading to problems, e.g. checkpoint of PID 1.

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

Commit messages:
 - 8370873: [CRaC] Launcher does not parse CRaC VM options from JDK_JAVA_OPTIONS

Changes: https://git.openjdk.org/crac/pull/272/files
  Webrev: https://webrevs.openjdk.org/?repo=crac&pr=272&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370873
  Stats: 91 lines in 3 files changed: 90 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/crac/pull/272.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/272/head:pull/272

PR: https://git.openjdk.org/crac/pull/272


More information about the crac-dev mailing list