Message2252
Because a PyJavaInstance knows about its java
counterpart, i suggest adding the following convenience
method:
public Object __tojava__() {
return super.__tojava__( __class__.proxyClass );
}
to PyJavaInstance.java.
Example usage:
In an embedding situation where you don't know what
eval() will return, it would be nice if a PyJavaInstance
result simply could be turned into a java object.
Many thanks, and best wishes,
Oti.
|
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:18:19 | admin | link | issue614598 messages |
| 2008-02-20 17:18:19 | admin | create | |
|