diff --git a/src/test/java/org/htmlunit/ExternalTest.java b/src/test/java/org/htmlunit/ExternalTest.java
index 3d6b5383d0..2cac8dcd0c 100644
--- a/src/test/java/org/htmlunit/ExternalTest.java
+++ b/src/test/java/org/htmlunit/ExternalTest.java
@@ -339,9 +339,9 @@ private static boolean isIgnored(@SuppressWarnings("unused") final String groupI
return true;
}
- // 11.x requires java11
+ // >= 11.x requires java11
if ("org.owasp".equals(groupId)
- && version.startsWith("11.")) {
+ && (version.startsWith("11.") || version.startsWith("12."))) {
return true;
}