--- old/src/java.base/share/classes/sun/security/provider/ByteArrayAccess.java 2015-03-06 18:36:51.267063464 +0000 +++ new/src/java.base/share/classes/sun/security/provider/ByteArrayAccess.java 2015-03-06 18:36:50.917098402 +0000 @@ -88,13 +88,8 @@ // Return whether this platform supports full speed int/long memory access // at unaligned addresses. - // This code was copied from java.nio.Bits because there is no equivalent - // public API. private static boolean unaligned() { - String arch = java.security.AccessController.doPrivileged - (new sun.security.action.GetPropertyAction("os.arch", "")); - return arch.equals("i386") || arch.equals("x86") || arch.equals("amd64") - || arch.equals("x86_64"); + return unsafe.unalignedAccess(); } /**