Problemunvalidated

incompatible types: java.util.List cannot be converted to java.util.List — List strings = new ArrayList<>(); List objs = (List)strings;. Tension: I would expect this to fail to compile for the same reason, but it doesn't. Outcome: I can even use it with the same classes.

52b4007e-5a9a-4588-8f14-32ba42459e89

incompatible types: java.util.List cannot be converted to java.util.List — List strings = new ArrayList<>(); List objs = (List)strings;. Tension: I would expect this to fail to compile for the same reason, but it doesn't. Outcome: I can even use it with the same classes.