From 6615500f08527c86b048bbd659a0f46d0bf6f629 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 10 Jul 2014 10:50:00 +1000 Subject: [PATCH] Block all of java, not just java.lang --- proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java b/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java index 956bd12b..6c56d4e6 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java @@ -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; }