Class ArchResolver
java.lang.Object
org.sonarsource.scanner.lib.internal.util.ArchResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWe don't want to only rely on the system property 'os.arch' to detect the architecture on macOS, since it returns the target architecture of the current JVM, which may be different from the architecture of the OS.
-
Constructor Details
-
ArchResolver
public ArchResolver()
-
-
Method Details
-
getCpuArch
We don't want to only rely on the system property 'os.arch' to detect the architecture on macOS, since it returns the target architecture of the current JVM, which may be different from the architecture of the OS. For example, a 32-bit JVM can run on a 64-bit OS.
-