[8u] RFR (S) 8251397: NPE on ClassValue.ClassValueMap.cacheArray

Aleksey Shipilev shade at redhat.com
Mon Dec 7 19:30:58 UTC 2020


On 12/4/20 7:26 PM, Severin Gehwolf wrote:
> On Fri, 2020-12-04 at 18:40 +0100, Aleksey Shipilev wrote:
>> Original bug:
>>     https://bugs.openjdk.java.net/browse/JDK-8251397
>>     https://git.openjdk.java.net/jdk/commit/81e2cf82
>>
>> Original patch does not apply cleanly to 8u, because the context is different. I reapplied most
>> (all, actually) hunks by hand.
>>
>> 8u variant:
>>     https://cr.openjdk.java.net/~shade/8251397/webrev.8u.01/
> 
> Looks good to me.
> 
> Note that JDK-8032606 removed the 'type' field from ClassValueMap.
> Hence the difference (other than sun.misc.Unsafe
> vs. jdk.internal.misc.Unsafe).

Yes, exactly. I should have mentioned that, sorry.

Tagged.

-- 
Thanks,
-Aleksey



More information about the jdk8u-dev mailing list