8214399: Javap -help should provide information about --multi-release option
authorjjg
Tue, 11 Jun 2019 14:56:48 -0700
changeset 55333 75f47593d244
parent 55332 f492567244ab
child 55334 ff74a3c584e5
8214399: Javap -help should provide information about --multi-release option Reviewed-by: jlahoda
src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java
src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap.properties
--- a/src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java	Tue Jun 11 21:30:28 2019 +0000
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java	Tue Jun 11 14:56:48 2019 -0700
@@ -944,7 +944,8 @@
         String[] fmOptions = {
             "--module-path", "--system",
             "--class-path", "-classpath", "-cp",
-            "-bootclasspath"
+            "-bootclasspath",
+            "--multi-release"
         };
 
         for (String o: fmOptions) {
--- a/src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap.properties	Tue Jun 11 21:30:28 2019 +0000
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap.properties	Tue Jun 11 14:56:48 2019 -0700
@@ -92,6 +92,9 @@
 main.opt.module_path=\
 \  --module-path <path>             Specify where to find application modules
 
+main.opt.multi_release=\
+\  --multi-release <version>        Specify the version to use in multi-release JAR files
+
 main.opt.constants=\
 \  -constants                       Show final constants