Why generic of return type is erased when there is an unchecked conversion of method parameter in Java8?
Why is generic of a return type erased when there is an unchecked conversion of a method parameter in Java 8?