RFR [13] 8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
Seán Coffey
sean.coffey at oracle.com
Wed Jun 5 12:01:31 UTC 2019
Looks fine to me.
Regards,
Sean.
On 31/05/19 11:58, Chris Hegarty wrote:
> The implementation of java.net.JarURLConnection has a private String,
> `entryName`, that is used to hold the optional jar file entry name. If
> the JAR file URL corresponding to the JarURLConnection points to a JAR
> file and not a JAR file entry, then `entryName` will be `null` ( which
> should be ok ).
>
> The default implementation of JarURLConnection::getJarEntry should only
> invoke `getJarEntry(entryName)` if the name is non-null. ( This is not
> an issue in the built-in JarURLConnection handler implementation, as it
> already correctly handles a null `entryName` )
>
> https://cr.openjdk.java.net/~chegar/8225037/webrev.00/
>
> -Chris.
More information about the net-dev
mailing list