Re: Possible subtle memory model error in ClassValue

2020-08-09 Thread Andrew Haley
On 8/7/20 10:35 PM, John Rose wrote: > (Here’s a tidbit of JMM politics: I once heard Doug Lea considering > whether maybe all fields should be treated more like final fields. > I don’t know if this is still a live idea, but it would make this > bug go way, since nearly all constructors would the

Re: Possible subtle memory model error in ClassValue

2020-08-09 Thread Galder Zamarreno
Hi, I'm David's colleague. I'm the one who's spotted this issue twice while GraalVM is doing its points-to analysis with jdk11u-dev. The fuller exception is here: Caused by: java.lang.NullPointerException at java.base/java.lang.ClassValue$ClassValueMap.loadFromCache(ClassValue.java:535)