On 27/09/16 11:59, Alan Bateman wrote:
> javac could probably emit a better message here. In any case, can you 
> add `--add-modules java.logging` to this. The issue is that you are 
> compiling TestClass "as if" it's in the java.compiler module but that 
> module does not require java.logging. There has been suggestions that 
> --add-reads should imply --add-modules but no conclusion on that.

Aha!  That does indeed fix the problem.  I'm sure we'll have a fair
few FAQs like this when JDK 9 is release fo real.

Andrew.

Reply via email to