diff --git a/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java b/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java index 738e630c12..678e32f9c4 100644 --- a/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java +++ b/spring-core/src/test/java/org/springframework/core/MethodParameterTests.java @@ -123,7 +123,6 @@ public class MethodParameterTests { methodParameter = MethodParameter.forExecutable(constructor, 1); assertEquals(String.class, methodParameter.getParameterType()); - // The following assertion currently fails if this test class is compiled using JDK 8. assertNotNull("Failed to find @Param annotation", methodParameter.getParameterAnnotation(Param.class)); methodParameter = MethodParameter.forExecutable(constructor, 2);