mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Block all of java, not just java.lang
This commit is contained in:
parent
d63d5a2791
commit
6615500f08
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user