mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8285688: Add links to JEPs and JSRs to SourceVersion
Reviewed-by: vromero, jjg, iris
This commit is contained in:
parent
80cf59ff0b
commit
e2e943adcb
@ -109,6 +109,9 @@ public enum SourceVersion {
|
||||
* v 1.4.
|
||||
*
|
||||
* Added a simple assertion facility.
|
||||
*
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=41">
|
||||
* JSR 41: A Simple Assertion Facility</a>
|
||||
*/
|
||||
RELEASE_4,
|
||||
|
||||
@ -121,6 +124,14 @@ public enum SourceVersion {
|
||||
* Third Edition</cite>. First release to support
|
||||
* generics, annotations, autoboxing, var-args, enhanced {@code
|
||||
* for} loop, and hexadecimal floating-point literals.
|
||||
*
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=14">
|
||||
* JSR 14: Add Generic Types To The Java™ Programming Language</a>
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=175">
|
||||
* JSR 175: A Metadata Facility for the Java™ Programming Language</a>
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=201">
|
||||
* JSR 201: Extending the Java™ Programming Language with Enumerations,
|
||||
* Autoboxing, Enhanced for loops and Static Import</a>
|
||||
*/
|
||||
RELEASE_5,
|
||||
|
||||
@ -148,6 +159,8 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se7/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 7 Edition</cite></a>
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=334">
|
||||
* JSR 334: Small Enhancements to the Java™ Programming Language</a>
|
||||
*/
|
||||
RELEASE_7,
|
||||
|
||||
@ -161,6 +174,8 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se8/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 8 Edition</cite></a>
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=335">
|
||||
* JSR 335: Lambda Expressions for the Java™ Programming Language</a>
|
||||
*/
|
||||
RELEASE_8,
|
||||
|
||||
@ -176,6 +191,10 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se9/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 9 Edition</cite></a>
|
||||
* @see <a href="https://jcp.org/en/jsr/detail?id=376">
|
||||
* JSR 376: Java™ Platform Module System</a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/213">
|
||||
* JEP 213: Milling Project Coin</a>
|
||||
*/
|
||||
RELEASE_9,
|
||||
|
||||
@ -191,6 +210,8 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se10/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 10 Edition</cite></a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/286">
|
||||
* JEP 286: Local-Variable Type Inference</a>
|
||||
*/
|
||||
RELEASE_10,
|
||||
|
||||
@ -206,6 +227,8 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se11/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 11 Edition</cite></a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/323">
|
||||
* JEP 323: Local-Variable Syntax for Lambda Parameters</a>
|
||||
*/
|
||||
RELEASE_11,
|
||||
|
||||
@ -246,6 +269,8 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se14/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 14 Edition</cite></a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/361">
|
||||
* JEP 361: Switch Expressions</a>
|
||||
*/
|
||||
RELEASE_14,
|
||||
|
||||
@ -260,6 +285,8 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se15/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 15 Edition</cite></a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/378">
|
||||
* JEP 378: Text Blocks</a>
|
||||
*/
|
||||
RELEASE_15,
|
||||
|
||||
@ -275,6 +302,10 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se16/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 16 Edition</cite></a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/394">
|
||||
* JEP 394: Pattern Matching for instanceof</a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/395">
|
||||
* JEP 395: Records</a>
|
||||
*/
|
||||
RELEASE_16,
|
||||
|
||||
@ -290,6 +321,10 @@ public enum SourceVersion {
|
||||
* @see <a
|
||||
* href="https://docs.oracle.com/javase/specs/jls/se17/html/index.html">
|
||||
* <cite>The Java Language Specification, Java SE 17 Edition</cite></a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/306">
|
||||
* JEP 306: Restore Always-Strict Floating-Point Semantics</a>
|
||||
* @see <a href="https://openjdk.java.net/jeps/409">
|
||||
* JEP 409: Sealed Classes</a>
|
||||
*/
|
||||
RELEASE_17,
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user