Skip to content

Commit 9cb85ec

Browse files
authored
Run grizzly-http muzzle on Java 21 (#11241)
Grizzly 5.0.1+ requires Java 21 to load. Bump the muzzle directive's javaVersion to 21 so the AssertPass check for 5.0.1 succeeds, and document why 5.0.0 is skipped (broken POM referencing grizzly-bom:5.0.0-SNAPSHOT).
1 parent b7d0d04 commit 9cb85ec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • dd-java-agent/instrumentation/grizzly/grizzly-http-2.3.20

dd-java-agent/instrumentation/grizzly/grizzly-http-2.3.20/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ muzzle {
33
group = "org.glassfish.grizzly"
44
module = 'grizzly-http'
55
versions = "[2.3.20,)"
6-
javaVersion = '11'
6+
// Grizzly 5.0.1+ requires Java 21 to load.
7+
javaVersion = '21'
78
assertInverse = false
9+
// 5.0.0 has a broken POM (references grizzly-bom:5.0.0-SNAPSHOT) and cannot be resolved.
810
skipVersions += "5.0.0"
911
}
1012
}

0 commit comments

Comments
 (0)