RFR: JDK-8072834: jrt-fs.jar missing META-INF/services/java.nio.file.spi.FileSystemProvider

Erik Joelsson erik.joelsson at oracle.com
Tue Feb 10 10:54:32 UTC 2015


Hello,

Please review this fix for the missing 
META-INF/services/java.nio.file.spi.FileSystemProvider in jrt-fs.jar.

In JDK-8071550, I changed the logic of INCLUDES and EXCLUDES parameters 
to SetupJavaCompilation to also affect META-INF files consistently. 
Since then, jrt-fs.jar is no longer including the file system provider. 
The fix is to explicitly copy that file. Due to how the EXCLUDES and 
INCLUDES rules work in that macro, there was no easy way of expressing 
inclusion of just that file. (When specifying both INCLUDES and 
INCLUDE_FILES, only the intersection between the two is included, not 
the union which one might expect.) I did contemplate changing the rules, 
but decided this was not the time.

Bug: https://bugs.openjdk.java.net/browse/JDK-8072834
Webrev: http://cr.openjdk.java.net/~erikj/8072834/webrev.jdk.01/

/Erik



More information about the build-dev mailing list