This commit is contained in:
parent
aafbed6f0d
commit
1678e3af1d
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,7 @@ package de.com.baseband.launcher.classloader;
|
||||||
|
|
||||||
import de.com.baseband.launcher.url.URLWrapper;
|
import de.com.baseband.launcher.url.URLWrapper;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -12,6 +13,11 @@ public class SimpleClassLoader extends ClassLoader {
|
||||||
|
|
||||||
public SimpleClassLoader(HashMap<String, byte[]> classes) {
|
public SimpleClassLoader(HashMap<String, byte[]> classes) {
|
||||||
this.classes = classes;
|
this.classes = classes;
|
||||||
|
try {
|
||||||
|
URLWrapper.wrap("_", new byte[0]).openStream().close();
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue