mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Allow javax to be shipped by mods. Should allow some more modloader mods to work
unaltered
This commit is contained in:
1 parent
4071ad1278
commit
e862052bb4
1 file changed
+2
-2
@@ -16,13 +16,13 @@ import java.util.logging.Level;
|
|||||||
public class RelaunchClassLoader extends URLClassLoader
|
public class RelaunchClassLoader extends URLClassLoader
|
||||||
{
|
{
|
||||||
private static String[] excludedPackages = {
|
private static String[] excludedPackages = {
|
||||||
"java.", "sun.", "javax.",
|
"java.", "sun.",
|
||||||
"cpw.mods.fml.relauncher.", "net.minecraftforge.classloading."
|
"cpw.mods.fml.relauncher.", "net.minecraftforge.classloading."
|
||||||
};
|
};
|
||||||
|
|
||||||
private static String[] transformerExclusions =
|
private static String[] transformerExclusions =
|
||||||
{
|
{
|
||||||
"org.objectweb.asm.", "com.google.common.", "cpw.mods.fml."
|
"org.objectweb.asm.", "com.google.common.", "cpw.mods.fml.", "javax."
|
||||||
};
|
};
|
||||||
private List<URL> sources;
|
private List<URL> sources;
|
||||||
private ClassLoader parent;
|
private ClassLoader parent;
|
||||||
|
|||||||
Reference in new issue
Block a user