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] Commented: (HARMONY-3575) [drlvm][eclipse] One class in Pydev fails classloading
Date Thu, 19 Apr 2007 11:01:15 GMT

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

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

Earlier specifications did not mandate no dups, so RI is compatible with spec here. 
OTOH if we retain duplicates in pre-49 classes, LVT consumers may be confused. Say, some JVMTI
agents may not expect this. So we better be consistent in all cases, i.e. do not refuse "corrupt"
classes when allowed but always keep integrity of internal representation.

> [drlvm][eclipse] One class in Pydev fails classloading
> ------------------------------------------------------
>
>                 Key: HARMONY-3575
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3575
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: linux x86_64
>            Reporter: Santiago Gala
>         Assigned To: Alexey Varlamov
>         Attachments: clf.patch, local_var_table.ZIP, local_variable_table.patch, lvt_20070406.patch,
lvt_check_new.patch, lvtt_parsing_exclude.patch, PydevPlugin.class, pydevplugin.txt, PyObject.class
>
>
> 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.


Mime
View raw message