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

Severin Gehwolf sgehwolf at redhat.com
Fri Dec 4 18:26:05 UTC 2020


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).

Thanks,
Severin



More information about the jdk8u-dev mailing list