RFR 8136831 : Undefined null behavior in Class[Loader].getResourceXXXX()
Mandy Chung
mandy.chung at oracle.com
Thu Nov 17 22:49:42 UTC 2016
> On Nov 17, 2016, at 2:00 PM, Brent Christian <brent.christian at oracle.com> wrote:
>
> Right. I'll focus this fix just on ClassLoader, and the Class changes can come into 9 from jake.
>
> BTW, I've not changed the test case. The Class methods throw the expected NPE by virtue of calling up into ClassLoader.
>
> http://cr.openjdk.java.net/~bchristi/8136831/webrev.02/
Looks good.
Nit: do you want to keep this line:
81 System.out.println(cl.getClass().getName() + " returned: " + retVal);
@bug id is missing in the test.
No need for a new webrev.
Mandy
More information about the core-libs-dev
mailing list