RFR: 8174735 Update JAX-WS RI integration to latest version

Mandy Chung mandy.chung at oracle.com
Tue Feb 14 23:54:12 UTC 2017


> On Feb 14, 2017, at 3:08 PM, Lance Andersen <lance.andersen at oracle.com> wrote:
> 
> Hi Mandy
> 
>> On Feb 14, 2017, at 5:53 PM, Mandy Chung <mandy.chung at oracle.com <mailto:mandy.chung at oracle.com>> wrote:
>> 
>> 
>> 
>> +                    if ("-release".equals(opt) && 9 >= getVersion(javacOptions.get(i + 1))) {
>> 
>> javac supports `—-release` (double dashes, GNU long form style) but not the single dash option.  Is this new option in wsimport and wsgen tools?  It should probably be consistent with java.
> 
> All of the command line options AFAIK are with a single dash.  I would think you would want to keep all options  consistent (that is have all single dash, or all double dash) so perhaps support both single dash and double dash options if you are looking for javac consistency with GNU long form style?
> 


New JDK 9 options have moved to GNU-style:
   http://openjdk.java.net/jeps/293

There is no short-form for `—release`.   Since this option has the same semantic as javac —release, I think it should be consistent with javac, just have the long form.

Mandy


More information about the core-libs-dev mailing list