[crac] RFR: 8348869: [CRaC] Restore args are split by whitespaces incorrectly

Timofei Pushkin tpushkin at openjdk.org
Tue Jan 28 15:12:47 UTC 2025


Fixes the issue by creating a new property `sun.java.crac_command` with spaces escaped. On restore, JVM parses this string de-escaping symbols.

Replaces abandoned #101.

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

Commit messages:
 - Restore args are split by whitespaces incorrectly

Changes: https://git.openjdk.org/crac/pull/193/files
  Webrev: https://webrevs.openjdk.org/?repo=crac&pr=193&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348869
  Stats: 169 lines in 8 files changed: 164 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/crac/pull/193.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/193/head:pull/193

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


More information about the crac-dev mailing list