Fixes a spelling mistake in the reflection allocator

define_list_fix
Julien Gouesse 9 years ago
parent f820bbfd94
commit d0f0cfe5e7
  1. 2
      jme3-core/src/main/java/com/jme3/util/ReflectionAllocator.java

@ -82,7 +82,7 @@ public final class ReflectionAllocator implements BufferAllocator {
return null; // the direct buffer implementation was not found return null; // the direct buffer implementation was not found
} catch (Throwable t) { } catch (Throwable t) {
if (t.getClass().getName().equals("java.lang.reflect.InaccessibleObjectException")) { if (t.getClass().getName().equals("java.lang.reflect.InaccessibleObjectException")) {
return null;// the class is in an exported module return null;// the class is in an unexported module
} else { } else {
throw t; throw t;
} }

Loading…
Cancel
Save