ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Jython-dev
Jython-dev
[Jython-dev] java.lang.VerifyError while trying to compile simple Python source [bug reported]
by Irmen de Jong other posts by this author
Apr 30 2003 12:28PM messages near this date
Re: [Jython-dev] Coercion or cast trouble with Jython and Swing... | [Jython-dev] __doc__ string for Jython builtins
I've submitted the following bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=730156&group_id=12867&atid=112867


I get the following error when trying to compile a very simple piece of 
Python code in Jython (both 2.1 and current CVS versions, JDK 1.4 or 1.3):

java.lang.VerifyError: java.lang.VerifyError: (class:
test$py, method: method$1 signature:
(Lorg/python/core/PyFrame;)Lorg/python/core/PyObject;)
Register 3 contains wrong type

The python code is as follows:
---
def method():
     try:
         for dummy in [1,2,3]:
             try:
                 return "result"
             except:
                 pass
     finally:
         pass

print method()
---


In the meantime, can somebody comment on this? I'm curious what's the problem 
and how I might be able to circumvent it until it is fixed.

Regards
Irmen de Jong.

irmen@[...].net



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Jython-dev mailing list
Jython-dev@[...].net
https://lists.sourceforge.net/lists/listinfo/jython-dev

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved