Found 1 comment on HN
noxToken · 2018-02-15 · Original thread
Java Puzzlers[0] has a few entries similar to this. Some of the entries are things that would trip you up (but logically makes sense) rather than oddities, but it's an interesting read. Note that the book is from 2005 and uses Java 5.

[0]: https://www.amazon.com/Java-Puzzlers-Traps-Pitfalls-Corner/d...

Get dozens of book recommendations delivered straight to your inbox every Thursday.