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] Updated: (HARMONY-939) [kernel] fix for launching Eclipse 3.2
Date Fri, 21 Jul 2006 06:10:14 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-939?page=all ]

Alexey Varlamov updated HARMONY-939:
------------------------------------

    Attachment: eclipse32.patch

The fix is attached.
The reason of this failure is too eager filtration (by return type) of overriden methods during
reflection. In fact it was an overkill, because the return type of a method does not affect
resolution. Moreover, java 1.5 feature of covariant return types is realized via autogenerated
bridge methods which provide compartibility with legacy overriding semantics, so such extra
check is not needed.

> [kernel] fix for launching Eclipse 3.2
> --------------------------------------
>
>                 Key: HARMONY-939
>                 URL: http://issues.apache.org/jira/browse/HARMONY-939
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Attachments: eclipse32.patch
>
>
> The Eclipse 3.2 fails to start on DRLVM: it shows a splash screen and crashes with a
bunch of Exceptions:
> !ENTRY org.eclipse.osgi 4 0 2006-07-21 12:45:31.656
> !MESSAGE An error occurred while automatically activating bundle org.eclipse.core.runtime.compatibility
(25).
> !STACK 0
> org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.plugins.CompatibilityActivator.start()
of bundle org.eclipse.core.runtime.compatibility.
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1014)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
> 	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:318)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:276)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
> 	at org.eclipse.core.internal.runtime.CompatibilityHelper.getPluginDescriptor(CompatibilityHelper.java:63)
> 	at org.eclipse.core.runtime.Plugin.initializeDescriptor(Plugin.java:706)
> 	at org.eclipse.core.runtime.Plugin.start(Plugin.java:692)
> 	at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:39)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)
> 	at java.security.AccessController.doPrivilegedImpl(AccessController.java:118)
> 	at java.security.AccessController.doPrivileged(AccessController.java:79)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
> 	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1037)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
> 	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
> 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
> 	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Plugin
> 	at java.lang.reflect.VMReflection.getMethodReturnType(VMReflection.java)
> 	at java.lang.reflect.Method$MethodData.initReturnType(Method.java:343)
> 	at java.lang.reflect.Method.getReturnType(Method.java:149)
> 	at java.lang.Class$ReflectionData.isMethodMatches(Class.java:1101)
> 	at java.lang.Class$ReflectionData.mergeMethods(Class.java:1114)
> 	at java.lang.Class$ReflectionData.initPublicMethods(Class.java:1092)
> 	at java.lang.Class.getMethod(Class.java:462)
> 	at org.eclipse.core.internal.runtime.CompatibilityHelper.setPlugin(CompatibilityHelper.java:48)
> 	at org.eclipse.core.internal.plugins.CompatibilityActivator.start(CompatibilityActivator.java:23)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)
> 	at java.security.AccessController.doPrivilegedImpl(AccessController.java:118)
> 	at java.security.AccessController.doPrivileged(AccessController.java:79)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
> 	... 31 more

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