Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Chris Hegarty
> On 5 Oct 2018, at 14:58, Alan Bateman wrote: > >> On 05/10/2018 12:06, Chris Hegarty wrote: >> >> Given the stacktrace, from a previous email in this thread, >> does it make more sense to wrap the IPE in an IOException, >> rather then declaring that the ZipFile constructor can throw >> IPE?

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Alan Bateman
On 05/10/2018 12:06, Chris Hegarty wrote: Given the stacktrace, from a previous email in this thread, does it make more sense to wrap the IPE in an IOException, rather then declaring that the ZipFile constructor can throw IPE? Right, there's no suggestion in this thread to change the spec, it's

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Chris Hegarty
> On 5 Oct 2018, at 12:08, Jaikiran Pai wrote: > >> I don't have access to create an issue for this in OpenJDK JIRA, so I'll >> go ahead and create one at bugs.java.com. >> > I just submitted the report. Internal review id 9057522 has been > assigned to the issue. And now in the JDK project:

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Jaikiran Pai
> I don't have access to create an issue for this in OpenJDK JIRA, so I'll > go ahead and create one at bugs.java.com. > I just submitted the report. Internal review id 9057522 has been assigned to the issue. -Jaikiran

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Chris Hegarty
On 05/10/18 11:45, Alan Bateman wrote: On 04/10/2018 10:36, Jaikiran Pai wrote: : The javadoc of JarFile constructor(s) mentions that:   * @throws IOException if an I/O error has occurred Given that the javadoc doesn't mention anything about this other exception, would this throwing of j

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Jaikiran Pai
Hello Alan, On 05/10/18 4:15 PM, Alan Bateman wrote: > On 04/10/2018 10:36, Jaikiran Pai wrote: >> : >> >> >> The javadoc of JarFile constructor(s) mentions that: >> >>   * @throws IOException if an I/O error has occurred >> >> Given that the javadoc doesn't mention anything about this other

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Alan Bateman
On 04/10/2018 10:36, Jaikiran Pai wrote: : The javadoc of JarFile constructor(s) mentions that: * @throws IOException if an I/O error has occurred Given that the javadoc doesn't mention anything about this other exception, would this throwing of java.nio.file.InvalidPathException be con

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Jaikiran Pai
AM > *An:* core-libs-dev@openjdk.java.net > *Betreff:* Re: JarFile constructor throws undocumented exception > (only) on Windows OS >   > Just for reference - this came up while debugging an issue, that one of > our users of Apache Ant project raised here > https://bz.apache.org/bugzi

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-05 Thread Bernd Eckenfels
Betreff: Re: JarFile constructor throws undocumented exception (only) on Windows OS Just for reference - this came up while debugging an issue, that one of our users of Apache Ant project raised here https://bz.apache.org/bugzilla/show_bug.cgi?id=62764#c8 -Jaikiran On 04/10/18 3:06 PM, Jaikiran Pai

Re: JarFile constructor throws undocumented exception (only) on Windows OS

2018-10-04 Thread Jaikiran Pai
Just for reference - this came up while debugging an issue, that one of our users of Apache Ant project raised here https://bz.apache.org/bugzilla/show_bug.cgi?id=62764#c8 -Jaikiran On 04/10/18 3:06 PM, Jaikiran Pai wrote: > Please consider the following trivial code: > > import java.util.jar.*;