zip64 compatibility problems (original) (raw)

Martin Buchholz martinrb at google.com
Sat Jan 26 17:14:03 UTC 2013


On Tue, Jan 15, 2013 at 5:41 PM, Kumar Srinivasan < kumar.x.srinivasan at oracle.com> wrote:

You changed calls to open to do this: if ((fd = open(jarfile, ORDONLY #ifdef OLARGEFILE | OLARGEFILE /* large file mode on solaris */ #endif #ifdef OBINARY | OBINARY /* use binary mode on windows */ #endif )) == -1) But this is not done consistently - there are 2 other calls to open in the same file that didn't get the LARGEFILE treatment. Why isn't there a JLIOpen? Maybe if you had reviewed my code changes, you would've caught this. :) I will look into it, maybe time for a JLIOpen as you suggested.

Following up on this, I have a simple webrev:

http://cr.openjdk.java.net/~martin/webrevs/openjdk8/LARGEFILE/

with an "obviously correct" fix. However:

So next step here is up to you.



More information about the core-libs-dev mailing list