RFR(XXS) 8231275 Remove null check in the beginning of SystemDictionary::load_shared_class()

Calvin Cheung calvin.cheung at oracle.com
Fri Sep 20 17:21:48 UTC 2019


Looks good.

thanks,

Calvin

On 9/20/19 9:42 AM, Ioi Lam wrote:
> https://bugs.openjdk.java.net/browse/JDK-8231275
> http://cr.openjdk.java.net/~iklam/jdk14/8231275-remove-null-check-in-load-shared-class.v01/ 
>
>
> SystemDictionary::load_shared_class() should not be called with a NULL 
> class. I replaced the null check with an assert.
>
> Thanks
> - Ioi


More information about the hotspot-runtime-dev mailing list