You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2021/09/05 06:12:25 UTC

[ant] branch master updated: "default" is no longer a valid alias for charset starting JDK 18+ which implemented JEP400 (https://openjdk.java.net/jeps/400)

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

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a20cdc  "default" is no longer a valid alias for charset starting JDK 18+ which implemented JEP400 (https://openjdk.java.net/jeps/400)
0a20cdc is described below

commit 0a20cdc31f081a3502b0dde4b0e1c21360e70423
Author: Jaikiran Pai <ja...@apache.org>
AuthorDate: Sun Sep 5 11:40:46 2021 +0530

    "default" is no longer a valid alias for charset starting JDK 18+ which implemented JEP400 (https://openjdk.java.net/jeps/400)
---
 src/tests/junit/org/apache/tools/ant/types/CharSetTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/junit/org/apache/tools/ant/types/CharSetTest.java b/src/tests/junit/org/apache/tools/ant/types/CharSetTest.java
index 1399292..14f6627 100644
--- a/src/tests/junit/org/apache/tools/ant/types/CharSetTest.java
+++ b/src/tests/junit/org/apache/tools/ant/types/CharSetTest.java
@@ -94,7 +94,7 @@ public class CharSetTest {
         // requires JUnit 4.12
         @Parameterized.Parameters(name = "non-equivalent argument: |{0}|")
         public static Collection<String> data() {
-            return Arrays.asList("us", "ISO-8859-1", "default");
+            return Arrays.asList("us", "ISO-8859-1", "US-ASCII");
         }
 
         @Parameterized.Parameter