News for hackers. Stuff that matters.
Re:The Java type system is broken by dlubarov on Thursday July 19, 2018 @02:46PM (#17569228)
Another flaw we can abuse is Java's covariant array types:

    Object[] objects = new Integer[] {1, 2, 3};
    objects[0] = "hello";
Also compiles but fails at runtime.

There are no comments on this comment yet.