[RFR] 8205525 : Improve exception messages during manifest parsing of jar archives
Baesken, Matthias
matthias.baesken at sap.com
Fri Jul 6 12:44:10 UTC 2018
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 .
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 ).
What do you think ?
Best regards, Matthias
> -----Original Message-----
> From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
> Sent: Montag, 25. Juni 2018 16:52
> To: Baesken, Matthias <matthias.baesken at sap.com>; core-libs-
> dev at openjdk.java.net
> Cc: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>
> Subject: Re: [RFR] 8205525 : Improve exception messages during manifest
> parsing of jar archives
>
> On 25/06/2018 15:29, Baesken, Matthias wrote:
> > Hi, do you consider both the file name and line number as sensitive ?
> >
> >> There was a similar discussion on net-dev recently related to
> >> leaking host names in exceptions. Something similar may be needed here
> >>
> > Do you know the outcome of this discussion ?
> >
> All the details are in JDK-8204233 and the associated CSR.
>
> -Alan
More information about the core-libs-dev
mailing list