Hello,
With javac support for -source/-target 6 and 1.6 planned to be removed
later in JDK 12 (JDK-8028563), please review the removal of usage of
these options in the non-manual jdk regression tests:
http://cr.openjdk.java.net/~darcy/8206440.0/
Patch below.
Thanks,
-Joe
--- old/test/jdk/java/lang/reflect/OldenCompilingWithDefaults.java
2018-07-05 20:34:07.084000000 -0700
+++ new/test/jdk/java/lang/reflect/OldenCompilingWithDefaults.java
2018-07-05 20:34:06.936000000 -0700
@@ -25,7 +25,6 @@
* @test
* @bug 8009267
* @summary Verify uses of isAnnotationPresent compile under older
source versions
- * @compile -source 1.6 -target 1.6 OldenCompilingWithDefaults.java
* @compile -source 1.7 -target 1.7 OldenCompilingWithDefaults.java
* @compile OldenCompilingWithDefaults.java
*/