Bug (old?) in ZipEntry?

Martin Egholm Nielsen martin@egholm-nielsen.dk
Tue Sep 13 08:25:00 GMT 2005


Hi,
>>Do you mind trying with the two test-archives I've attached - you're
>>free to ignore...
> This is weird - with the ZIP archives that you have provided
> me, the output is different for Sun's JDK 1.5.0.03 and current
> GCJ. I think you should file a bug against the "classpath"
> product in the GCC Bugzilla and attach the two archives.
Now, this is "good"... Or actually it's not - I'm supposed to use the 
feature ;-)
I'll produce two new archives without my company's standard copyright 
info...
Thanks for testing it Ranjit!
// Martin
> ------------------------------------ 8< ------------------------------------
> ~/tmp/men > java -version
> java version "1.5.0_03"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
> Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)
> ~/tmp/men > java ZipDates fromwinzip.zip
> ZipDates.java date: 1126247514000 Fri Sep 09 12:01:54 IST 2005
> ~/tmp/men > java ZipDates fromzip.zip
> ZipDates.java date: 1126247512000 Fri Sep 09 12:01:52 IST 2005
> ~/tmp/men > mygij -version
> java version "1.4.2"
> gij (GNU libgcj) version 4.1.0 20050913 (experimental)
>> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> ~/tmp/men > mygij ZipDates fromwinzip.zip
> ZipDates.java date: 1126247514265 Fri Sep 09 12:01:54 GMT+05:30 2005
> ~/tmp/men > mygij ZipDates fromzip.zip
> ZipDates.java date: 4040499060112 Tue Jan 14 06:21:00 GMT+05:30 2098
> ~/tmp/men >
> ------------------------------------ 8< ------------------------------------
>> Ranjit.
>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /