harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1179) [drlvm] throws IncompatibleClassChangeError when loading edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor
Date Mon, 14 Aug 2006 18:16:13 GMT
[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: App-Oriented Bug Reports, DRLVM
            Reporter: Geir Magnusson Jr


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