Skip to content

Commit 8c7ba60

Browse files
authored
Disable vmlens tests when running in Java 11, since it occasionally generates invalid bytecode (#280)
1 parent bf47a56 commit 8c7ba60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rollbar-reactive-streams-reactor/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ project.tasks.check.dependsOn(junit4Test)
7373
interleave {
7474
useJUnit() {
7575
includeCategories VMLENS_CATEGORY
76+
77+
// VMLens occasionally generates invalid bytecode under Java > 8. This will either be fixed,
78+
// or VMLens will have to be removed. For now we need consistent builds, and the concurrency
79+
// code we test under Java 8 has the same semantics under Java 11 so testing only Java 8 is
80+
// an acceptable compromise.
81+
enabled = JavaVersion.current().compareTo(JavaVersion.VERSION_1_9) < 0
7682
}
7783

7884
// The Jacoco agent doesn't get along with the VMLens agent.

0 commit comments

Comments
 (0)