You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Rebriy (JIRA)" <ji...@apache.org> on 2006/08/15 13:40:15 UTC
[jira] Updated: (HARMONY-1179) [drlvm] throws
IncompatibleClassChangeError when loading
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor
[ http://issues.apache.org/jira/browse/HARMONY-1179?page=all ]
Pavel Rebriy updated HARMONY-1179:
----------------------------------
Attachment: classloader.patch
This patch fixes the problem.
After that ActiveMQ fails in hyluni.dll.
> [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