Skip to content

Commit

Permalink
Use static JNI libs on aarch64 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pejovica committed Oct 28, 2019
1 parent 3077a3d commit a84a4e1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import org.graalvm.nativeimage.hosted.Feature;
import org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess;
import org.graalvm.nativeimage.impl.CConstantValueSupport;
import org.graalvm.nativeimage.impl.DeprecatedPlatform;
import org.graalvm.nativeimage.impl.RuntimeClassInitializationSupport;
import org.graalvm.nativeimage.impl.SizeOfSupport;
import org.graalvm.word.PointerBase;
Expand Down Expand Up @@ -350,7 +349,7 @@ public static Platform defaultPlatform(ClassLoader classLoader) {
}
} else if (hostedArchitecture instanceof AArch64) {
if (OS.getCurrent() == OS.LINUX) {
return new DeprecatedPlatform.LINUX_SUBSTITUTION_AARCH64();
return new Platform.LINUX_AARCH64();
} else {
throw VMError.shouldNotReachHere("Unsupported architecture/operating system: " + hostedArchitecture.getName() + "/" + currentOs.className);
}
Expand Down

0 comments on commit a84a4e1

Please sign in to comment.