Hi Mandy > On Feb 14, 2017, at 5:53 PM, Mandy Chung <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? Best Lance <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com <mailto:lance.ander...@oracle.com>