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.
I always love this kind of article! For many more ways type systems can be unsound, see https://counterexamples.org/ .
Previous discussion: https://news.ycombinator.com/item?id=17565652
I loved his article series back in the day where you tried to break the JVM! Was so much fun.
(2018)
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.