diff --git a/checker/tests/mustcall/FunctionalInterfaces.java b/checker/tests/mustcall/FunctionalInterfaces.java index d60efbbec07..b556623ffa5 100644 --- a/checker/tests/mustcall/FunctionalInterfaces.java +++ b/checker/tests/mustcall/FunctionalInterfaces.java @@ -43,8 +43,8 @@ public void act() {} public void anonymousClass() { - // :: error: (assignment) @MustCall({}) Actor a = + // :: error: (assignment) new Actor() { public void act() {} };