Multi-Release JAR runtime support

Steve Drach steve.drach at oracle.com
Tue Apr 19 16:02:37 UTC 2016


Hi Herve,

I checked the jar file created from your code and, as others have suspected, the manifest does not contain the “Multi-Release” attribute.  I added the attribute with emacs and tried it out:

$ java -classpath multirelease/target/multirelease-0.8-SNAPSHOT.jar base.Base
9-ea+113
FROM BASE -> NINE

Regards
Steve


More information about the core-libs-dev mailing list