You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2022/02/12 03:49:06 UTC

[tapestry-5] branch latest-java-tests updated (8b072f3 -> cfe8c08)

This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a change to branch latest-java-tests
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git.


    from 8b072f3  TAP5-2700: trying to fix XMLTokenStreamTests.testStreamEncoding()
     new 74b0da4  TAP5-2700: fixing bad JavaVersion enum value for Java 9
     new cfe8c08  TAP5-2699: picking up Gradle 7.4

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.gradle                             | 7 +++++++
 gradle/wrapper/gradle-wrapper.properties | 2 +-
 tapestry-core/build.gradle               | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

[tapestry-5] 01/02: TAP5-2700: fixing bad JavaVersion enum value for Java 9

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch latest-java-tests
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit 74b0da4dc5a683d5f92d96bc71131d04b8d3c178
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sat Feb 12 00:45:27 2022 -0300

    TAP5-2700: fixing bad JavaVersion enum value for Java 9
---
 build.gradle               | 7 +++++++
 tapestry-core/build.gradle | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 8aaa360..5717c01 100755
--- a/build.gradle
+++ b/build.gradle
@@ -218,6 +218,13 @@ subprojects {
         }else{
           maxHeapSize "600M"
         }
+    
+        // Needed to have XMLTokenStreamTests.testStreamEncoding() passing on Java 9+
+        if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_19)) {
+            println "Java 9+ JVM arg: --add-opens=java.base/java.nio.charset=ALL-UNNAMED"
+            jvmArgs("--add-opens=java.base/java.nio.charset=ALL-UNNAMED");
+        }
+    
 
         // Turn off live service reloading
 
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index 7e6e11c..e3d1b64 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -74,7 +74,7 @@ jar {
 
 // Needed to have XMLTokenStreamTests.testStreamEncoding() passing on Java 9+
 test {
-    if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_9)) {
+    if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_19)) {
         println "Java 9+ JVM arg: --add-opens=java.base/java.nio.charset=ALL-UNNAMED"
         jvmArgs("--add-opens=java.base/java.nio.charset=ALL-UNNAMED");
     }

[tapestry-5] 02/02: TAP5-2699: picking up Gradle 7.4

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch latest-java-tests
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit cfe8c08f5db370824de49feaa8dd6202242d6118
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sat Feb 12 00:48:50 2022 -0300

    TAP5-2699: picking up Gradle 7.4
---
 gradle/wrapper/gradle-wrapper.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 2e6e589..41dfb87 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists