On Feb 20, 2:18 pm, Rhino user <[email protected]> wrote:
> Hi,
>  How do I know if the Context has classShutter set on it.
> I have a  contextFactory as in the cotextFactory example and I  get
> the context using factory.enterContext().
> When this code gets called again ad again I get
> java.lang.SecurityException: Cannot overwrite existing ClassShutter
> object
>         at org.mozilla.javascript.Context.setClassShutter(Context.java:1968)
> How could I know if the context has classShutter?
> Thanks

NoBody has replied it yet? Can we do something about it?
 My code runs in an environment where Rhino gets initialized in two
different codebases or jars.
When the two works together then the above error occurs. How can we
handle this ?
Do you have any suggestions for this?
Thanks
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to