src/java.base/share/classes/sun/net/util/SocketExceptions.java
changeset 51236 a90d8198d7e4
parent 50722 bc104aaf24e9
child 51879 6ffa38b8da65
equal deleted inserted replaced
51235:049b2037b5d8 51236:a90d8198d7e4
    42      * "hostInfo" which represents the hostname and port number
    42      * "hostInfo" which represents the hostname and port number
    43      * of the remote peer relating to a socket exception.
    43      * of the remote peer relating to a socket exception.
    44      * The property value is a comma separated list of
    44      * The property value is a comma separated list of
    45      * case insignificant category names.
    45      * case insignificant category names.
    46      */
    46      */
    47     private static final String enhancedTextPropname = "jdk.net.includeInExceptions";
    47     private static final String enhancedTextPropname = "jdk.includeInExceptions";
    48 
    48 
    49     private static final boolean enhancedExceptionText = initTextProp();
    49     private static final boolean enhancedExceptionText = initTextProp();
    50 
    50 
    51     private static boolean initTextProp() {
    51     private static boolean initTextProp() {
    52         return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
    52         return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {