When a licensee executes jre with jar file without MANIFEST in LANG=ja, FATAL ERROR and stack trace show up. REPORDUCE: 1. Compile the attached a.java 2. Launch java -classpath M.jar:. -Xcheck:jni -XX:SoftRefLRUPolicyMSPerMB=0 a you will see the following message ---> goedel[15]% java -classpath M.jar:. -Xcheck:jni -XX:SoftRefLRUPolicyMSPerMB=0 a FATAL ERROR in native method: Static field ID passed to JNI at java.util.zip.ZipEntry.initFields(Native Method) at java.util.zip.ZipEntry.<init>(ZipEntry.java:92) at java.util.zip.ZipFile.getEntry(ZipFile.java:153) - locked <0xf1408358> (a java.util.jar.JarFile) at java.util.jar.JarFile.getEntry(JarFile.java:194) at java.util.jar.JarFile.getJarEntry(JarFile.java:181) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:668) at sun.misc.URLClassPath$2.next(URLClassPath.java:231) at sun.misc.URLClassPath$2.hasMoreElements(URLClassPath.java:241) at java.lang.ClassLoader$2.hasMoreElements(ClassLoader.java:939) at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27) at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java :36) at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27) at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java :36) at sun.misc.Service$LazyIterator.hasNext(Service.java:254) at java.nio.charset.Charset$1.getNext(Charset.java:303) at java.nio.charset.Charset$1.hasNext(Charset.java:318) at java.nio.charset.Charset$2.run(Charset.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.nio.charset.Charset.lookupViaProviders(Charset.java:358) at java.nio.charset.Charset.lookup(Charset.java:385) at java.nio.charset.Charset.isSupported(Charset.java:407) at java.lang.StringCoding.lookupCharset(StringCoding.java:82) at java.lang.StringCoding.encode(StringCoding.java:363) at java.lang.StringCoding.encode(StringCoding.java:380) at java.lang.String.getBytes(String.java:590) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:221) at java.io.File.exists(File.java:680) at java.lang.ClassLoader$3.run(ClassLoader.java:1498) at java.security.AccessController.doPrivileged(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1495) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477) at java.lang.Runtime.loadLibrary0(Runtime.java:788) - locked <0xf1b25b68> (a java.lang.Runtime) at java.lang.System.loadLibrary(System.java:834) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.util.zip.ZipEntry.<clinit>(ZipEntry.java:45) at java.util.zip.ZipFile.getEntry(ZipFile.java:153) - locked <0xf1b299c0> (a java.util.jar.JarFile) at java.util.jar.JarFile.getEntry(JarFile.java:194) at java.util.jar.JarFile.getJarEntry(JarFile.java:181) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:668) at sun.misc.URLClassPath.getResource(URLClassPath.java:157) at java.net.URLClassLoader$1.run(URLClassLoader.java:191) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) - locked <0xf1b28210> (a sun.misc.Launcher$AppClassLoader) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) - locked <0xf1b28210> (a sun.misc.Launcher$AppClassLoader) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) - locked <0xf1b28210> (a sun.misc.Launcher$AppClassLoader) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at a.main(a.java:7) goedel[16]% <----- CONFIGURATION: JRE : 1.4.2_02 java version "1.4.2_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) OS : Solaris 8(japanese) LANG : ja ###@###.### 10/25/04 09:03 GMT
|