1.1 --- a/src/share/classes/javax/lang/model/util/TypeKindVisitor8.java Wed Nov 06 17:48:25 2013 +0100 1.2 +++ b/src/share/classes/javax/lang/model/util/TypeKindVisitor8.java Thu Nov 07 20:11:56 2013 -0800 1.3 @@ -101,4 +101,17 @@ 1.4 protected TypeKindVisitor8(R defaultValue) { 1.5 super(defaultValue); 1.6 } 1.7 + 1.8 + /** 1.9 + * This implementation visits an {@code IntersectionType} by calling 1.10 + * {@code defaultAction}. 1.11 + * 1.12 + * @param t {@inheritDoc} 1.13 + * @param p {@inheritDoc} 1.14 + * @return the result of {@code defaultAction} 1.15 + */ 1.16 + @Override 1.17 + public R visitIntersection(IntersectionType t, P p) { 1.18 + return defaultAction(t, p); 1.19 + } 1.20 }