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

2

u/duhace Jun 05 '18

it's sad this isn't more upvoted, since it's the best explanation i've seen so far making it clear why this was not caught.

2

u/13steinj Jun 06 '18

Thats what I get for being 6 hours late to the party.