JDK 10 RFR of JDK-8173595: Update TestSourceVersion once VERSION_MAJOR is updated to 10
joe darcy
joe.darcy at oracle.com
Fri Feb 3 08:15:49 UTC 2017
Hello,
Now that VERSION_MAJOR has been updated to 10 (JDK-8029942), the test
tools/javac/processing/model/TestSourceVersion.java
should be updated in its testing of SourceVersion.latestSupported().
Patch below.
Thanks,
-Joe
--- a/test/tools/javac/processing/model/TestSourceVersion.java Fri Jan
27 16:22:08 2017 -0800
+++ b/test/tools/javac/processing/model/TestSourceVersion.java Fri Feb
03 00:15:13 2017 -0800
@@ -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());
More information about the compiler-dev
mailing list