[tcljava-dev] Safe interpreter object creation ?
Brought to you by:
mdejong
|
From: Mallick C. <mal...@gm...> - 2007-11-27 12:35:59
|
Hi
I have created safe interpreter in tcl.lang.MyClass.java as below
Interp interp = InterpSlaveCmd.create(interpMaster,
TclString.newInstance("slave-1"),
true); the interp object I use it further.
This works as long as the jacl.jar/tcljava.jar are loaded by same class
loader , but my requirement has changed such that my jacl/tcljava jars are
loaded by different classloader than the tcl.lang.MyClass loading. So now i
get error
java.lang.IllegalAccessError: tried to access class
tcl.lang.InterpSlaveCmdfrom class
tcl.lang.MyClass
Is there any other way to create safe interp object which I can use further
??
I will thankful for any help on this regard
Regards
Mallick
|