harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1622) [drlvm] classloading fails on '/' symbos
Date Thu, 28 Sep 2006 09:24:52 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1622?page=comments#action_12438382 ] 
            
Alexey Varlamov commented on HARMONY-1622:
------------------------------------------

It appears there are 2 independent issues:
1) JarRunner should expicitly convert foo/bar/MainClass to foo.bar.MainClass to satisfy ClassLoader.loadClass()
.
2) ClassLoader.loadClass() needs special handling for arrays, there is a hole in specification
[1].

The last deserves separate tracking, will file another JIRA.

[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6249970

> [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
>            Priority: Minor
>
> 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

        

Mime
View raw message