From f741717968603ed2aaa6f380574a8ff6cb801806 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sun, 7 Jul 2024 19:30:01 +0800 Subject: [PATCH] java_md_macosx.c: define preferredJVM --- jdk/src/macosx/bin/java_md_macosx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git jdk/src/macosx/bin/java_md_macosx.c jdk/src/macosx/bin/java_md_macosx.c index 6aa0eb588a..854d848f81 100644 --- jdk/src/macosx/bin/java_md_macosx.c +++ jdk/src/macosx/bin/java_md_macosx.c @@ -228,6 +228,8 @@ static InvocationFunctions *GetExportedJNIFunctions() { preferredJVM = "client"; #elif defined(__x86_64__) preferredJVM = "server"; +#elif defined(__arm64__) || defined(__POWERPC__) + preferredJVM = "server"; #else #error "Unknown architecture - needs definition" #endif