--- old/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java 2016-06-28 18:48:31.097580736 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java 2016-06-28 18:48:31.001580734 -0700 @@ -113,7 +113,7 @@ /** * {@inheritDoc} * - *

The default implementation of this method in {@code + * @implSpec The default implementation of this method in {@code * AbstractAnnotationValueVisitor6} will always throw {@code * UnknownAnnotationValueException}. This behavior is not * required of a subclass. @@ -121,6 +121,7 @@ * @param av {@inheritDoc} * @param p {@inheritDoc} */ + @Override public R visitUnknown(AnnotationValue av, P p) { throw new UnknownAnnotationValueException(av, p); } --- old/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor6.java 2016-06-28 18:48:31.393580741 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor6.java 2016-06-28 18:48:31.301580740 -0700 @@ -118,25 +118,28 @@ /** * {@inheritDoc} * - *

The default implementation of this method in + * @implSpec The default implementation of this method in * {@code AbstractElementVisitor6} will always throw * {@code UnknownElementException}. * This behavior is not required of a subclass. * - * @param e the element to visit - * @param p a visitor-specified parameter + * @param e {@inheritDoc} + * @param p {@inheritDoc} * @return a visitor-specified result * @throws UnknownElementException * a visitor implementation may optionally throw this exception */ + @Override public R visitUnknown(Element e, P p) { throw new UnknownElementException(e, p); } /** - * Visits a {@code ModuleElement} by calling {@code + * {@inheritDoc} + * + * @implSpec Visits a {@code ModuleElement} by calling {@code * visitUnknown}. - + * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code visitUnknown} --- old/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor6.java 2016-06-28 18:48:31.697580747 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor6.java 2016-06-28 18:48:31.601580745 -0700 @@ -114,9 +114,11 @@ } /** - * Visits a {@code UnionType} element by calling {@code + * {@inheritDoc} + * + * @implSpec Visits a {@code UnionType} element by calling {@code * visitUnknown}. - + * * @param t {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code visitUnknown} @@ -128,15 +130,18 @@ } /** - * Visits an {@code IntersectionType} element by calling {@code + * {@inheritDoc} + * + * @implSpec Visits an {@code IntersectionType} element by calling {@code * visitUnknown}. - + * * @param t {@inheritDoc} * @param p {@inheritDoc} * @return the result of {@code visitUnknown} * * @since 1.8 */ + @Override public R visitIntersection(IntersectionType t, P p) { return visitUnknown(t, p); } @@ -144,16 +149,18 @@ /** * {@inheritDoc} * - *

The default implementation of this method in {@code + * @implSpec The default implementation of this method in {@code * AbstractTypeVisitor6} will always throw {@code * UnknownTypeException}. This behavior is not required of a * subclass. * - * @param t the type to visit + * @param t {@inheritDoc} + * @param p {@inheritDoc} * @return a visitor-specified result * @throws UnknownTypeException * a visitor implementation may optionally throw this exception */ + @Override public R visitUnknown(TypeMirror t, P p) { throw new UnknownTypeException(t, p); } --- old/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java 2016-06-28 18:48:32.001580752 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java 2016-06-28 18:48:31.905580750 -0700 @@ -89,5 +89,6 @@ * @param p {@inheritDoc} * @return the result of the visit as defined by a subclass */ + @Override public abstract R visitUnion(UnionType t, P p); } --- old/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor8.java 2016-06-28 18:48:32.293580757 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor8.java 2016-06-28 18:48:32.205580756 -0700 @@ -88,5 +88,6 @@ * @param p {@inheritDoc} * @return the result of the visit as defined by a subclass */ + @Override public abstract R visitIntersection(IntersectionType t, P p); }