RFR: JDK-8072834: jrt-fs.jar missing META-INF/services/java.nio.file.spi.FileSystemProvider
erik.joelsson at oracle.com
Tue Feb 10 10:54:32 UTC 2015
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.
More information about the build-dev