From 16651d6994afa758f12e3016421157409e0d5292 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 15 Dec 2012 19:56:48 -0500 Subject: [PATCH] Remove old NEI/CCC compatibility code and other classloading tweaks --- .../fml/relauncher/RelaunchClassLoader.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/fml/common/cpw/mods/fml/relauncher/RelaunchClassLoader.java b/fml/common/cpw/mods/fml/relauncher/RelaunchClassLoader.java index ea33e45ff..5037690a9 100644 --- a/fml/common/cpw/mods/fml/relauncher/RelaunchClassLoader.java +++ b/fml/common/cpw/mods/fml/relauncher/RelaunchClassLoader.java @@ -17,11 +17,6 @@ import java.util.logging.Level; public class RelaunchClassLoader extends URLClassLoader { - // Left behind for CCC/NEI compatibility - private static String[] excludedPackages = new String[0]; - // Left behind for CCC/NEI compatibility - private static String[] transformerExclusions = new String[0]; - private List sources; private ClassLoader parent; @@ -75,18 +70,6 @@ public class RelaunchClassLoader extends URLClassLoader { throw new ClassNotFoundException(name); } - // NEI/CCC compatibility code - if (excludedPackages.length != 0) - { - classLoaderExceptions.addAll(Arrays.asList(excludedPackages)); - excludedPackages = new String[0]; - } - if (transformerExclusions.length != 0) - { - transformerExceptions.addAll(Arrays.asList(transformerExclusions)); - transformerExclusions = new String[0]; - } - for (String st : classLoaderExceptions) { if (name.startsWith(st))