4 ms·
There isn't a race condition. There's a JVM bug. String's value is final and assigned a copy of the array, so it's impossible to see a string that's not comple
by juancn 9y ago
There isn't a race condition. There's a JVM bug.
String's value is final and assigned a copy of the array, so it's impossible to see a string that's not completely initialized as per the JMM