From: Giorgos K. <gi...@gm...> - 2009-04-13 10:58:54
|
Hi all, I am using the ProActive framework for parallel computing ( http://proactive.inria.fr/). This uses javassist for bytecode manipulation at runtime (mainly for attaching code to an object to enable it to communicate across the net, when a user e.g. turns this object "active"). I have written a class in jython like this: class Storage(Serializable): .....blah, blah and then: s = Storage() So far so good, but when I try to turn this object "active" by writing sth like this: ss = Proactive.turnActive(s, node) (node is a kind of a container of "active" objects, irrelevant here) I get an exception: javassist.NotFoundException: org.python.proxies.__main__$Storage$0 This problem does not arise when I code Storage in Java. It seems that namespace org.python.proxies.* (used for putting the bytecode generated by jython I suppose) is not "reachable" by the bytecode manipulation library. Is there a way to solve this problem? Thanks in advance, gidiko |