8214399: Javap -help should provide information about --multi-release option
Reviewed-by: jlahoda
--- 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