Hacker News new | ask | show | jobs
by im2w1l 4104 days ago
>The issue was that Java was making an unsafe optimization (I never bothered to figure out if it is the compiler or the JVM making the mistake, I was satisfied once I had a work-around).

He says it was the JVM or the compiler's fault. He doesn't blame the code.

1 comments

IMO, whether he though this explicitly or not, he was really just disagreeing with the Java spec. Of course, effectively any bug you encounter could be dealt with by blaming the spec writers, but in this case I may agree with him. Depends on how much this particular optimization saves.