< prev index next >

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

Print this page
rev 52921 : 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue


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 #  jar      - 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,jar


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 #  jar      - enables more detailed information in the IOExceptions thrown
1085 #             by classes in the java.util.jar package
1086 #
1087 #  path     - extend exceptions with additional path information
1088 #
1089 # The property setting in this file can be overridden by a system property of
1090 # the same name, with the same syntax and possible values.
1091 #
1092 #jdk.includeInExceptions=hostInfo,jar,path
< prev index next >