< prev index next >

src/java.base/share/classes/sun/security/provider/DSAKeyFactory.java

Print this page
rev 14210 : 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs

@@ -68,12 +68,11 @@
          * If false, then we generate sun.security.provider.DSAPublicKeyImpl.
          *
          * By default this is false.
          * This incompatibility was introduced by 4532506.
          */
-        String prop = AccessController.doPrivileged
-                (new GetPropertyAction(SERIAL_PROP, null));
+        String prop = GetPropertyAction.getProperty(SERIAL_PROP);
         SERIAL_INTEROP = "true".equalsIgnoreCase(prop);
     }
 
     /**
      * Generates a public key object from the provided key specification
< prev index next >