Remove old NEI/CCC compatibility code and other classloading tweaks

This commit is contained in:
Christian 2012-12-15 19:56:48 -05:00
parent 70b9cd6e1f
commit 16651d6994
1 changed files with 0 additions and 17 deletions

View File

@ -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<URL> 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))