From: Oti <oh...@ya...> - 2002-02-10 14:56:26
|
Maybe you try: public class MyClass { public MyClass(){} } HTH, Oti. [ John Young ] > I think the line: > interp.exec("MyObject = MyClass()"); > > is causing the following exception: > > java.lang.IllegalAccessException: Class > org.python.core.PyReflectedConstructor can not access a member of > class > MyClass with modifiers "public" <snipped > > At the moment, MyClass is just: > > class MyClass > { > public MyClass(){} > } > > > (MyClass is defined in SimpleEmbedded.java too) __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com |