News for hackers. Stuff that matters.
Re:The Java type system is broken by coldtea on Thursday July 19, 2018 @11:33AM (#17567252)
Yeah, for the type of broken code that has the wrong types.
Re:The Java type system is broken by PDoyle on Friday July 20, 2018 @07:10AM (#17574001)
Right. I think this is the promise of Java generics: we promise we'll warn you if you're relying on dynamic type checking because we can't prove all dynamic type checks will pass.

This article gives a series of examples that break that promise.

Re:The Java type system is broken by cmiles74 on Thursday July 19, 2018 @12:21PM (#17567782)
In some situations. The examples in this article, I think, make it clear that for a lot of "broken code" these errors are caught. It's too bad that there are edge cases, but that is Java all over, in my opinion.