Message486

Author nobody
Recipients
Date 2001-11-27.22:53:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Jythonc/jython does not correctly generate the native
java class for
    a Python class that is in a
        Python module of the same name that is in a
            Python package.

If the module is of a different name, then jythonc
correctly generates <package>.<module>.<class>.

The error, when running the java code, is 

$ java -classpath jpywork:/usr/share/java/jython.jar Main
Exception in thread "main"
java.lang.ClassCastException:
org.python.proxies.package.PythonClass$PythonClass$0
	at Main.main(Main.java:9)


this is using java 1.3.1 on debian with jython 2.1a3
and the attached source files (note the files in the
tarball are not in a subdirectory).
History
Date User Action Args
2008-02-20 17:16:57adminlinkissue486235 messages
2008-02-20 17:16:57admincreate