--- a/langtools/test/tools/javac/generics/diamond/neg/Neg10.java Mon Jan 21 11:16:28 2013 -0800
+++ b/langtools/test/tools/javac/generics/diamond/neg/Neg10.java Mon Jan 21 20:13:56 2013 +0000
@@ -4,7 +4,8 @@
*
* @summary Check that 'complex' diamond can infer type that is too specific
* @author mcimadamore
- * @compile/fail/ref=Neg10.out Neg10.java -XDrawDiagnostics
+ * @compile/fail/ref=Neg10.out -source 7 -Xlint:-options Neg10.java -XDrawDiagnostics
+ * @compile Neg10.java -XDrawDiagnostics
*
*/