jdk/src/java.base/share/classes/sun/security/ssl/StatusResponseManager.java
changeset 37593 824750ada3d6
parent 32032 22badc53802f
child 37781 71ed5645f17c
equal deleted inserted replaced
37592:c80f098887f4 37593:824750ada3d6
    71         int life = AccessController.doPrivileged(
    71         int life = AccessController.doPrivileged(
    72                 new GetIntegerAction("jdk.tls.stapling.cacheLifetime",
    72                 new GetIntegerAction("jdk.tls.stapling.cacheLifetime",
    73                     DEFAULT_CACHE_LIFETIME));
    73                     DEFAULT_CACHE_LIFETIME));
    74         cacheLifetime = life > 0 ? life : 0;
    74         cacheLifetime = life > 0 ? life : 0;
    75 
    75 
    76         String uriStr = AccessController.doPrivileged(
    76         String uriStr =
    77                 new GetPropertyAction("jdk.tls.stapling.responderURI"));
    77                 GetPropertyAction.getProperty("jdk.tls.stapling.responderURI");
    78         URI tmpURI;
    78         URI tmpURI;
    79         try {
    79         try {
    80             tmpURI = ((uriStr != null && !uriStr.isEmpty()) ?
    80             tmpURI = ((uriStr != null && !uriStr.isEmpty()) ?
    81                     new URI(uriStr) : null);
    81                     new URI(uriStr) : null);
    82         } catch (URISyntaxException urise) {
    82         } catch (URISyntaxException urise) {