< prev index next >

src/jdk.attach/windows/classes/sun/tools/attach/AttachProviderImpl.java

Print this page
rev 60629 : 8248656: Add Windows AArch64 platform support code
Reviewed-by:
Contributed-by: mbeckwit, luhenry, burban

@@ -41,11 +41,11 @@
         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")) {
+        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 >