From: Samuele P. <pe...@in...> - 2001-09-17 23:06:34
|
[Humbel Otmar] > > Please let me try to describe the problem we have with our jar file. > First at all, I think it is not a Jython issue. If > java.util.Locale.getAvailableLocales() is called with this jar file in > the classpath, we get: > 'file IO Exception:java.util.zip.ZipException: invalid EXT > descriptor signature' > [snip] > > I tend to blame PKZIP for that (but its only a guess), because if we do Thanks for the report. No, the real problem is that sun didn't get the zip specification right or there are two "interpeprations" of it and took care of just one. To be honest the java.util.zip classes are a bit fragile, and with java 1.1 also have many bugs. But I don't think we will write our own versions ;( The moral: better use sun jar tool to create a jar to be used with java and jython. I don't remember the details but e.g. zipfile.py also seems to produce on some cases zips that java does not like. regards. |