fix reloading
All checks were successful
/ Build BaseBand Loader (push) Successful in 2m19s

This commit is contained in:
Daniella / Tove 2024-10-14 03:41:01 +02:00
parent aafbed6f0d
commit 1678e3af1d
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -2,6 +2,7 @@ package de.com.baseband.launcher.classloader;
import de.com.baseband.launcher.url.URLWrapper;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
@ -12,6 +13,11 @@ public class SimpleClassLoader extends ClassLoader {
public SimpleClassLoader(HashMap<String, byte[]> classes) {
this.classes = classes;
try {
URLWrapper.wrap("_", new byte[0]).openStream().close();
} catch (IOException e) {
e.printStackTrace();
}
}
@Override