< prev index next >
src/jdk.attach/windows/classes/sun/tools/attach/AttachProviderImpl.java
Print this page
8248238: Adding Windows support to OpenJDK on AArch64
Summary: Adding Windows support for AArch64
Contributed-by: Ludovic Henry <luhenry@microsoft.com>, Monica Beckwith <monica.beckwith@microsoft.com>
Reviewed-by:
*** 41,51 ****
if (os.startsWith("Windows 9") || os.equals("Windows Me")) {
throw new RuntimeException(
"This provider is not supported on this version of Windows");
}
String arch = System.getProperty("os.arch");
! if (!arch.equals("x86") && !arch.equals("amd64")) {
throw new RuntimeException(
"This provider is not supported on this processor architecture");
}
}
--- 41,51 ----
if (os.startsWith("Windows 9") || os.equals("Windows Me")) {
throw new RuntimeException(
"This provider is not supported on this version of Windows");
}
String arch = System.getProperty("os.arch");
! if (!arch.equals("x86") && !arch.equals("amd64") && !arch.equals("aarch64")) {
throw new RuntimeException(
"This provider is not supported on this processor architecture");
}
}
< prev index next >