On 12/07/2016 22:24, Malachi de Ælfweald wrote:
I notice that with 9-ea+125-2016-07-06-073258.javare.5251.nc
<http://125-2016-07-06-073258.javare.5251.nc>, this works:
--add-modules=ALL-SYSTEM --add-exports=java.base/sun.nio.ch
<http://sun.nio.ch>=ALL-UNNAMED
With a slightly newer 9-ea+126 from webupd8, it causes:
Unrecognized option: --add-modules=ALL-SYSTEM
Do we need to ask that the WebUpd8 team build with a slightly
different command line?
I don't know what webupd8 is but I assume you were testing with a Jigsaw
EA builds [1] and have now switched to a regular JDK 9 download [2].
Yeah, it is confusing to have two downloads but having builds of the
sandbox has been useful to try things. The Jigsaw EA downloads have the
support for GNU style command line options and that support is in the VM
too (that is why you have been able to use them with _JAVA_OPTIONS). We
have not brought these changes into the JDK 9 main line yet so the main
line is still on the old options (-addmods, -XaddExports, ...). We
expect to bring the GNU style module options into JDK 9 in the coming
weeks (exact build is TBD).
-Alan
[1] https://jdk9.java.net/jigsaw/
[2] https://jdk9.java.net/download/