File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/jdk.crypto.ec/share/classes/sun/security/ec Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4646
4747import jdk .crypto .jniprovider .NativeCrypto ;
4848
49+ import sun .security .action .GetPropertyAction ;
4950import sun .security .ec .ed .EdDSAKeyFactory ;
5051import sun .security .ec .ed .EdDSAKeyPairGenerator ;
5152import sun .security .ec .ed .EdDSASignature ;
@@ -66,7 +67,7 @@ public final class SunEC extends Provider {
6667 private static final boolean nativeCryptTrace = NativeCrypto .isTraceEnabled ();
6768
6869 // Flag indicating whether the operating system is AIX.
69- private static final boolean isAIX = "AIX" .equals (System . getProperty ("os.name" ));
70+ private static final boolean isAIX = "AIX" .equals (GetPropertyAction . privilegedGetProperty ("os.name" ));
7071
7172 /* The property 'jdk.nativeEC' is used to control enablement of the native
7273 * ECDH implementation.
You can’t perform that action at this time.
0 commit comments