Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 72998 invoked from network); 2 Oct 2006 20:46:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 20:46:56 -0000 Received: (qmail 13227 invoked by uid 500); 2 Oct 2006 20:46:55 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 13181 invoked by uid 500); 2 Oct 2006 20:46:55 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 13169 invoked by uid 99); 2 Oct 2006 20:46:55 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 13:46:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:52880] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id A0/D7-24395-5BA71254 for ; Mon, 02 Oct 2006 13:46:49 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D1D19714316 for ; Mon, 2 Oct 2006 13:46:23 -0700 (PDT) Message-ID: <17949200.1159821983856.JavaMail.root@brutus> Date: Mon, 2 Oct 2006 13:46:23 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1622) [drlvm] classloading fails on '/' symbos In-Reply-To: <8726440.1159433631618.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1622?page=comments#action_12439309 ] Geir Magnusson Jr commented on HARMONY-1622: -------------------------------------------- It's J9's JarRunner that's patching the main class name. It's better to be liberal in what we accept, I guess. I do wonder if we should be as liberal in the classlib. I'll commit it. > [drlvm] classloading fails on '/' symbos > ---------------------------------------- > > Key: HARMONY-1622 > URL: http://issues.apache.org/jira/browse/HARMONY-1622 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Alexey Varlamov > Assigned To: Geir Magnusson Jr > Priority: Minor > Attachments: HARMONY-1622.patch > > > The org.apache.harmony.archive.tests.java.util.jar.JarOutputStreamTest of classlib fails on DRLVM with the following trace: > [junit] java/lang/NoClassDefFoundError : The name is expected in binary (canonical) form, therefore '/' symbols are not allowed: foo/bar/execjartest/MainClass > [junit] at java.lang.VMClassRegistry.defineClass (Native Method) > [junit] at java.lang.ClassLoader.defineClass (Unknown Source) > [junit] at java.security.SecureClassLoader.defineClass (SecureClassLoader.java: 68) > [junit] at java.net.URLClassLoader.findClassImpl (URLClassLoader.java: 1130) > [junit] at java.net.URLClassLoader$4.run (URLClassLoader.java: 617) > [junit] at java.net.URLClassLoader$4.run (URLClassLoader.java: 616) > [junit] at java.security.AccessController.doPrivilegedImpl (Unknown Source) > [junit] at java.security.AccessController.doPrivileged (Unknown Source) > [junit] at java.net.URLClassLoader.findClass (URLClassLoader.java: 614) > [junit] at java.lang.ClassLoader.loadClass (Unknown Source) > [junit] at java.net.URLClassLoader$SubURLClassLoader.loadClass (URLClassLoader.java: 116) > [junit] at java.lang.ClassLoader.loadClass (Unknown Source) > [junit] at org.apache.harmony.vm.JarRunner.main (Unknown Source) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira