NativeLibraryLoader: Fix crash when working directory not writable

Loder -> Loader
experimental
shadowislord 10 years ago
parent 4baceb6a08
commit 51c8894e03
  1. 2
      jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java

@ -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…
Cancel
Save