Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: