NativeLibraryLoader: Fix crash when working directory not writable

Loder -> Loader
This commit is contained in:
shadowislord 2015-02-15 14:05:33 -05:00
parent 4baceb6a08
commit 51c8894e03

View File

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