changeset 43647:d21da31c6c0a

8173383: Update JDK build to use -source and -target 10 Reviewed-by: dholmes
author darcy
date Fri, 03 Feb 2017 10:27:46 -0800
parents 017aba6e9260
children add9e8c9b20b
files langtools/test/tools/javac/processing/model/TestSourceVersion.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/test/tools/javac/processing/model/TestSourceVersion.java	Fri Jan 27 16:22:08 2017 -0800
+++ b/langtools/test/tools/javac/processing/model/TestSourceVersion.java	Fri Feb 03 10:27:46 2017 -0800
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 7025809 8028543 6415644 8028544
+ * @bug 7025809 8028543 6415644 8028544 8029942
  * @summary Test latest, latestSupported, underscore as keyword, etc.
  * @author  Joseph D. Darcy
  * @modules java.compiler
@@ -45,7 +45,7 @@
 
     private static void testLatestSupported() {
         if (SourceVersion.latest() != RELEASE_10 ||
-            SourceVersion.latestSupported() != RELEASE_9)
+            SourceVersion.latestSupported() != RELEASE_10)
             throw new RuntimeException("Unexpected release value(s) found:\n" +
                                        "latest:\t" + SourceVersion.latest() + "\n" +
                                        "latestSupported:\t" + SourceVersion.latestSupported());