dubbo: fix stacktraces in test output on jdk17 (#5962)
This commit is contained in:
parent
4bd8956dd3
commit
dded6ffc25
|
@ -21,3 +21,9 @@ dependencies {
|
|||
latestDepTestLibrary("org.apache.dubbo:dubbo:2.+") // documented limitation
|
||||
latestDepTestLibrary("org.apache.dubbo:dubbo-config-api:2.+") // documented limitation
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
// to suppress non-fatal errors on jdk17
|
||||
jvmArgs("--add-opens=java.base/java.math=ALL-UNNAMED")
|
||||
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
|
||||
}
|
||||
|
|
|
@ -14,3 +14,9 @@ dependencies {
|
|||
latestDepTestLibrary("org.apache.dubbo:dubbo:2.+") // documented limitation
|
||||
latestDepTestLibrary("org.apache.dubbo:dubbo-config-api:2.+") // documented limitation
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
// to suppress non-fatal errors on jdk17
|
||||
jvmArgs("--add-opens=java.base/java.math=ALL-UNNAMED")
|
||||
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue