diff --git a/junit-platform-commons/src/main/java/org/junit/platform/commons/support/AnnotationSupport.java b/junit-platform-commons/src/main/java/org/junit/platform/commons/support/AnnotationSupport.java
index d5265aea9d05..b1be410c96ae 100644
--- a/junit-platform-commons/src/main/java/org/junit/platform/commons/support/AnnotationSupport.java
+++ b/junit-platform-commons/src/main/java/org/junit/platform/commons/support/AnnotationSupport.java
@@ -171,6 +171,7 @@ public static Optional findAnnotation(AnnotatedElement
*/
@Deprecated
@API(status = DEPRECATED, since = "1.12")
+ @SuppressWarnings("deprecation")
public static Optional findAnnotation(Class> clazz, Class annotationType,
SearchOption searchOption) {