Fixes a spelling mistake in the reflection allocator

This commit is contained in:
Julien Gouesse 2016-08-07 15:00:07 +02:00
parent f820bbfd94
commit d0f0cfe5e7

View File

@ -82,7 +82,7 @@ public final class ReflectionAllocator implements BufferAllocator {
return null; // the direct buffer implementation was not found
} catch (Throwable t) {
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 {
throw t;
}