Hi! When incrementally compiling some of a module's sources it is necessary to make the compiler aware that the sources actually belong to that module. One way to do this was the non-standard option -Xmodule, which was recently demoted to the hidden -XD-Xmodule.
I'm curious to know why. Example: javac --module-path mods -d classes src/foo.mod/com.example.SomeClass.java This will compile SomeClass in the unnamed module, making it fail if it uses types from bar.mod (even if foo.mod requires it). I know of three ways to fix this: * adding module declaration to compile command * multi-module declaration * option -XD-Xmodule I found the last option to be conceptually most fitting and also the least troublesome. so long ... Nicolai -- PGP Key: http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509 Web: http://codefx.org a blog about software development https://www.sitepoint.com/java high-quality Java/JVM content http://do-foss.de Free and Open Source Software for the City of Dortmund Twitter: https://twitter.com/nipafx