|
@@ -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;
|
|
}
|
|
}
|