Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ public enum SourceVersion {
* 6.
*
* No major changes from {@code RELEASE_5}.
*
* @see <a
* href="https://docs.oracle.com/javase/specs/jls/se6/html/j3TOC.html">
* <cite>The Java Language Specification, Third Edition</cite></a>
*/
RELEASE_6,

Expand All @@ -140,6 +144,10 @@ public enum SourceVersion {
* constructors, {@code try}-with-resources, strings in switch,
* binary literals, and multi-catch.
* @since 1.7
*
* @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>
*/
RELEASE_7,

Expand All @@ -149,6 +157,10 @@ public enum SourceVersion {
*
* Additions in this release include lambda expressions and default methods.
* @since 1.8
*
* @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>
*/
RELEASE_8,

Expand All @@ -160,6 +172,10 @@ public enum SourceVersion {
* single underscore from the set of legal identifier names.
*
* @since 9
*
* @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>
*/
RELEASE_9,

Expand All @@ -171,6 +187,10 @@ public enum SourceVersion {
* ({@code var}).
*
* @since 10
*
* @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>
*/
RELEASE_10,

Expand All @@ -182,6 +202,10 @@ public enum SourceVersion {
* lambda parameters.
*
* @since 11
*
* @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>
*/
RELEASE_11,

Expand All @@ -191,6 +215,10 @@ public enum SourceVersion {
* No major changes from the prior release.
*
* @since 12
*
* @see <a
* href="https://docs.oracle.com/javase/specs/jls/se12/html/index.html">
* <cite>The Java Language Specification, Java SE 12 Edition</cite></a>
*/
RELEASE_12,

Expand All @@ -200,6 +228,10 @@ public enum SourceVersion {
* No major changes from the prior release.
*
* @since 13
*
* @see <a
* href="https://docs.oracle.com/javase/specs/jls/se13/html/index.html">
* <cite>The Java Language Specification, Java SE 13 Edition</cite></a>
*/
RELEASE_13,

Expand All @@ -210,6 +242,10 @@ public enum SourceVersion {
* Additions in this release include switch expressions.
*
* @since 14
*
* @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>
*/
RELEASE_14,

Expand All @@ -220,6 +256,10 @@ public enum SourceVersion {
* Additions in this release include text blocks.
*
* @since 15
*
* @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>
*/
RELEASE_15,

Expand All @@ -231,6 +271,10 @@ public enum SourceVersion {
* for {@code instanceof}.
*
* @since 16
*
* @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>
*/
RELEASE_16,

Expand All @@ -242,6 +286,10 @@ public enum SourceVersion {
* restoration of always-strict floating-point semantics.
*
* @since 17
*
* @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>
*/
RELEASE_17,

Expand All @@ -252,6 +300,10 @@ public enum SourceVersion {
* No major changes from the prior release.
*
* @since 18
*
* @see <a
* href="https://docs.oracle.com/javase/specs/jls/se18/html/index.html">
* <cite>The Java Language Specification, Java SE 18 Edition</cite></a>
*/
RELEASE_18,

Expand Down