Re: RFR: 8233674: JarURLConnection.getJarFile throws Exception if some process is holding the file

2021-10-18 Thread Masanori Yano
On Mon, 27 Sep 2021 08:04:23 GMT, Alan Bateman wrote: >> It’s a good idea to ask the Microsoft folks about that, but I don't know the >> way to ask. Could you tell me how to do it? >> >> As you say, CreateFile function is used in other parts of the JDK, but it >> have a significant impact to f

Re: RFR: 8233674: JarURLConnection.getJarFile throws Exception if some process is holding the file

2021-10-18 Thread Alan Bateman
On Mon, 27 Sep 2021 08:04:23 GMT, Alan Bateman wrote: >> It’s a good idea to ask the Microsoft folks about that, but I don't know the >> way to ask. Could you tell me how to do it? >> >> As you say, CreateFile function is used in other parts of the JDK, but it >> have a significant impact to f

Re: RFR: 8245095: Implementation of JEP 408: Simple Web Server [v9]

2021-10-18 Thread Michael McMahon
On Tue, 12 Oct 2021 10:40:15 GMT, Julia Boes wrote: >> This change implements a simple web server that can be run on the >> command-line with `java -m jdk.httpserver`. >> >> This is facilitated by adding an entry point for the `jdk.httpserver` >> module, an implementation class whose main meth

Re: RFR: 8245095: Implementation of JEP 408: Simple Web Server [v9]

2021-10-18 Thread Julia Boes
On Mon, 18 Oct 2021 11:38:22 GMT, Michael McMahon wrote: >> Julia Boes has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 24 commits: >> >> - Minor rewording of bind address output >> - Merge branch 'master' into simpleserver >> -

Re: RFR: 8245095: Implementation of JEP 408: Simple Web Server [v9]

2021-10-18 Thread Michael McMahon
On Tue, 12 Oct 2021 10:40:15 GMT, Julia Boes wrote: >> This change implements a simple web server that can be run on the >> command-line with `java -m jdk.httpserver`. >> >> This is facilitated by adding an entry point for the `jdk.httpserver` >> module, an implementation class whose main meth

Re: RFR: 8260428: Drop support for pre JDK 1.4 DatagramSocketImpl implementations [v2]

2021-10-18 Thread Daniel Fuchs
On Tue, 12 Oct 2021 15:41:30 GMT, Patrick Concannon wrote: >> Hi, >> >> Could someone please review my changes (and CSR) to drop support for pre JDK >> 1.4 `DatagramSocketImpl` implementations? >> >> These changes propose to drop support for `DatagramSocketImpls` that were >> compiled with J

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v2]

2021-10-18 Thread Daniel Jeliński
> Per Java documentation, > "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) > [..] indicates serious problems that a reasonable application should not try > to catch". Failure to enumerate network interfaces or addresses is not a > serio

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v2]

2021-10-18 Thread Daniel Jeliński
On Mon, 18 Oct 2021 16:03:35 GMT, Daniel Jeliński wrote: >> Per Java documentation, >> "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) >> [..] indicates serious problems that a reasonable application should not >> try to catch". Failure

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v3]

2021-10-18 Thread Daniel Jeliński
> Per Java documentation, > "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) > [..] indicates serious problems that a reasonable application should not try > to catch". Failure to enumerate network interfaces or addresses is not a > serio

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v3]

2021-10-18 Thread Daniel Jeliński
On Mon, 18 Oct 2021 16:57:10 GMT, Daniel Jeliński wrote: >> Per Java documentation, >> "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) >> [..] indicates serious problems that a reasonable application should not >> try to catch". Failure

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v3]

2021-10-18 Thread Daniel Jeliński
On Mon, 18 Oct 2021 16:57:10 GMT, Daniel Jeliński wrote: >> Per Java documentation, >> "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) >> [..] indicates serious problems that a reasonable application should not >> try to catch". Failure

RFR: 8262442 (windows) use all proxy configuration sources when java.net.useSystemProxies=true

2021-10-18 Thread Daniel Jeliński
With this patch DefaultProxySelector first attempts to use proxy config autodetection (http://wpad/wpad.dat) when that is configured and available. If proxy config autodetection is unavailable, selector tries to use configured proxy script (again, if configured and available) If both the above op

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v3]

2021-10-18 Thread Alan Bateman
On Mon, 18 Oct 2021 16:57:10 GMT, Daniel Jeliński wrote: >> Per Java documentation, >> "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) >> [..] indicates serious problems that a reasonable application should not >> try to catch". Failure

Re: RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException [v3]

2021-10-18 Thread Alan Bateman
On Mon, 18 Oct 2021 16:57:10 GMT, Daniel Jeliński wrote: >> Per Java documentation, >> "[Error](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/Error.java#L30) >> [..] indicates serious problems that a reasonable application should not >> try to catch". Failure