65ceeaed9a0c352ecd1416665307e2078f84a36e
Context.call(new ContextAction() {
public Object run(Context cx) { ... }
});
or similar alternatives.
It prevents bugs with missed Context.exit and provides room for optimization of Context association with current thread and simplify implementation of safe environment for execution of untrusted applets and scripts.
In addition, Rhino now supports global SecurityController that take precedence over any per/Context controllers so the application can setup the controller once and for all.
git-svn-id: svn://10.0.0.236/trunk@157466 18797224-902f-48f8-a5cc-f745e15eee43
Description
No description provided
Languages
C++
31%
C
21.9%
HTML
13.3%
JavaScript
12.9%
Java
5.1%
Other
15.5%