[RFR] 8205525 : Improve exception messages during manifest parsing of jar archives

Alan Bateman Alan.Bateman at oracle.com
Sun Jul 8 07:36:12 UTC 2018

On 06/07/2018 13:44, Baesken, Matthias wrote:
> Hi Alan ,so it looks like    JDK-8204233  added  a switch  (system property)  to enable the enhanced  socket IOException messages .
> That would be an option as well  for  8205525 .
Yes, it's documented in conf/security/java.security and something 
equivalent could be done here. The giveaway in your original patch is 
that it needed a privileged block to create the exception message.

> 8205525  adds  the  jar file name  and   the line number  info  to the exception message .
> In case that only  the jar file name  would be considered sensitive ,   I would prefer to   just  output  the line number  (and omit the  system property ).
That should be okay (I can't think of any concerns).


More information about the core-libs-dev mailing list