jdk/src/share/classes/javax/net/ssl/SSLServerSocketFactory.java
changeset 10596 39b3a979e600
parent 5506 202f599c92aa
child 14514 46a8ed03c7fc
equal deleted inserted replaced
10595:c5be3e19fbab 10596:39b3a979e600
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2011, 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
    85             String clsName = SSLSocketFactory.getSecurityProperty
    85             String clsName = SSLSocketFactory.getSecurityProperty
    86                                         ("ssl.ServerSocketFactory.provider");
    86                                         ("ssl.ServerSocketFactory.provider");
    87             if (clsName != null) {
    87             if (clsName != null) {
    88                 log("setting up default SSLServerSocketFactory");
    88                 log("setting up default SSLServerSocketFactory");
    89                 try {
    89                 try {
    90                     Class cls = null;
    90                     Class<?> cls = null;
    91                     try {
    91                     try {
    92                         cls = Class.forName(clsName);
    92                         cls = Class.forName(clsName);
    93                     } catch (ClassNotFoundException e) {
    93                     } catch (ClassNotFoundException e) {
    94                         ClassLoader cl = ClassLoader.getSystemClassLoader();
    94                         ClassLoader cl = ClassLoader.getSystemClassLoader();
    95                         if (cl != null) {
    95                         if (cl != null) {