Avoid Jetty 10
Alpha version of Jetty 10 was released and it seems to be compiled for
java versions above 8 so tests fail on java8.
Limit latest dep Jetty tests to Jetty 9 for now.
MODIFY
dd-java-agent/instrumentation/jetty-8/jetty-8.gradle
dd-java-agent/instrumentation/jetty-8/jetty-8.gradle
@@ -34,7 +34,9 @@ dependencies {
testCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '8.0.0.v20110901'
testCompile group: 'org.eclipse.jetty', name: 'jetty-continuation', version: '8.0.0.v20110901'
- latestDepTestCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '+'
- latestDepTestCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '+'
- latestDepTestCompile group: 'org.eclipse.jetty', name: 'jetty-continuation', version: '+'
+ // Jetty 10 seems to refuse to run on java8.
+ // TODO: we need to setup separate test for Jetty 10 when that is released.
+ latestDepTestCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.+'
+ latestDepTestCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.+'
+ latestDepTestCompile group: 'org.eclipse.jetty', name: 'jetty-continuation', version: '9.+'
}

Avoid Jetty 10

Alpha version of Jetty 10 was released and it seems to be compiled for
java versions above 8 so tests fail on java8.

Limit latest dep Jetty tests to Jetty 9 for now.