equal
deleted
inserted
replaced
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>() { |