8055054: Remove visitWildcard visitor method from erasure visitor
Summary: Remove suspicious visitor method that should not be present
Reviewed-by: mcimadamore
--- a/langtools/src/share/classes/com/sun/tools/javac/code/Types.java Wed Aug 13 14:44:59 2014 +0200
+++ b/langtools/src/share/classes/com/sun/tools/javac/code/Types.java Wed Aug 13 14:25:46 2014 -0400
@@ -2196,16 +2196,6 @@
}
@Override
- public Type visitWildcardType(WildcardType t, Boolean recurse) {
- final List<Attribute.TypeCompound> annos = t.getAnnotationMirrors();
- Type erased = erasure(wildUpperBound(t), recurse);
- if (!annos.isEmpty()) {
- erased = erased.annotatedType(annos);
- }
- return erased;
- }
-
- @Override
public Type visitClassType(ClassType t, Boolean recurse) {
Type erased = t.tsym.erasure(Types.this);
List<Attribute.TypeCompound> annos = t.getAnnotationMirrors();