This is an automated email from the ASF dual-hosted git repository. vlamp pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push: new b06c6c317 TAP5-2722: Run tests with jvmArg -Duser.language=en b06c6c317 is described below commit b06c6c317b3604b1e4de9cf12282bebed7fc23cf Author: Volker Lamp <vl...@apache.org> AuthorDate: Sun Apr 24 22:13:54 2022 +0200 TAP5-2722: Run tests with jvmArg -Duser.language=en Using systemProperty instead of adding to jvmArgs. This is the way to go according to the Gradle docs. More importantly, this way doesn't break LinkTransformerIntegrationTest. --- tapestry-core/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle index 35f52895f..65be0b18a 100644 --- a/tapestry-core/build.gradle +++ b/tapestry-core/build.gradle @@ -72,11 +72,13 @@ jar { } } -// Needed to have XMLTokenStreamTests.testStreamEncoding() passing on Java 9+ test { + // Needed to have XMLTokenStreamTests.testStreamEncoding() passing on Java 9+ if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_9)) { jvmArgs("--add-opens=java.base/java.nio.charset=ALL-UNNAMED"); } + // TAP5-2722 + systemProperty 'user.lang', 'en' } task runTestApp1(type:JavaExec) {