RFR: 8198793:Add launcher support for preview features

Kumar Srinivasan kumar.x.srinivasan at oracle.com
Wed Apr 11 20:43:42 UTC 2018


Hello,

Could I get a review to update the launcher help message.

https://bugs.openjdk.java.net/browse/JDK-8198793

diff --git 
a/src/java.base/share/classes/sun/launcher/resources/launcher.properties 
b/src/java.base/share/classes/sun/launcher/resources/launcher.properties
--- a/src/java.base/share/classes/sun/launcher/resources/launcher.properties
+++ b/src/java.base/share/classes/sun/launcher/resources/launcher.properties
@@ -113,6 +113,8 @@
  \                  one or more argument files containing options\n\
  \    -disable- at files\n\
  \                  prevent further argument file expansion\n\
+\    --enable-preview\n\
+\                  allow classes to depend on preview features of this 
release
  \To specify an argument for a long option, you can use 
--<name>=<value> or\n\
  \--<name> <value>.\n


Thanks
Kumar



More information about the core-libs-dev mailing list