diff --git a/spring-test/src/main/java/org/springframework/test/util/ExceptionCollector.java b/spring-test/src/main/java/org/springframework/test/util/ExceptionCollector.java index 1c5ffaa3323..f53190b7aff 100644 --- a/spring-test/src/main/java/org/springframework/test/util/ExceptionCollector.java +++ b/spring-test/src/main/java/org/springframework/test/util/ExceptionCollector.java @@ -118,7 +118,7 @@ public class ExceptionCollector { * except that an {@code Executable} can throw any kind of exception. */ @FunctionalInterface - interface Executable { + public interface Executable { void execute() throws Throwable;