NativeLibraryLoader: Fix crash when working directory not writable
Loder -> Loader
This commit is contained in:
parent
4baceb6a08
commit
51c8894e03
@ -254,7 +254,7 @@ public final class NativeLibraryLoader {
|
||||
URLConnection conn = null;
|
||||
try {
|
||||
String classpath = System.getProperty("java.class.path");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("com/jme3/system/NativeLibraryLoder.class");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("com/jme3/system/NativeLibraryLoader.class");
|
||||
|
||||
StringBuilder sb = new StringBuilder(url.toString());
|
||||
if (sb.indexOf("jar:") == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user