--- 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());