changeset 55833:75f47593d244

8214399: Javap -help should provide information about --multi-release option Reviewed-by: jlahoda
author jjg
date Tue, 11 Jun 2019 14:56:48 -0700
parents f492567244ab
children ff74a3c584e5
files src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap.properties
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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