< prev index next >
src/java.base/share/conf/security/java.security
Print this page
rev 51096 : 8205525: Improve exception messages during manifest parsing of jar archives
*** 1070,1074 ****
--- 1070,1087 ----
# 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
+
+ # Enhanced exception message texts for manifest parsing of jar archives
+ #
+ # By default, IO exception messages do not include potentially sensitive
+ # information such as jar paths. 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 "jarpath" which enables more detailed information in the IOExceptions
+ # thrown by java.util.jar.Attributes and java.util.jar.Manifest.
+ # 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.includeInExceptions=jarpath
+
< prev index next >