Skip to content

Commit

Permalink
Proper fix for vertx
Browse files Browse the repository at this point in the history
  • Loading branch information
meiao committed Oct 9, 2023
1 parent 51241d3 commit d04fa91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion instrumentation/vertx-core-3.3.3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ verifyInstrumentation {

test {
// this version of Vert.x uses some DirectBuffer things that are now hidden in its module
if (project.hasProperty("test17") || project.hasProperty("test20")) {
if (project.hasProperty("test17") || project.hasProperty("test21")) {
jvmArgs += '--add-opens=java.base/java.nio=ALL-UNNAMED'
jvmArgs += '--add-opens=java.base/sun.nio.ch=ALL-UNNAMED'
}
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/vertx-core-3.4.1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ verifyInstrumentation {

test {
// this version of Vert.x uses some DirectBuffer things that are now hidden in its module
if (project.hasProperty("test17") || project.hasProperty("test20")) {
if (project.hasProperty("test17") || project.hasProperty("test21")) {
jvmArgs += '--add-opens=java.base/java.nio=ALL-UNNAMED'
jvmArgs += '--add-opens=java.base/sun.nio.ch=ALL-UNNAMED'
}
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/vertx-web-3.3.0/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ verifyInstrumentation {

test {
// this version of Vert.x uses some DirectBuffer things that are now hidden in its module
if (project.hasProperty("test17") || project.hasProperty("test20")) {
if (project.hasProperty("test17") || project.hasProperty("test21")) {
jvmArgs += '--add-opens=java.base/java.nio=ALL-UNNAMED'
jvmArgs += '--add-opens=java.base/sun.nio.ch=ALL-UNNAMED'
}
Expand Down

0 comments on commit d04fa91

Please sign in to comment.