From: <ken...@po...> - 2001-05-02 03:03:24
|
Hi All. I would like to make the following two lines of Java code work with Python classes: fromJavaClass = Class.forName("PythonClassSubclassedFromJavaClass"); fromJava = fromJavaClass.newInstance(); Unfortunately, this does not work as I would expect it to. Some experimentation shows that Python classes show up in Java something like org.python.proxies.PythonClassSubclassedFromJavaClass$PythonClassSubclassedFromJavaClass$0 which is not that useful. Is there any way I can affect the Java class name of the Python class? Thanks! -Kenny |