[crac] RFR: Provide arguments for restore [v2]

Anton Kozlov akozlov at openjdk.java.net
Fri Feb 11 12:20:01 UTC 2022


> This change adds a new API and implementation to receive a new set of command-line arguments in the restored Java instance. The supplied demo code shows a faster replacement for `javac`.
> 
> The current implementation obligates the first argument of the new set not to start with the dash, otherwise, the java launcher will interpret it as its own parameter. So the first argument should be a "verb" similar to the Main class.

Anton Kozlov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge remote-tracking branch 'jdk/crac/crac' into args
 - Provide arguments for restore

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

Changes: https://git.openjdk.java.net/crac/pull/16/files
 Webrev: https://webrevs.openjdk.java.net/?repo=crac&pr=16&range=01
  Stats: 166 lines in 7 files changed: 137 ins; 10 del; 19 mod
  Patch: https://git.openjdk.java.net/crac/pull/16.diff
  Fetch: git fetch https://git.openjdk.java.net/crac pull/16/head:pull/16

PR: https://git.openjdk.java.net/crac/pull/16


More information about the crac-dev mailing list