We are already in a hybrid world of old-style and new-style options :-(

All the new module-related options added in JDK 9 are "new style", following the guidelines of JEP 293.

It does not make sense to add "--" to some of the older tools, that may be going away at some point, and while we may be able to add the ability for other tools to accept "--" options, we have to be careful about removing support for existing options.

-- Jon


On 11/18/17 4:28 PM, Weijun Wang wrote:
I am OK with all commands supporting --help, but I am not sure if every tool should show 
it on the help screen if the tools's other options are still using the old 
single-"-" style. It looks like the tools are half-converted.

Is there a timetable to add "--" support to all tools?

Thanks
Max

On Nov 17, 2017, at 7:23 PM, Lindenmaier, Goetz <goetz.lindenma...@sap.com> 
wrote:

Hi,

please review this change. I also filed a CSR for this:
http://cr.openjdk.java.net/~goetz/wr17/8189102-helpMessage/webrev.02/
Bug: https://bugs.openjdk.java.net/browse/JDK-8189102
CSR: https://bugs.openjdk.java.net/browse/JDK-8191477

See the webrev for a detailed description of the changes.

If required, I'll make break-out changes to be reviewed separately.

I had posted a RFR before, but improved the change to
give a more complete overview of currently supported flags
for the CSR:
http://mail.openjdk.java.net/pipermail/hotspot-dev/2017-October/028615.html

Best regards,
  Goetz.


Reply via email to