[#1709] Correctly detect that Unsafe.copyMemory is missing
This commit is contained in:
parent
194b64cff1
commit
b456adf404
@ -97,6 +97,9 @@ final class PlatformDependent0 {
|
||||
} catch (NoSuchMethodError t) {
|
||||
logger.debug("sun.misc.Unsafe.copyMemory: unavailable");
|
||||
throw t;
|
||||
} catch (NoSuchMethodException e) {
|
||||
logger.debug("sun.misc.Unsafe.copyMemory: unavailable");
|
||||
throw e;
|
||||
}
|
||||
} catch (Throwable cause) {
|
||||
unsafe = null;
|
||||
|
Loading…
Reference in New Issue
Block a user