-
CSR
-
Resolution: Approved
-
P3
-
minimal
-
Java API
-
SE
Summary
Add the constant RELEASE_9
to the SourceVersion
enum.
Problem
New release, time for a new release constant in SourceVersion.
Solution
Add a new enum constant for release 9.
Specification
--- a/src/share/classes/javax/lang/model/SourceVersion.java Thu Nov 14 13:47:38 2013 -0800
+++ b/src/share/classes/javax/lang/model/SourceVersion.java Mon Nov 18 11:55:54 2013 -0800
@@ -138,7 +138,15 @@
* Additions in this release include lambda expressions and default methods.
* @since 1.8
*/
- RELEASE_8;
+ RELEASE_8,
+
+ /**
+ * The version recognized by the Java Platform, Standard Edition
+ * 9.
+ *
+ * @since 1.9
+ */
+ RELEASE_9;
- csr for
-
JDK-8028543 Add SourceVersion.RELEASE_9
-
- Closed
-