harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1179) [drlvm] throws IncompatibleClassChangeError when loading edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor
Date Tue, 15 Aug 2006 12:26:16 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1179?page=comments#action_12428118 ] 
            
Anton Luht commented on HARMONY-1179:
-------------------------------------

this patch works for me and I see no crash in hyluni.dll

activemq seems to be up and running... I'll try to find how to test its functionality

> [drlvm] throws IncompatibleClassChangeError when loading edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1179
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1179
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM, App-Oriented Bug Reports
>            Reporter: Geir Magnusson Jr
>         Attachments: classloader.patch
>
>
> As reported by Anton Luht in HARMONY-956, DRLVM will throw a IncompatibleClassChangeError
when loading the above-named class.  The program used to show this bug : 
> public class Test {
>   public static void main(String[] args) throws Throwable {
>       Class.forName("edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor");
>   }
> }
> compiled with javac 1.5 and run with library shipped with activeMQ:
> java -cp .;<activemq home>\lib\backport-util-concurrent-2.1.jar Test
> prints nothing in RI . In DRLVM + Harmony w/ at least r431390 
> it prints:
> java.lang.IncompatibleClassChangeError: edu/emory/mathcs/backport/java/util/conc
> urrent/ScheduledThreadPoolExecutor
>         at java.lang.VMClassRegistry.defineClass()
>         at java.lang.ClassLoader.defineClass()
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:68
> )
>         at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1130)
>         at java.net.URLClassLoader$4.run(URLClassLoader.java:617)
>         at java.net.URLClassLoader$4.run(URLClassLoader.java:616)
>         at java.security.AccessController.doPrivilegedImpl()
>         at java.security.AccessController.doPrivileged()
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:614)
>         at java.lang.ClassLoader.loadClass()
>         at java.net.URLClassLoader$SubURLClassLoader.loadClass(URLClassLoader.ja
> va:116)
>         at java.lang.ClassLoader.loadClass()
>         at java.lang.Class.forName()
>         at java.lang.Class.forName()
>         at Test.main(Test.java:3) 

-- 
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