Hi, If this is required, I would choose a more generic tag so it can be reused in other places. I would just use "path".
Best regards, Goetz. > -----Original Message----- > From: core-libs-dev <[email protected]> On Behalf > Of Baesken, Matthias > Sent: Freitag, 12. Oktober 2018 10:13 > To: [email protected]; [email protected] > Subject: [CAUTION] RE: RFR: 8211752: > JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions > with path causing the issue > > Ping ... any reviews / comments ? > > Should I add a category , for example "ioExceptionsWithPath" to the > java.security - file to control the enabling/disabling of the enhanced > exception ? > > java.security > > # > # Enhanced exception message information > ... > #jdk.includeInExceptions=hostInfo,jar,ioExceptionsWithPath > > > Thanks, Matthias > > > From: Baesken, Matthias > Sent: Dienstag, 9. Oktober 2018 14:12 > To: [email protected]; [email protected] > Cc: Alan Bateman ([email protected]) <[email protected]> > Subject: FW: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - > enhance some IOExceptions with path causing the issue > > Hello, Alan commented on it : > > > * This proposal will require a security review as it leaks sensitive > information into exceptions. > > So I forward it to security-dev as well. > > If needed, we might use something similar to JDK-8207768 where a > category has been added for enhanced exception messages to the > java.security file . > > Best regards, Matthias > > From: Baesken, Matthias > Sent: Dienstag, 9. Oktober 2018 13:40 > To: [email protected]<mailto:core-libs- > [email protected]> > Cc: Langer, Christoph > <[email protected]<mailto:[email protected]>>; > Lindenmaier, Goetz > <[email protected]<mailto:[email protected]>> > Subject: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - > enhance some IOExceptions with path causing the issue > > > Hello, please review the following change . > It enhances a number of JNU_ThrowIOExceptionWithLastError calls with > path and current working directory information. > For this, a new function JNU_ThrowIOExceptionWithLastErrorAndPath is > added. > > bug and webrev : > > https://bugs.openjdk.java.net/browse/JDK-8211752 > > http://cr.openjdk.java.net/~mbaesken/webrevs/8211752.0/ > > Thanks, Matthias
