--- old/src/share/classes/javax/lang/model/util/SimpleElementVisitor7.java 2010-12-01 00:40:35.000000000 -0800 +++ new/src/share/classes/javax/lang/model/util/SimpleElementVisitor7.java 2010-12-01 00:40:34.000000000 -0800 @@ -36,9 +36,10 @@ * appropriate for the {@link SourceVersion#RELEASE_7 RELEASE_7} * source version. * - * Visit methods corresponding to {@code RELEASE_7} language - * constructs call {@link #defaultAction}, passing their arguments to - * {@code defaultAction}'s corresponding parameters. + * Visit methods corresponding to {@code RELEASE_7} and earlier + * language constructs call {@link #defaultAction defaultAction}, + * passing their arguments to {@code defaultAction}'s corresponding + * parameters. * *

Methods in this class may be overridden subject to their * general contract. Note that annotating methods in concrete @@ -89,4 +90,16 @@ protected SimpleElementVisitor7(R defaultValue){ super(defaultValue); } + + /** + * This implementation calls {@code defaultAction}. + * + * @param e {@inheritDoc} + * @param p {@inheritDoc} + * @return the result of {@code defaultAction} + */ + @Override + public R visitVariable(VariableElement e, P p) { + return defaultAction(e, p); + } }