Hi,
JDK-8211825 is backported to 11.0.11-oracle. I'd like to backport it for parity.
The original change applies cleanly, by javac from 11u has a problem with the
new AutomaticModulesTest:
AutomaticModulesTest.java:70: error: reference to createJarFile is ambiguous
JarUtils.createJarFile(LIB.resolve("alib.jar"), CLASSES);
^
both method createJarFile(Path,Path,Path...) in JarUtils and method
createJarFile(Path,Path,String...) in JarUtils match
I suggest to resolve it this way:
http://cr.openjdk.java.net/~mdoerr/8211825_module_layer_11u/test_fix.patch
Bug:
https://bugs.openjdk.java.net/browse/JDK-8211825
Original change:
http://hg.openjdk.java.net/jdk/jdk/rev/a42c378b6f01
11u webrev:
http://cr.openjdk.java.net/~mdoerr/8211825_module_layer_11u/webrev.00/
Please review.
Best regards,
Martin