You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/04/05 06:23:32 UTC

[jira] Commented: (HARMONY-3575) One class in Pydev fails classloading

    [ https://issues.apache.org/jira/browse/HARMONY-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486843 ] 

Alexey Varlamov commented on HARMONY-3575:
------------------------------------------

Santiago,
unfortunately the attached log has no content entry for the method createEditorInput(Lorg/eclipse/core/runtime/IPath;Z)Lorg/eclipse/ui/IEditorInput;
Actually there are 3 overloaded static methods createEditorInput() but only 1 is included - smells like a bug in javap... Not to mention that LocalVariableTypeTable is never decoded.

Regarding the error message, apparently there's trivial bug of referencing an internal struct instead of char*, fixed at r525694.
Could you please try to reproduce and see the actual var name? And it would be nice to obtain the method info somehow - maybe try other classfile browser/parser or attach the classfile?

> One class in Pydev fails classloading
> -------------------------------------
>
>                 Key: HARMONY-3575
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3575
>             Project: Harmony
>          Issue Type: Bug
>         Environment: linux x86_64
>            Reporter: Santiago Gala
>         Attachments: pydevplugin.txt
>
>
> I was getting a problem with PyDev in eclipse, until I found the error in the log:
> Root exception:
> java.lang.ClassFormatError: org/python/pydev/plugin/PydevPlugin : Element: 0x413b1bb0 from LocalVariableTypeTable doesn't coincide with element from LocalVariableTable for method createEditorInput(Lorg/eclipse/core/runtime/IPath;Z)Lorg/eclipse/ui/IEditorInput;
> 	at java.lang.ClassLoader.defineClass0(ClassLoader.java)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
> Removing the check under
> // See specification 4.8.12 second paragraph.
> in Class_File_Loader.cpp makes it load, though I'm not sure it is the proper solution.
> I'll attach the output of javap -v

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.