8204233: Add configurable option for enhanced socket IOException messages

Reviewed-by: alanb, chegar
This commit is contained in:
Michael McMahon 2018-06-22 18:10:20 +01:00
parent 7d4135b630
commit 1d79d38007
7 changed files with 269 additions and 8 deletions

View file

@ -993,10 +993,10 @@ jdk.xml.dsig.secureValidationPolicy=\
#
# An IOR type check filter, if configured, is used by an ORB during
# an ORB::string_to_object invocation to check the veracity of the type encoded
# in the ior string.
# in the ior string.
#
# The filter pattern consists of a semi-colon separated list of class names.
# The configured list contains the binary class names of the IDL interface types
# The configured list contains the binary class names of the IDL interface types
# corresponding to the IDL stub class to be instantiated.
# As such, a filter specifies a list of IDL stub classes that will be
# allowed by an ORB when an ORB::string_to_object is invoked.
@ -1025,3 +1025,16 @@ jdk.xml.dsig.secureValidationPolicy=\
# and javax.crypto.spec.SecretKeySpec and rejects all the others.
jceks.key.serialFilter = java.base/java.lang.Enum;java.base/java.security.KeyRep;\
java.base/java.security.KeyRep$Type;java.base/javax.crypto.spec.SecretKeySpec;!*
#
# Enhanced exception message text
#
# By default, socket exception messages do not include potentially sensitive
# information such as hostnames or port numbers. This property may be set to one
# or more values, separated by commas, and with no white-space. Each value
# represents a category of enhanced information. Currently, the only category defined
# is "hostInfo" which enables more detailed information in the IOExceptions
# thrown by java.net.Socket and also the socket types in the java.nio.channels package.
# The setting in this file can be overridden by a system property of the same name
# and with the same syntax and possible values.
#jdk.net.includeInExceptions=hostInfo