|
From: <bc...@wo...> - 2001-05-04 18:09:08
|
[Kenny]
>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?
No. Sorry.
regards,
finn
|