--- a/langtools/test/tools/javac/generics/diamond/neg/Neg09.java Sat Mar 28 10:18:27 2015 -0700
+++ b/langtools/test/tools/javac/generics/diamond/neg/Neg09.java Mon Mar 30 17:09:14 2015 +0530
@@ -1,10 +1,10 @@
/*
* @test /nodynamiccopyright/
- * @bug 7020044
+ * @bug 7020044 8062373
*
- * @summary Check that diamond is not allowed with anonymous inner class expressions
+ * @summary Check that diamond is not allowed with anonymous inner class expressions at source < 9
* @author Maurizio Cimadamore
- * @compile/fail/ref=Neg09.out Neg09.java -XDrawDiagnostics
+ * @compile/fail/ref=Neg09.out Neg09.java -source 8 -XDrawDiagnostics
*
*/