r/programming • • Jun 05 '18

Code golfing challenge leads to discovery of string concatenation bug in JDK 9+ compiler

https://stackoverflow.com/questions/50683786/why-does-arrayin-i-give-different-results-in-java-8-and-java-10
2.2k Upvotes

355 comments sorted by

View all comments

Show parent comment

28

u/Ksevio Jun 05 '18

On the rare occasion it's happened to me, I've found someone else has reported it already which is a relief to know you're not insane.

Of course it still sucks if it's marked on the roadmap to be fixed in Java 12 or something

4

u/CSMastermind Jun 05 '18

Likewise, I've found a compiler bug once and was relieved there was already an open issue about it.