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

2018-09-12 Thread Langer, Christoph
; -Original Message- > > From: Sean Mullan > > Sent: Dienstag, 11. September 2018 20:44 > > To: Langer, Christoph ; Baesken, Matthias > > ; Weijun Wang > > Cc: security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > > Subject: Re: [RFR] 8205525 : I

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

2018-09-12 Thread Baesken, Matthias
ph ; Baesken, Matthias > ; Weijun Wang > Cc: security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > On 9/11/18 8:14 AM, Langer, Christoph wrote: > > Hi, &g

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

2018-09-11 Thread Sean Mullan
On 9/11/18 8:14 AM, Langer, Christoph wrote: Hi, first of all, I suggest to use "jarDetails" instead of "jarPath" as category name. Because with this contribution we add the notion of jar file plus line of manifest to Exceptions occurring when parsing jar manifests. And if there were further

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

2018-09-11 Thread Langer, Christoph
ias > > > > -Original Message- > > From: Weijun Wang > > Sent: Dienstag, 11. September 2018 13:04 > > To: Baesken, Matthias > > Cc: Langer, Christoph ; Sean Mullan > > ; security-...@openjdk.java.net; core-libs- > > d...@openjdk.java.net > &

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

2018-09-11 Thread Baesken, Matthias
Langer, Christoph ; Sean Mullan > ; security-...@openjdk.java.net; core-libs- > d...@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Attributes.java: > > - Line 377: Too long, add a break. > > Ot

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

2018-09-11 Thread Weijun Wang
n Wang ; Baesken, Matthias >> >> Cc: Sean Mullan ; security- >> d...@openjdk.java.net; core-libs-dev@openjdk.java.net >> Subject: RE: [RFR] 8205525 : Improve exception messages during manifest >> parsing of jar archives >> >> Hi, >> >>>>

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

2018-09-11 Thread Baesken, Matthias
en, Matthias > > Cc: Sean Mullan ; security- > d...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: RE: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Hi, > > > > do you think we need property jdk.includeInE

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

2018-09-10 Thread Stuart Marks
On 9/10/18 5:13 PM, Weijun Wang wrote: On Sep 11, 2018, at 3:29 AM, Langer, Christoph wrote: Ok, maybe it should be named "priviledgedGetOverridable" then. Ah yes. My mistake. Small spelling nit: there's no "d" before "g", so this should likely be privilegedGetOverridable

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

2018-09-10 Thread Weijun Wang
> On Sep 11, 2018, at 3:29 AM, Langer, Christoph > wrote: > > Ok, maybe it should be named "priviledgedGetOverridable" then. Ah yes. My mistake.

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

2018-09-10 Thread Langer, Christoph
Hi, > > do you think we need property jdk.includeInExceptions=jar at > all, if we don't resolve the absolute path? > > I think so. File path is still sensitive. > > In fact, I tend to believe people usually use absolute paths for JAR files (or > maybe made absolute by using a file:// URL

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

2018-09-10 Thread Weijun Wang
> On Sep 10, 2018, at 10:46 PM, Langer, Christoph > wrote: > > Hi Sean, Max, > > do you think we need property jdk.includeInExceptions=jar at all, > if we don't resolve the absolute path? I think so. File path is still sensitive. In fact, I tend to believe people usually use absolute

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

2018-09-10 Thread Langer, Christoph
nger, Christoph > ; security-...@openjdk.java.net; core-libs- > d...@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > > > > On Sep 10, 2018, at 10:35 PM, Sean Mullan > wrote: > > > >>

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

2018-09-10 Thread Weijun Wang
> On Sep 10, 2018, at 10:35 PM, Sean Mullan wrote: > >> After the changes I wonder - should the jarPath category be renamed to >> jarFile (or something else) ? > > Yes, renaming it to "jarFile" makes more sense. You will need to update the > CSR with this change too. Well, maybe

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

2018-09-10 Thread Sean Mullan
On 9/10/18 9:59 AM, Baesken, Matthias wrote: New webrev : http://cr.openjdk.java.net/~mbaesken/webrevs/8205525.9/ - SocketExceptions class has been adjusted to new sun.security.util.SecurityProperties - Attributes getErrorPosition adjusted (see proposal of Christoph " I think it would

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

2018-09-10 Thread Weijun Wang
en, Matthias ; Wang Weijun >> ; Sean Mullan >> Cc: security-...@openjdk.java.net; core-libs-dev@openjdk.java.net >> Subject: RE: [RFR] 8205525 : Improve exception messages during manifest >> parsing of jar archives >> >> Hi Matthias, >> >> I think it would b

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

2018-09-10 Thread Sean Mullan
On 9/10/18 4:21 AM, Baesken, Matthias wrote: I think it would be enough to drop the privileged section and just return "filename" as is. (without conveting to a file object). OK, any objections on this ? No, this is fine with me. --Sean

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

2018-09-10 Thread Sean Mullan
On 9/8/18 11:42 AM, Wang Weijun wrote: Thinking about this again. Looks like the absolute path is not necessary. Even if there are multiple files using the same name, they will be in different directories, no matter absolute or relative. Suppose the jarPath info is used for debugging purpose

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

2018-09-10 Thread Baesken, Matthias
ken, Matthias ; Wang Weijun > ; Sean Mullan > Cc: security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: RE: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Hi Matthias, > > I think it would be enough to drop

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

2018-09-10 Thread Baesken, Matthias
ph > Sent: Montag, 10. September 2018 10:04 > To: Baesken, Matthias ; Wang Weijun > ; Sean Mullan > Cc: security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: RE: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives &g

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

2018-09-10 Thread Langer, Christoph
t; To: Wang Weijun ; Sean Mullan > > Cc: security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: [CAUTION] RE: [RFR] 8205525 : Improve exception messages during > manifest parsing of jar archives > > Hello are you fine with changing from file.getAbsoluteP

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

2018-09-10 Thread Baesken, Matthias
; Alan Bateman > ; Chris Hegarty ; > security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Thinking about this again. Looks like the absolute path is not ne

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

2018-09-08 Thread Wang Weijun
Thinking about this again. Looks like the absolute path is not necessary. Even if there are multiple files using the same name, they will be in different directories, no matter absolute or relative. Suppose the jarPath info is used for debugging purpose mostly like the developer can find out

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

2018-09-08 Thread Sean Mullan
On 9/7/18 7:58 PM, Weijun Wang wrote: In my understanding, the author deliberately wants to show the absolute paths when there are multiple jar files with the same name (Ex: a jar hell). If you are very familiar with a particular application and understand the risks associated with running

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

2018-09-07 Thread Weijun Wang
In my understanding, the author deliberately wants to show the absolute paths when there are multiple jar files with the same name (Ex: a jar hell). Maybe we can add some more detail in the java.security so an admin knows what exact impact it has. --Max > On Sep 8, 2018, at 3:41 AM, Sean

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

2018-09-07 Thread Sean Mullan
On 8/29/18 10:01 AM, Baesken, Matthias wrote: Hi Max, thanks for your input . I created another webrev , this contains now the suggested SecurityProperties class : http://cr.openjdk.java.net/~mbaesken/webrevs/8205525.6/ java/util/jar/Attributes.java 469 return

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

2018-09-07 Thread Sean Mullan
On 8/27/18 10:25 AM, Baesken, Matthias wrote: Will sun.net.util.SocketExceptions be changed to use the supporting class or is that a separate issue? I think this is a separate issue . I think we should fix it as part of this issue. It shouldn't be hard and then we don't have to file another

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

2018-09-05 Thread Langer, Christoph
et > Cc: Langer, Christoph > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Hi Max, thanks for adding yourself as a reviewer. > > I set the CSR ( https://bugs.openjdk.java.net/browse/JDK-8207768 ) to > proposed. > &

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

2018-09-05 Thread Baesken, Matthias
as" > Cc: "security-...@openjdk.java.net" , > "core-libs-dev@openjdk.java.net" d...@openjdk.java.net> > Subject: Re: [RFR] 8205525 : Improve exception messages during > manifest parsing of jar archives > Message-ID: <058bd7b5-4d3a-4b56-acb0-0dedddea2...@orac

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

2018-09-04 Thread Weijun Wang
>> Cc: Alan Bateman ; Sean Mullan >> ; Chris Hegarty ; >> security-...@openjdk.java.net; core-libs-dev@openjdk.java.net >> Subject: Re: [RFR] 8205525 : Improve exception messages during manifest >> parsing of jar archives >> >> Hi Matthias >> &

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

2018-09-04 Thread Baesken, Matthias
gt; >>> :manifest-line(e.g. test.jar:manifest-line 10 ) > >> > >> How about you pass in the full name ("/path/to/file.jar!META- > >> INF/MANIFEST.MF") to "new Manifest(stream,name)" directly? > >> > >> So th

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

2018-09-03 Thread Weijun Wang
, Matthias > > >> -Original Message- >> From: Weijun Wang >> Sent: Freitag, 31. August 2018 15:53 >> To: Baesken, Matthias >> Cc: Alan Bateman ; Sean Mullan >> ; Chris Hegarty ; >> security-...@openjdk.java.net; core-libs-dev@openjdk.

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

2018-09-03 Thread Baesken, Matthias
ava (after checking for > jarPathInExceptionText). The getErrorPosition method simply concat the > name (if not null) and the line number. Thus the exception thrown from > parsing X.SF simply will not include any file info. If we want it we can > enhance > later. > > Thanks >

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

2018-08-31 Thread Weijun Wang
> > > Best regards, Matthias > > > >> -Original Message- >> From: Weijun Wang >> Sent: Freitag, 31. August 2018 04:32 >> To: Baesken, Matthias >> Cc: Alan Bateman ; Sean Mullan >> ; Chris Hegarty ; >> security-...@openj

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

2018-08-31 Thread Baesken, Matthias
egards, Matthias > -Original Message- > From: Weijun Wang > Sent: Freitag, 31. August 2018 04:32 > To: Baesken, Matthias > Cc: Alan Bateman ; Sean Mullan > ; Chris Hegarty ; > security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8

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

2018-08-30 Thread Weijun Wang
Or you can smuggle it out through JavaUtilJarAccess with SharedSecrets. > On Aug 31, 2018, at 10:32 AM, Weijun Wang wrote: > > if we want to show the .SF name also, we will need a public API because > SignatureFileVerifier.java is inside sun.security.util. Something like >

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

2018-08-30 Thread Weijun Wang
Sorry for making this complicated. Thanks Max > } > . > > > Best regards, Matthias > > > >> -Original Message- >> From: Weijun Wang >> Sent: Donnerstag, 30. August 2018 16:04 >> To: Baesken, Matthias >> Cc: Alan Ba

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

2018-08-30 Thread Baesken, Matthias
> Cc: Alan Bateman ; Sean Mullan > ; Chris Hegarty ; > security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > > > > On Aug 30, 2018, at 8:26 PM, Baesken

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

2018-08-30 Thread Weijun Wang
> On Aug 30, 2018, at 8:26 PM, Baesken, Matthias > wrote: > >> - What will the output look like? Is it "/tmp/x.jar:100"? >> > > Yes it look like this : > > line too long (/testdata/jars/file_with_long_line_1.jar:2) Is this a little misleading? I think you mean

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

2018-08-30 Thread Baesken, Matthias
an ; Sean Mullan > ; Chris Hegarty ; > security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > SecurityProperties.java: > > - Please add the copyright+license h

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

2018-08-29 Thread Weijun Wang
gt; >> -Original Message- >> From: Weijun Wang >> Sent: Montag, 27. August 2018 17:35 >> To: Baesken, Matthias >> Cc: Alan Bateman ; Sean Mullan >> ; Chris Hegarty ; >> security-...@openjdk.java.net; core-libs-dev@openjdk.java.net >> Subject:

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

2018-08-29 Thread Baesken, Matthias
018 17:35 > To: Baesken, Matthias > Cc: Alan Bateman ; Sean Mullan > ; Chris Hegarty ; > security-...@openjdk.java.net; core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > > >

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

2018-08-27 Thread Weijun Wang
essage- >> From: Alan Bateman >> Sent: Montag, 27. August 2018 15:52 >> To: Baesken, Matthias ; Sean Mullan >> ; Chris Hegarty >> Cc: core-libs-dev@openjdk.java.net; security Dev OpenJDK > d...@openjdk.java.net> >> Subject: Re: [RFR] 8205525 : Improve e

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

2018-08-27 Thread Baesken, Matthias
Message- > From: Alan Bateman > Sent: Montag, 27. August 2018 15:52 > To: Baesken, Matthias ; Sean Mullan > ; Chris Hegarty > Cc: core-libs-dev@openjdk.java.net; security Dev OpenJDK d...@openjdk.java.net> > Subject: Re: [RFR] 8205525 : Improve exception messages during mani

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

2018-08-24 Thread Baesken, Matthias
rty > ; Alan Bateman > Cc: core-libs-dev@openjdk.java.net; security Dev OpenJDK d...@openjdk.java.net> > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > I need more time to finish my review but here are some initial comment

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

2018-08-13 Thread Sean Mullan
On 8/13/18 11:18 AM, Baesken, Matthias wrote: As Chris and Alan mentioned, you should move the parsing of the property to a more general location so it can be used by other code that uses this property. Hi Sean, Thanks for the input and comments . Could we do the moving of the property

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

2018-08-13 Thread Baesken, Matthias
I use this security property now as well , and updated the  change : > >>> > >>> http://cr.openjdk.java.net/~mbaesken/webrevs/8205525.3/ > >>> > >>> I updated the CSR as well : > >>> > >>> https://bugs.openjdk.java.net/b

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

2018-08-10 Thread Sean Mullan
ibs-dev@openjdk.java.net; Lindenmaier, Goetz ; Langer, Christoph Subject: RE: [RFR] 8205525 : Improve exception messages during manifest parsing of jar archives Hello , looks like  the  generalization of  the `includeInExceptions` security   property is now in jdk/jdk  aft

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

2018-08-09 Thread Chris Hegarty
-Original Message- >> From: Alan Bateman >> Sent: Mittwoch, 8. August 2018 20:30 >> To: Baesken, Matthias ; Chris Hegarty >> >> Cc: core-libs-dev@openjdk.java.net; Lindenmaier, Goetz >> ; Langer, Christoph >> ; OpenJDK Dev list > d...@openjdk.ja

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

2018-08-09 Thread Baesken, Matthias
K Dev list d...@openjdk.java.net> > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > On 07/08/2018 16:00, Baesken, Matthias wrote: > > Ping  , any reviews / comments ? > Did we get to a conclusion on whether to

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

2018-08-08 Thread Alan Bateman
On 07/08/2018 16:00, Baesken, Matthias wrote: Ping  , any reviews / comments ? Did we get to a conclusion on whether to have central infrastructure to read/parse the security property? As I recall, this one was originally proposed before the generalization of the networking solution.

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

2018-08-08 Thread Sean Mullan
2018 12:28 To: 'Chris Hegarty' ; Alan Bateman Cc: core-libs-dev@openjdk.java.net; Lindenmaier, Goetz ; Langer, Christoph Subject: RE: [RFR] 8205525 : Improve exception messages during manifest parsing of jar archives Hello , looks like the generalization of the `includeInExceptions` security

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

2018-08-07 Thread Baesken, Matthias
gt; > Subject: RE: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Hello , > looks like the generalization of the `includeInExceptions` security > property > is now in jdk/jdk after > > "8207846: Generalize the jdk.n

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

2018-07-31 Thread Baesken, Matthias
18 14:54 > To: Alan Bateman ; Baesken, Matthias > > Cc: core-libs-dev@openjdk.java.net; Lindenmaier, Goetz > > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > > > On 19 Jul 2018, at 11:46, Alan Bateman > wrote:

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

2018-07-20 Thread Baesken, Matthias
an ; Baesken, Matthias > > Cc: core-libs-dev@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > > > On 19 Jul 2018, at 13:54, Chris Hegarty wrote: > > > > > > I filed the

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

2018-07-20 Thread Chris Hegarty
> On 19 Jul 2018, at 13:54, Chris Hegarty wrote: > > > I filed the following issue to generalize the `includeInExceptions` security > property: > https://bugs.openjdk.java.net/browse/JDK-8207846 I sent out an RFR for 8207846, since I think it is worth proceeding with regardless of the

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

2018-07-20 Thread Chris Hegarty
> On 19 Jul 2018, at 15:42, Sean Mullan wrote: > >> ... > > Note that making this a security property for all general cases may have > performance implications in certain scenarios since the java.security file > will need to be loaded and fully parsed before it can be used. If you are >

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

2018-07-20 Thread Jaikiran Pai
quot; jdk.net.includeInExceptions " or do >> you just mean the name of the property ? Best regards, Matthias >>> -Original Message- From: Alan Bateman >>> [mailto:alan.bate...@oracle.com] Sent: Mittwoch, 18. Juli 2018 19:44 >>> To: Baesken, Matthias

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

2018-07-19 Thread Sean Mullan
On 7/19/18 8:54 AM, Chris Hegarty wrote: On 19 Jul 2018, at 11:46, Alan Bateman wrote: On 19/07/2018 09:07, Baesken, Matthias wrote: Hello, in the meantime I prepared a CSR : https://bugs.openjdk.java.net/browse/JDK-8207768 jdk.includeInExceptions expands the scope. That might be okay

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

2018-07-19 Thread Chris Hegarty
> On 19 Jul 2018, at 11:46, Alan Bateman wrote: > > On 19/07/2018 09:07, Baesken, Matthias wrote: >> Hello, in the meantime I prepared a CSR : >> >> https://bugs.openjdk.java.net/browse/JDK-8207768 >> >> >>> jdk.includeInExceptions expands the scope. That might be okay but we >>> will need

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

2018-07-19 Thread Alan Bateman
On 19/07/2018 09:07, Baesken, Matthias wrote: Hello, in the meantime I prepared a CSR : https://bugs.openjdk.java.net/browse/JDK-8207768 jdk.includeInExceptions expands the scope. That might be okay but we will need to re-visit jdk.net.includeInExceptions and also move the support to

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

2018-07-19 Thread Chris Hegarty
;> From: Alan Bateman [mailto:alan.bate...@oracle.com] >> Sent: Mittwoch, 18. Juli 2018 19:44 >> To: Baesken, Matthias ; core-libs- >> d...@openjdk.java.net; Lindenmaier, Goetz >> Subject: Re: [RFR] 8205525 : Improve exception messages during manifest >> parsing

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

2018-07-19 Thread Baesken, Matthias
: Mittwoch, 18. Juli 2018 19:44 > To: Baesken, Matthias ; core-libs- > d...@openjdk.java.net; Lindenmaier, Goetz > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > On 18/07/2018 09:21, Baesken, Matthias wrote: > > Hi Alan, I

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

2018-07-18 Thread Alan Bateman
On 18/07/2018 09:21, Baesken, Matthias wrote: Hi Alan, I'll prepare a CSR . I selected a more general name "jdk.includeInExceptions" , because there is the idea to enhance more exceptions with additional output . In such a case " jdk.util.jar.includeInExceptions" would not really help .

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

2018-07-18 Thread Baesken, Matthias
ke to enhance , so this has to be checked first . Best regards, Matthias > -Original Message- > From: Alan Bateman [mailto:alan.bate...@oracle.com] > Sent: Dienstag, 17. Juli 2018 13:39 > To: Baesken, Matthias ; core-libs- > d...@openjdk.java.net > Subject: Re: [RFR] 8205525

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

2018-07-17 Thread Alan Bateman
On 16/07/2018 14:53, Baesken, Matthias wrote: Hello, after latest comments from Alan and JaikiranI created a new webrev : http://cr.openjdk.java.net/~mbaesken/webrevs/8205525.2/ The jar file path is now printed in case jdk.includeInExceptions contains jarpath (this

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

2018-07-16 Thread Baesken, Matthias
ndenmaier, Goetz > Subject: RE: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > Hi Alan, thanks for commenting on this . > > Jaikiran mentioned that printing just the jar file name and not file with > path might be okay : >

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

2018-07-11 Thread Alan Bateman
On 10/07/2018 10:53, Baesken, Matthias wrote: Hi Alan, thanks for commenting on this . Jaikiran mentioned that printing just the jar file name and not file with path might be okay : I am not a reviewer and neither do I have enough knowledge about whether jar/file _names_ are considered

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

2018-07-10 Thread Baesken, Matthias
8 09:36 > To: Baesken, Matthias ; core-libs- > d...@openjdk.java.net > Cc: Lindenmaier, Goetz > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar archives > > On 06/07/2018 13:44, Baesken, Matthias wrote: > > Hi Alan ,so it loo

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

2018-07-08 Thread Alan Bateman
On 06/07/2018 13:44, Baesken, Matthias wrote: Hi Alan ,so it looks likeJDK-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

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

2018-07-07 Thread Jaikiran Pai
:52 To: Baesken, Matthias ; core-libs- d...@openjdk.java.net Cc: Lindenmaier, Goetz 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

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

2018-07-06 Thread Baesken, Matthias
018 16:52 > To: Baesken, Matthias ; core-libs- > d...@openjdk.java.net > Cc: Lindenmaier, Goetz > 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

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

2018-06-25 Thread Alan Bateman
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

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

2018-06-25 Thread Baesken, Matthias
ds, Matthias > -Original Message- > From: Alan Bateman [mailto:alan.bate...@oracle.com] > Sent: Montag, 25. Juni 2018 16:17 > To: Baesken, Matthias ; core-libs- > d...@openjdk.java.net > Subject: Re: [RFR] 8205525 : Improve exception messages during manifest > parsing of jar

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

2018-06-25 Thread Alan Bateman
On 25/06/2018 14:55, Baesken, Matthias wrote: Hello, please review this small change that improve exception messages during manifest parsing of jar archives . Thanks, Matthias Bug : https://bugs.openjdk.java.net/browse/JDK-8205525 Webrev :