Fixes a spelling mistake in the reflection allocator
This commit is contained in:
parent
f820bbfd94
commit
d0f0cfe5e7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user