test/langtools/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java
--- a/test/langtools/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java Mon Oct 16 18:15:41 2017 +0530
+++ b/test/langtools/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java Fri Sep 01 14:04:20 2017 +0200
@@ -154,10 +154,10 @@
@Override
public void doWork() throws IOException {
- check(newCompilationTask()
+ newCompilationTask()
.withOption("-XDallowStaticInterfaceMethods")
.withSourceFromTemplate(template, this::returnExpr)
- .analyze());
+ .analyze(this::check);
}
ComboParameter returnExpr(String name) {