< prev index next >

src/java.base/share/conf/security/java.security

Print this page
rev 51517 : 8205525: Improve exception messages during manifest parsing of jar archives


1064 # Enhanced exception message information
1065 #
1066 # By default, exception messages should not include potentially sensitive
1067 # information such as file names, host names, or port numbers. This property
1068 # accepts one or more comma separated values, each of which represents a
1069 # category of enhanced exception message information to enable. Values are
1070 # case-insensitive. Leading and trailing whitespaces, surrounding each value,
1071 # are ignored. Unknown values are ignored.
1072 #
1073 # NOTE: Use caution before setting this property. Setting this property
1074 # exposes sensitive information in Exceptions, which could, for example,
1075 # propagate to untrusted code or be emitted in stack traces that are
1076 # inadvertently disclosed and made accessible over a public network.
1077 #
1078 # The categories are:
1079 #
1080 #  hostInfo - IOExceptions thrown by java.net.Socket and the socket types in the
1081 #             java.nio.channels package will contain enhanced exception
1082 #             message information
1083 #



1084 # The property setting in this file can be overridden by a system property of
1085 # the same name, with the same syntax and possible values.
1086 #
1087 #jdk.includeInExceptions=hostInfo


1064 # Enhanced exception message information
1065 #
1066 # By default, exception messages should not include potentially sensitive
1067 # information such as file names, host names, or port numbers. This property
1068 # accepts one or more comma separated values, each of which represents a
1069 # category of enhanced exception message information to enable. Values are
1070 # case-insensitive. Leading and trailing whitespaces, surrounding each value,
1071 # are ignored. Unknown values are ignored.
1072 #
1073 # NOTE: Use caution before setting this property. Setting this property
1074 # exposes sensitive information in Exceptions, which could, for example,
1075 # propagate to untrusted code or be emitted in stack traces that are
1076 # inadvertently disclosed and made accessible over a public network.
1077 #
1078 # The categories are:
1079 #
1080 #  hostInfo - IOExceptions thrown by java.net.Socket and the socket types in the
1081 #             java.nio.channels package will contain enhanced exception
1082 #             message information
1083 #
1084 #  jarPath - enables more detailed information in the IOExceptions thrown
1085 #            by classes in the java.util.jar package
1086 #
1087 # The property setting in this file can be overridden by a system property of
1088 # the same name, with the same syntax and possible values.
1089 #
1090 #jdk.includeInExceptions=hostInfo,jarPath
< prev index next >