Skip to content

Commit d191e47

Browse files
committed
8293768: Add links to JLS 19 and 20 from SourceVersion enum constants
Reviewed-by: iris, jjg
1 parent a75ddb8 commit d191e47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/java.compiler/share/classes/javax/lang/model/SourceVersion.java

+8
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ public enum SourceVersion {
351351
* No major changes from the prior release.
352352
*
353353
* @since 19
354+
*
355+
* @see <a
356+
* href="https://docs.oracle.com/javase/specs/jls/se19/html/index.html">
357+
* <cite>The Java Language Specification, Java SE 19 Edition</cite></a>
354358
*/
355359
RELEASE_19,
356360

@@ -359,6 +363,10 @@ public enum SourceVersion {
359363
* 20.
360364
*
361365
* @since 20
366+
*
367+
* @see <a
368+
* href="https://docs.oracle.com/javase/specs/jls/se20/html/index.html">
369+
* <cite>The Java Language Specification, Java SE 20 Edition</cite></a>
362370
*/
363371
RELEASE_20;
364372

0 commit comments

Comments
 (0)