> On Feb 14, 2017, at 3:08 PM, Lance Andersen <lance.ander...@oracle.com> wrote: > > Hi Mandy > >> On Feb 14, 2017, at 5:53 PM, Mandy Chung <mandy.ch...@oracle.com >> <mailto:mandy.ch...@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