Re: JarURLConnection.getJarFile() resource leak when file is not found

2015-08-21 Thread Peter Levart
On 08/17/2015 04:02 PM, Neon Ngo wrote: The test program below shows a resource leak in java.net.JarURLConnection's getJarFile() when given an non-existent file to lookup in the jar file. Under Windows, the last printout shows that it is not able to remove the test input jar file. Any input

RFR - 8087190: Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)

2015-08-21 Thread Rob McKenna
Hi folks, looking for a review for this simple change. The change for https://bugs.openjdk.java.net/browse/JDK-8040747 initialised each octet to 0. This meant that ... was translated to 0.0.0.0 before checking the validity of the address. This small change remedies that. http://cr.openjdk.ja