langtools/test/tools/javac/defaultMethods/Neg04.java
changeset 14547 86d8d242b0c4
parent 14443 91c05eb19277
child 19934 1d8232b1aa18
--- a/langtools/test/tools/javac/defaultMethods/Neg04.java	Fri Nov 16 18:27:36 2012 +0000
+++ b/langtools/test/tools/javac/defaultMethods/Neg04.java	Sat Nov 17 19:01:03 2012 +0000
@@ -1,7 +1,7 @@
 /*
  * @test /nodynamiccopyright/
  * @summary check that default method must have most specific return type
- * @compile/fail/ref=Neg04.out -XDallowDefaultMethods -XDrawDiagnostics Neg04.java
+ * @compile/fail/ref=Neg04.out -XDrawDiagnostics Neg04.java
  */
 
 class Neg04 {