Due to the current design of the AddPackagesAttribute build tool, all module-info.class files will be written to, when the tool is run. This happens whenever at least one module-info.class file has been updated. The end result of this is that if you recompile a single module, *all* modules will be touch, forcing jmod to repackage all of them.

This fix did not initially work, since the jmod generation was non-deterministic, but that has gracefully been fixed by Alan in JDK-8243666.

Bug: https://bugs.openjdk.java.net/browse/JDK-8243665
WebRev: http://cr.openjdk.java.net/~ihse/JDK-8243665-fix-AddPackagesAttribute/webrev.01

/Magnus

Reply via email to