javac doesn't work with jar files with >64k entries

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Nov 15 12:02:00 PST 2012


If you could outline the fix, we can do the rest of the donkeywork.

-- jon

On 11/15/2012 11:52 AM, Kumar Srinivasan wrote:
> I have too many things on my plate, it is yours and Jon to call on this.
>
> Kumar
>
> ----- martinrb at google.com wrote:
> > From: martinrb at google.com
> > To: kumar.x.srinivasan at oracle.com
> > Cc: compiler-dev at openjdk.java.net, xueming.shen at oracle.com
> > Sent: Wednesday, November 14, 2012 4:46:54 PM GMT -08:00 US/Canada 
> Pacific
> > Subject: Re: javac doesn't work with jar files with >64k entries
> >
> >
> >
> This bug should just be fixed - I'm guessing it's 20 lines of code or so.
>
> >
> We can live with this bug because we can just turn off optimized zip 
> in javac, but it would be nice to have the optimzed version work 
> correctly, and I might be able to cook up a fix if no one else is 
> going to volunteer to work on it.  Let me know.
>
> >
> Martin
>
> >
> >
>
>     >
>     >
>     >
>
>          as JimH would say "I think I hear my management calling....." :)
>
>
>     >
>     The thorny compatibility issues are indeed hard (seriously, the
>     risk and effort of a ZIP64 backport is too high and the value
>     provided too low), .....  but for the issue of jdk7 javac not
>     understanding jdk6-created jar files with >64k entries, I suggest
>     "simply" fixing the code as I outlined and adapting T6836682 to a
>     non-jtreg test (because it would need both a jdk6 and a jdk7 as
>     inputs).
>
>
> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20121115/9cef0af8/attachment.html 


More information about the compiler-dev mailing list