JDK 8 RFR 7179567: JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Oct 4 00:12:48 UTC 2013
So if s/IAE/NPE/ then the rest appears within reason?
Brian
On Oct 3, 2013, at 4:53 PM, Mike Duigou wrote:
> I would normally suggest throwing NPE rather than other exceptions for detected invalid nulls. You can also then use Objects.requireNonNull()
>
> Mike
>
> On Oct 3 2013, at 16:10 , Brian Burkhalter wrote:
>
>>
>> Summary
>> * Document and throw IAE from URLClassLoader constructors.
>> * Throw ClassNotFoundException if null is passed to findClass method of a ClassLoader.
>> * Clarify specification of SecureClassLoader.getPermissions.
More information about the core-libs-dev
mailing list