Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 86115 invoked from network); 20 Jun 2007 14:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 14:51:53 -0000 Received: (qmail 6291 invoked by uid 500); 20 Jun 2007 14:51:52 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 6266 invoked by uid 500); 20 Jun 2007 14:51:52 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 6178 invoked by uid 99); 20 Jun 2007 14:51:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 07:51:52 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 07:51:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0ECA97141EC for ; Wed, 20 Jun 2007 07:51:27 -0700 (PDT) Message-ID: <6881285.1182351087057.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 07:51:27 -0700 (PDT) From: "Mikhail Markov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4043) [classlib][luni]Unexpected error message printed in console when searching custom system class loader in missing jar In-Reply-To: <32122763.1181038886832.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506560 ] Mikhail Markov commented on HARMONY-4043: ----------------------------------------- I've just run the mentioned line on WinXP, DRLVM debug build and got the same stack trace (no crash). So this is not HDK issue :-). > [classlib][luni]Unexpected error message printed in console when searching custom system class loader in missing jar > -------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-4043 > URL: https://issues.apache.org/jira/browse/HARMONY-4043 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Sergey Salishev > Priority: Minor > > When running drlvm the following command line: > java -classpath dummy.jar;. -Djava.system.class.loader=ClassLoader bla > the following exception is printed in console: > java.lang.IllegalStateException: Recursive invocation while initializing system class loader > at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:667) > at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:159) > at org.apache.harmony.luni.util.MsgHelp$1.run(MsgHelp.java:115) > at java.security.AccessController.doPrivilegedImpl(AccessController.java:171) > at java.security.AccessController.doPrivileged(AccessController.java:53) > at org.apache.harmony.luni.util.MsgHelp.setLocale(MsgHelp.java:112) > at org.apache.harmony.luni.util.Msg.(Msg.java:49) > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.findJarFile(JarURLConnection.java:196) > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:161) > at org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:178) > at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1078) > at java.net.URLClassLoader$4.run(URLClassLoader.java:625) > at java.net.URLClassLoader$4.run(URLClassLoader.java:1) > at java.security.AccessController.doPrivilegedImpl(AccessController.java:171) > at java.security.AccessController.doPrivileged(AccessController.java:64) > at java.net.URLClassLoader.findClass(URLClassLoader.java:627) > at java.lang.ClassLoader.loadClass(ClassLoader.java:570) > at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:958) > at java.lang.ClassLoader.loadClass(ClassLoader.java:317) > at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:699) > at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:159) > Here dummy.jar is noexistent and ClassLoader is any custom class loader class. > If ClassLoader also doesn't exist the VM crashes with this command line. But the error message is peinted anyway. > If the class loader class exists the execution continues as expected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.