[JBIDE-17877] Class with unbounded type parameter triggers exception