[crac] RFR: Provide arguments for restore
Anton Kozlov
akozlov at openjdk.java.net
Fri Feb 11 12:03:04 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.
-------------
Commit messages:
- 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=00
Stats: 164 lines in 7 files changed: 135 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