8317956: Make jdk.internal.util.Architecture current architecture final

Reviewed-by: pminborg, redestad, bpb
This commit is contained in:
Roger Riggs 2023-10-12 14:14:43 +00:00
parent 935543146b
commit c1f698d38b

View File

@ -114,7 +114,7 @@ public enum Architecture {
}
// Initialize the architecture by mapping aliases and names to the enum values.
private static Architecture CURRENT_ARCH = initArch(PlatformProps.CURRENT_ARCH_STRING);
private static final Architecture CURRENT_ARCH = initArch(PlatformProps.CURRENT_ARCH_STRING);
/**
* {@return {@code true} if the current architecture is X64, Aka amd64}