diff -r 843d3b191773 -r 01c9d4161882 test/tools/javac/defaultMethods/Neg04.java --- a/test/tools/javac/defaultMethods/Neg04.java Fri Nov 16 18:27:36 2012 +0000 +++ b/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 {