Multi-Release JAR file patch as applied to build 108 of Java 9 breaks almost every project out there (Apache Ant, Gradle, partly Apache Maven)

Alan Bateman Alan.Bateman at oracle.com
Sat Mar 5 14:03:07 UTC 2016


On 05/03/2016 13:24, Uwe Schindler wrote:
> :
>
> I'd suggest to please ASAP revert the Multi-Release JAR file patch and provide a new preview build as soon as possible. I think there is more work needed to fix this. If this does not revert to the original state, it will be impossible to build and test Lucene, Elasticsearch,.... (and almost every Java project out there!). So short: We cannot test anymore and it is likely that we cannot support Java 9 anymore because the build system used by most Java projects behind the scenes does not bootstrap itself anymore.
>
Sigh, I think those of us that reviewed this missed the point that the 
fragment is appended by default. This will of course break code that 
parses URL strings in naive ways (anything looking for ".xml" should be 
looking at the path component of course). I'll create a bug for this 
now, assuming you haven't created one already.

One general point is that the purpose of EA builds and timely testing by 
Lucene and other projects is invaluable for shaking out issues. There 
will be issues periodically and much better to find these within a few 
days of pushing a change rather than months later.

-Alan



More information about the core-libs-dev mailing list