Review Request: JDK-8165346 j.l.ClassLoader.getDefinedPackage(String) throws NPE

Aleksey Shipilev shade at redhat.com
Thu Sep 8 22:21:01 UTC 2016


On 09/09/2016 01:02 AM, Mandy Chung wrote:
> Spec bug: missing @throws NPE if the specified name is null in the relevant getPackage methods:
>   ClassLoader.getDefinedPackage, ClassLoader::getPackage, Package::getPackage
> 
> Webrev at:
>   http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8165346/webrev.00/index.html

Looks good.

Thanks,
-Aleksey


More information about the core-libs-dev mailing list