diff --git a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java index 33f45bde913f7..08efa4a1aebd4 100644 --- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java +++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java @@ -129,6 +129,10 @@ public enum SourceVersion { * 6. * * No major changes from {@code RELEASE_5}. + * + * @see + * The Java Language Specification, Third Edition */ RELEASE_6, @@ -140,6 +144,10 @@ public enum SourceVersion { * constructors, {@code try}-with-resources, strings in switch, * binary literals, and multi-catch. * @since 1.7 + * + * @see + * The Java Language Specification, Java SE 7 Edition */ RELEASE_7, @@ -149,6 +157,10 @@ public enum SourceVersion { * * Additions in this release include lambda expressions and default methods. * @since 1.8 + * + * @see + * The Java Language Specification, Java SE 8 Edition */ RELEASE_8, @@ -160,6 +172,10 @@ public enum SourceVersion { * single underscore from the set of legal identifier names. * * @since 9 + * + * @see + * The Java Language Specification, Java SE 9 Edition */ RELEASE_9, @@ -171,6 +187,10 @@ public enum SourceVersion { * ({@code var}). * * @since 10 + * + * @see + * The Java Language Specification, Java SE 10 Edition */ RELEASE_10, @@ -182,6 +202,10 @@ public enum SourceVersion { * lambda parameters. * * @since 11 + * + * @see + * The Java Language Specification, Java SE 11 Edition */ RELEASE_11, @@ -191,6 +215,10 @@ public enum SourceVersion { * No major changes from the prior release. * * @since 12 + * + * @see + * The Java Language Specification, Java SE 12 Edition */ RELEASE_12, @@ -200,6 +228,10 @@ public enum SourceVersion { * No major changes from the prior release. * * @since 13 + * + * @see + * The Java Language Specification, Java SE 13 Edition */ RELEASE_13, @@ -210,6 +242,10 @@ public enum SourceVersion { * Additions in this release include switch expressions. * * @since 14 + * + * @see + * The Java Language Specification, Java SE 14 Edition */ RELEASE_14, @@ -220,6 +256,10 @@ public enum SourceVersion { * Additions in this release include text blocks. * * @since 15 + * + * @see + * The Java Language Specification, Java SE 15 Edition */ RELEASE_15, @@ -231,6 +271,10 @@ public enum SourceVersion { * for {@code instanceof}. * * @since 16 + * + * @see + * The Java Language Specification, Java SE 16 Edition */ RELEASE_16, @@ -242,6 +286,10 @@ public enum SourceVersion { * restoration of always-strict floating-point semantics. * * @since 17 + * + * @see + * The Java Language Specification, Java SE 17 Edition */ RELEASE_17, @@ -252,6 +300,10 @@ public enum SourceVersion { * No major changes from the prior release. * * @since 18 + * + * @see + * The Java Language Specification, Java SE 18 Edition */ RELEASE_18,