The Java type system is broken (2018)

27 b-man 5 8/18/2025, 9:43:12 PM wouter.coekaerts.be ↗

Comments (5)

Smaug123 · 9h ago
I always love this kind of article! For many more ways type systems can be unsound, see https://counterexamples.org/ .
tpxl · 7h ago
exabrial · 15h ago
I loved his article series back in the day where you tried to break the JVM! Was so much fun.
esafak · 12h ago
(2018)
coekie · 2h ago
Yes indeed. A nice surprise to stumble upon my old blog post again here.

I don't think much has changed since then, most of the problems are still there in newer Java versions. And that's fine, in practice they don't hurt. Still imo interesting curiosities of the type system.