You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2021/04/13 08:10:44 UTC

[hadoop] branch branch-3.2 updated: HADOOP-17630. [JDK 15] TestPrintableString fails due to Unicode 13.0 support. (#2890)

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

aajisaka pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new d9858a4  HADOOP-17630. [JDK 15] TestPrintableString fails due to Unicode 13.0 support. (#2890)
d9858a4 is described below

commit d9858a4663bab0362ebd83a85475f7076f8ff641
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Tue Apr 13 17:08:49 2021 +0900

    HADOOP-17630. [JDK 15] TestPrintableString fails due to Unicode 13.0 support. (#2890)
    
    Reviewed-by: Wei-Chiu Chuang <we...@apache.org>
    (cherry picked from commit 156ecc89be3ae1f42bde9c22ab5ba96cf60df3c6)
---
 .../src/test/java/org/apache/hadoop/fs/shell/TestPrintableString.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestPrintableString.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestPrintableString.java
index 8e09fc2..91bfdd6 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestPrintableString.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestPrintableString.java
@@ -76,8 +76,8 @@ public class TestPrintableString {
         "x\uDB80\uDC00y\uDBFF\uDFFDz\u1050", "x?y?z\u1050");
 
     // Unassigned Unicode
-    expect("Should replace unassigned U+30000 and U+DFFFF",
-        "-\uD880\uDC00-\uDB3F\uDFFF-", "-?-?-");
+    expect("Should replace unassigned U+DFFFF",
+        "-\uDB3F\uDFFF-", "-?-");
 
     // Standalone surrogate character (not in a pair)
     expect("Should replace standalone surrogate U+DB80", "x\uDB80yz", "x?yz");

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org