Block all of java, not just java.lang

This commit is contained in:
md_5 2014-07-10 10:50:00 +10:00
parent d63d5a2791
commit 6615500f08

View File

@ -26,7 +26,7 @@ public class BungeeSecurityManager extends SecurityManager
// Allow external packages from the system class loader to create threads.
if ( loader == null )
{
if ( !context[i].getName().startsWith( "java.lang" ) )
if ( !context[i].getName().startsWith( "java" ) )
{
break;
}