--- old/src/share/classes/javax/lang/model/util/SimpleTypeVisitor8.java 2013-11-01 12:38:24.000000000 -0700 +++ new/src/share/classes/javax/lang/model/util/SimpleTypeVisitor8.java 2013-11-01 12:38:24.000000000 -0700 @@ -27,6 +27,7 @@ import javax.annotation.processing.SupportedSourceVersion; import javax.lang.model.SourceVersion; +import javax.lang.model.type.IntersectionType; import static javax.lang.model.SourceVersion.*; /** @@ -98,4 +99,17 @@ protected SimpleTypeVisitor8(R defaultValue){ super(defaultValue); } + + /** + * This implementation visits an {@code IntersectionType} by calling + * {@code defaultAction}. + * + * @param t {@inheritDoc} + * @param p {@inheritDoc} + * @return the result of {@code defaultAction} + */ + @Override + public R visitIntersection(IntersectionType t, P p){ + return defaultAction(t, p); + } }