Operating System - HP-UX
1755083 Members
4100 Online
108829 Solutions
New Discussion

JVM 1.4.01 crashes loading java/util/ZipFile when LANG=ja_JP.SJIS

 
Jeff Cleveland
New Member

JVM 1.4.01 crashes loading java/util/ZipFile when LANG=ja_JP.SJIS

I'm doing reverse JNI to a 1.4.01 on both PA and IA64.

When I try to load the class java/util/ZipFile with the LANG environment variable set to "ja_JP.SJIS", I get the following crash:

Current Java thread:
"Thread-1" prio=8 tid=0x402088b0 nid=14 lwp_id=2800524 runnable
[0x6c49c000..0x6c49eeb8]
at java.util.jar.JarFile.getMetaInfEntryNames(Native Method)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:239)
at java.util.jar.JarFile.getInputStream(JarFile.java:313)
- locked <0x6d3d3ee0> (a sun.net.www.protocol.jar.URLJarFile)
at

sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:
at java.net.URL.openStream(URL.java:960)
at sun.misc.Service.parse(Service.java:203)
at sun.misc.Service.access$100(Service.java:111)
at sun.misc.Service$LazyIterator.hasNext(Service.java:257)
at java.nio.charset.Charset$1.getNext(Charset.java:301)
at java.nio.charset.Charset$1.hasNext(Charset.java:316)
at java.nio.charset.Charset$2.run(Charset.java:359)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.lookupViaProviders(Charset.java:356)
at java.nio.charset.Charset.lookup(Charset.java:383)
at java.nio.charset.Charset.isSupported(Charset.java:405)
at java.lang.StringCoding.lookupCharset(StringCoding.java:96)
at java.lang.StringCoding.encode(StringCoding.java:425)
at java.lang.StringCoding.encode(StringCoding.java:448)
at java.lang.String.getBytes(String.java:809)
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:159)
at java.io.File.exists(File.java:681)
at java.lang.ClassLoader$3.run(ClassLoader.java:1426)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1423)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
- locked <0x6d370b20> (a java.lang.Runtime)
at java.lang.System.loadLibrary(System.java:832)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:49)

Is this a known issue? Are there any workarounds?

Thanks.
1 REPLY 1
meetlesli
Occasional Advisor

Re: JVM 1.4.01 crashes loading java/util/ZipFile when LANG=ja_JP.SJIS

waiting for reply..

Thanks,
Leslie