Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Recent Java update on Mac OS X to 1.6.0-13 causes stack traces with -Djava.system.class.loader setting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent Java update on Mac OS X to 1.6.0-13 causes stack traces with -Djava.system.class.loader setting



Hi Tim, all,

I'm also experiencing the same exception on startup when specifying a custom class loader with the -Djava.system.class.loader option. This exception occurs with Java 1.6.0-13 only, *not* with 1.5.0_19 or prior versions of the Java runtime.

This issue can be reproduced by downloading and launching the latest version of muCommander, stable or nightly. Note that it does not prevent the application from starting, it just prints a (long) stack track to the standard output.

Does anyone know how to prevent this exception for occurring ?

Thanks,
Maxence


Hi.


The update to Java 1.6.0-13 seems to have introduced alarming (but apparently harmless) stack traces - pasted below - which are emitted very early in the VM start-up if the java command specifies - Djava.system.class.loader.


After the stack traces, the application seems to execute as expected.


Is anyone else seeing this?

This did not happen under 1.6.0-07 on the Mac nor does it happen under 1.6.0-13 on other operating systems.

- Tim


[exec] Intentionally suppressing recursive invocation exception!
[exec] java.lang.IllegalStateException: recursive invocation
[exec] at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1394)
[exec] at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1377)
[exec] at sun.security.jca.ProviderConfig$1.run(ProviderConfig.java: 64)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at sun.security.jca.ProviderConfig.getLock(ProviderConfig.java:62)
[exec] at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
[exec] at sun.security.jca.ProviderList.getProvider(ProviderList.java:215)
[exec] at sun.security.jca.ProviderList.getService(ProviderList.java: 313)
[exec] at sun.security.jca.GetInstance.getInstance(GetInstance.java: 140)
[exec] at java .security .cert.CertificateFactory.getInstance(CertificateFactory.java:148)
[exec] at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:244)
[exec] at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
[exec] at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
[exec] at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
[exec] at sun .security .util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:80)
[exec] at java.util.jar.JarVerifier.processEntry(JarVerifier.java:256)
[exec] at java.util.jar.JarVerifier.update(JarVerifier.java:188)
[exec] at java.util.jar.JarFile.initializeVerifier(JarFile.java:321)
[exec] at java.util.jar.JarFile.getInputStream(JarFile.java:386)
[exec] at sun.misc.JarIndex.getJarIndex(JarIndex.java:99)
[exec] at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:606)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at sun.misc.URLClassPath $JarLoader.ensureOpen(URLClassPath.java:597)
[exec] at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java: 581)
[exec] at sun.misc.URLClassPath$3.run(URLClassPath.java:331)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at sun.misc.URLClassPath.getLoader(URLClassPath.java:320)
[exec] at sun.misc.URLClassPath.getLoader(URLClassPath.java:297)
[exec] at sun.misc.URLClassPath.getResource(URLClassPath.java:167)
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[exec] at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java: 244)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:309)
[exec] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 330)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
[exec] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 402)
[exec] at java.lang.Class.forName0(Native Method)
[exec] at java.lang.Class.forName(Class.java:247)
[exec] at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2150)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1407)
[exec] at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1377)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.