[11u] RFR (S) 8207779: Method::is_valid_method() compares 'this' with NULL

Aleksey Shipilev shade at redhat.com
Thu Apr 15 11:56:12 UTC 2021

Original bug:

I was looking at backporting this to 8u as the pre-requisite for JDK-8231949. 11u backported 
JDK-8231949 without this fix. But, I think the fix is actually simple enough to backport and it 
dodges UB as a good bonus. The patch does not apply to 11u cleanly, and requires adjustments to fit 
the context differences. I grepped the source for is_valid_method to catch all other places where 
this needs to be adjusted.

11u webrev:

Testing: Linux x86_64 fastdebug, {tier1, jdk_jfr}


More information about the jdk-updates-dev mailing list