JEP 238: Multi-Version JAR Files

Florian Weimer fweimer at redhat.com
Fri Feb 27 13:27:18 UTC 2015


On 02/12/2015 09:52 PM, Paul Sandoz wrote:
> Hi
> 
> In connection with the JEP there is also a design document to help the discussion:
> 
>   http://cr.openjdk.java.net/~psandoz/jdk9/MultiVersionJar-8u60-9-design.md
> 
> We are especially interesting in hearing feedback from library developers, tool/IDE developers, and anyone doing funky stuff with class loading and JAR files.

I'm wondering how you propose to build such JAR files.  Do you think
library developers will maintain two separate branches, compile one with
JDK 8, the other one with JDK 9, and then use some (not yet existing?)
tool to merge the output into a single JAR?  Is such automated merging
even possible if the bytecode was compiled with different javac versions?

What about presenting Javadoc in a useful fashion?

-- 
Florian Weimer / Red Hat Product Security



More information about the core-libs-dev mailing list