jdk/src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java
changeset 37593 824750ada3d6
parent 32649 2ee9017c7597
child 37781 71ed5645f17c
--- a/jdk/src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java	Thu Apr 21 14:56:40 2016 +0800
+++ b/jdk/src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java	Thu Apr 21 13:39:53 2016 +0200
@@ -84,9 +84,8 @@
     public static final int MAX_RESTRICTED_EXPLEN = 64;
 
     private static final boolean restrictExpLen =
-        "true".equalsIgnoreCase(AccessController.doPrivileged(
-            new GetPropertyAction(
-                "sun.security.rsa.restrictRSAExponent", "true")));
+        "true".equalsIgnoreCase(GetPropertyAction.getProperty(
+                "sun.security.rsa.restrictRSAExponent", "true"));
 
     // instance used for static translateKey();
     private static final RSAKeyFactory INSTANCE = new RSAKeyFactory();