It looks like type erasure is coming back to bite Java in the latest version.
I've never been a fan of the decision to add Generics by way of type erasure in Java. It provided backward compatibility/support for older versions of the JVM, but seemed to add a lot of quirks to the language that I personally never really liked.
That's not to say that adding Generics was ever an easy decision to make: I certainly appreciate the difficulties involved. I just find this particular situation fascinating now as an example of earlier design decisions negatively impacting future efforts.