Message2252

Author otmarhumbel
Recipients
Date 2002-09-25.20:04:00
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2008-02-20 17:18:19adminlinkissue614598 messages
2008-02-20 17:18:19admincreate