Message486
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).
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:57 | admin | link | issue486235 messages |
2008-02-20 17:16:57 | admin | create | |
|