RFR: 8198793:Add launcher support for preview features

mandy chung mandy.chung at oracle.com
Thu Apr 12 09:43:52 UTC 2018



On 4/12/18 4:43 AM, Kumar Srinivasan wrote:
> 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

I suggest to make the help message direct e.g.

     enable the preview VM features of this release

Mandy


More information about the core-libs-dev mailing list