1.1 --- a/src/share/classes/javax/lang/model/type/TypeVisitor.java Wed Jan 23 13:27:24 2013 -0800 1.2 +++ b/src/share/classes/javax/lang/model/type/TypeVisitor.java Wed Jan 23 20:11:07 2013 -0800 1.3 @@ -52,6 +52,18 @@ 1.4 * parameters, return type, etc. rather than one of the abstract 1.5 * classes. 1.6 * 1.7 + * <p>Note that methods to accommodate new language constructs could 1.8 + * be added in a source <em>compatible</em> way if they were added as 1.9 + * <em>default methods</em>. However, default methods are only 1.10 + * available on Java SE 8 and higher releases and the {@code 1.11 + * javax.lang.model.*} packages bundled in Java SE 8 are required to 1.12 + * also be runnable on Java SE 7. Therefore, default methods 1.13 + * <em>cannot</em> be used when extending {@code javax.lang.model.*} 1.14 + * to cover Java SE 8 language features. However, default methods may 1.15 + * be used in subsequent revisions of the {@code javax.lang.model.*} 1.16 + * packages that are only required to run on Java SE 8 and higher 1.17 + * platform versions. 1.18 + * 1.19 * @param <R> the return type of this visitor's methods. Use {@link 1.20 * Void} for visitors that do not need to return results. 1.21 * @param <P> the type of the additional parameter to this visitor's