jdk/src/java.base/share/classes/sun/security/ssl/StatusResponseManager.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 39317 fbda4d400372
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
    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 =
    76         String uriStr = GetPropertyAction
    77                 GetPropertyAction.getProperty("jdk.tls.stapling.responderURI");
    77                 .privilegedGetProperty("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) {