The --patch-module option doesn't seem to work with JSR199 compiles. The same set of options works fine from the command line.
Using JDK9, compile and execute the attached program. Presently it gives an error for the JSR199 compile:
Error: package exists in another module: java.base
But no error for the command line compile.
It is possible I'm supposed to give an extra option to make this work. In that case please tell me what to add.
Using JDK9, compile and execute the attached program. Presently it gives an error for the JSR199 compile:
Error: package exists in another module: java.base
But no error for the command line compile.
It is possible I'm supposed to give an extra option to make this work. In that case please tell me what to add.