src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
changeset 55318 040e1c6dab96
parent 55263 830ca7b43b95
child 55382 30b1b7b4dd86
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java	Mon Jun 10 15:55:11 2019 -0700
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java	Mon Jun 10 15:53:35 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -84,10 +84,13 @@
     /** 1.11 local-variable syntax for lambda parameters */
     JDK11("11"),
 
-    /** 12 covers the to be determined language features that will be added in JDK 12. */
+    /** 12, no language features; switch expression were in preview */
     JDK12("12"),
 
-    /** 13 covers the to be determined language features that will be added in JDK 13. */
+    /**
+     * 13, no language features; text blocks and revised switch
+     * expressions in preview
+     */
     JDK13("13");
 
     private static final Context.Key<Source> sourceKey = new Context.Key<>();