[11u] RFR (S) 8207779: Method::is_valid_method() compares 'this' with NULL
Zhengyu Gu
zgu at redhat.com
Thu Apr 15 12:18:42 UTC 2021
Looks good.
-Zhengyu
On 4/15/21 7:56 AM, Aleksey Shipilev wrote:
> Original bug:
> https://bugs.openjdk.java.net/browse/JDK-8207779
> https://hg.openjdk.java.net/jdk/jdk/rev/b5aac518b097
>
> 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:
> https://cr.openjdk.java.net/~shade/8207779/webrev.11u.01
>
> Testing: Linux x86_64 fastdebug, {tier1, jdk_jfr}
>
More information about the jdk-updates-dev
mailing list