Details
-
Bug
-
Resolution: Fixed
-
P2
-
9
Description
We need to adapt to the new gnu style java command for many of the arguments we use - like -Xpatch -> --patch-module
This is known to affect
* buildSrc/src/main/java/workaround/GradleJUnitWorker.java
* build.gradle (generation of xpatch.args if not other places)
* tools/scripts/make_xpatch.args
* others ?
Also... change the paths so they are quoted to protect against paths with spaces in them.
Consider fixing the java.library.path to point to other than build/sdk
Once we change this, we will need to version check JIGSAW_BUILD
for the latest options, see: http://openjdk.java.net/jeps/293
-Xpatch ->
--patch-module <module>=<file>(:<file>)*
-addExport, -addReads ->
--add-reads <module>=<target-module>(,<target-module>)*
--add-exports <module>=<target-module>(,<target-module>)*
-mp, -modulepath ->
--module-path <path>, -p <path>
Override or augment a module with classes and resources in JAR files or directories.
This is known to affect
* buildSrc/src/main/java/workaround/GradleJUnitWorker.java
* build.gradle (generation of xpatch.args if not other places)
* tools/scripts/make_xpatch.args
* others ?
Also... change the paths so they are quoted to protect against paths with spaces in them.
Consider fixing the java.library.path to point to other than build/sdk
Once we change this, we will need to version check JIGSAW_BUILD
for the latest options, see: http://openjdk.java.net/jeps/293
-Xpatch ->
--patch-module <module>=<file>(:<file>)*
-addExport, -addReads ->
--add-reads <module>=<target-module>(,<target-module>)*
--add-exports <module>=<target-module>(,<target-module>)*
-mp, -modulepath ->
--module-path <path>, -p <path>
Override or augment a module with classes and resources in JAR files or directories.
Attachments
Issue Links
- blocks
-
JDK-8152387 IllegalAccessError when running some closed toys
-
- Resolved
-
-
JDK-8160851 Remove old launcher module-related options
-
- Closed
-
- is blocked by
-
JDK-8136930 Simplify use of module-system options by custom launchers
-
- Resolved
-