If you have a raw type in Java, you can safely assign/cast this to the same type with an unbounded wildcard. For example a List can be safely cast to a Li
List
Li
Yes, it's safe. The generic check is just at compile time.