RFR 8136831 : Undefined null behavior in Class[Loader].getResourceXXXX()

Brent Christian brent.christian at oracle.com
Thu Nov 17 22:00:22 UTC 2016


On 11/17/16 11:09 AM, Alan Bateman wrote:
> On 17/11/2016 18:25, Paul Sandoz wrote:
 >>
>> Looks ok, but has indicated by Alan i would leave Class alone and
>> untested until Jake gets integrated, then follow up with another issue.
>>
> Actually no follow-up needed because it's updated in jake to specify NPE.

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/

Thanks again,
-Brent


More information about the core-libs-dev mailing list