jdk/src/share/classes/sun/security/ssl/JsseJce.java
changeset 22121 b1aa108cccb5
parent 20485 8af87f3d549c
equal deleted inserted replaced
22120:3ec2fa1035de 22121:b1aa108cccb5
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   108 
   108 
   109     private static final class SunCertificates extends Provider {
   109     private static final class SunCertificates extends Provider {
   110         private static final long serialVersionUID = -3284138292032213752L;
   110         private static final long serialVersionUID = -3284138292032213752L;
   111 
   111 
   112         SunCertificates(final Provider p) {
   112         SunCertificates(final Provider p) {
   113             super("SunCertificates", 1.8d, "SunJSSE internal");
   113             super("SunCertificates", 1.9d, "SunJSSE internal");
   114             AccessController.doPrivileged(new PrivilegedAction<Object>() {
   114             AccessController.doPrivileged(new PrivilegedAction<Object>() {
   115                 @Override
   115                 @Override
   116                 public Object run() {
   116                 public Object run() {
   117                     // copy certificate related services from the Sun provider
   117                     // copy certificate related services from the Sun provider
   118                     for (Map.Entry<Object,Object> entry : p.entrySet()) {
   118                     for (Map.Entry<Object,Object> entry : p.entrySet()) {