JEP 238: Multi-Version JAR Files

Ben Evans benjamin.john.evans at gmail.com
Fri Feb 13 12:30:20 UTC 2015


Hi Ivan,

I see your point, but I somewhat disagree.

Modules are a big scary change that I think will worry a lot of teams (e.g.
removal of Unsafe will impact a lot of frameworks in wide use).

So I see 8 as being a "long-term support" release that will be with us for
a long time.

So, in that context, multi-version jars are very useful. Consider, e.g.
JRuby or Scala that had to ship different jars for different releases, or
do fast deprecation of platform versions.

This JEP, if it had been around, would potentially have eased that pain.

So, IMO, I think this is a good thing.

Thanks,

Ben
On 13 Feb 2015 12:22, "Ivan St. Ivanov" <ivan.st.ivanov at gmail.com> wrote:

> Hi everybody,
>
> I saw this in the morning and didn't dare to comment in the core libs
> group, but I guess that the adoption mailing list is good enough for my
> question.
>
> So, in Java 9 we are hopefully going to have Jigsaw. One of its features is
> retiring the jar format. Yes, the jar will still be supported for the sake
> of backward compatibility, but I don't get why they plan to enhance it
> further with this feature. The reason "we are going to downport it to Java
> 8u60" does not hold in my books.
>
> Am I the only one that feels that this is spending time and resources on
> feature that OpenJDK plans to replace (the jar format)?
>
> Cheers,
> Ivan
>
> On Fri, Feb 13, 2015 at 1:58 PM, Martijn Verburg <martijnverburg at gmail.com
> >
> wrote:
>
> > Hi all,
> >
> > Please share the below with your communities, thanks!
> >
> > Cheers,
> > Martijn
> >
> > ---------- Forwarded message ----------
> > From: Paul Sandoz <paul.sandoz at oracle.com>
> > Date: 12 February 2015 at 20:52
> > Subject: Re: JEP 238: Multi-Version JAR Files
> > To: core-libs-dev at openjdk.java.net
> >
> >
> > 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.
> >
> > Paul.
> >
> > On Feb 12, 2015, at 9:41 PM, mark.reinhold at oracle.com wrote:
> >
> > > New JEP Candidate: http://openjdk.java.net/jeps/238
> > >
> > > - Mark
> >
>


More information about the adoption-discuss mailing list