Fix javadoc comments.

This commit is contained in:
James Roseborough
2015-04-15 05:07:43 +00:00
parent ef008fca5e
commit f3fb9a7fde
2 changed files with 7 additions and 3 deletions

View File

@@ -11,6 +11,10 @@ import org.luaj.vm2.lib.jse.JsePlatform;
* <ul><li>type-related metatables such as LuaNumber.s_metatable are shared by all threads, so are not thread-safe.
* </li><li>creating additional threads within a Java element called by lua could result in shared access to globals.
* </li></ul>
*
* This can be used when all the scripts running can be trusted.
* For examples of how to sandbox scripts in protect against rogue scripts,
* see examples/jse/SampLeSandboxed.java.
*/
public class SampleMultiThreaded {