OpenJDK / jdk / jdk
changeset 50998:4fc6bca9e941
8206436: sun/nio/cs/TestIBMBugs.java no longer compiles
Reviewed-by: mikael, stuefe, alanb
author | simonis |
---|---|
date | Fri, 06 Jul 2018 09:22:18 +0200 |
parents | b9361d8c58a5 |
children | f8038b878d27 |
files | test/jdk/sun/nio/cs/TestIBMBugs.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test/jdk/sun/nio/cs/TestIBMBugs.java Thu Jul 05 20:00:04 2018 -0700 +++ b/test/jdk/sun/nio/cs/TestIBMBugs.java Fri Jul 06 09:22:18 2018 +0200 @@ -175,7 +175,7 @@ } private static void bug8202329() throws Exception { - String original = "\\\u007E\u00A5\u203E"; // "b"; \\ [backslash][tilde][yen][overscore] + String original = "\\\u007E\u00A5\u203E"; // [backslash][tilde][yen][overscore] byte[] expectedBytes; // bytes after conversion String expectedStringfromBytes; // String constructed from bytes @@ -188,7 +188,7 @@ // Test IBM943, where \ and ~ are encoded to unmappable i.e., 0x3f - // and ¥ andoverscore are encoded to 0x5c and 0x7e + // and [yen] and [overscore] are encoded to 0x5c and 0x7e charset = Charset.forName("IBM943"); expectedBytes = new byte[] {0x3f, 0x3f, 0x5c, 0x7e}; expectedStringfromBytes = "??\u00A5\u203E"; @@ -205,7 +205,7 @@ // Test IBM943C, where \ and ~ are encoded to 0x5c and 0x7e - // and ¥ an overscore are encoded to 0x5c and 0x7e + // and [yen] and [overscore] are encoded to 0x5c and 0x7e charset = Charset.forName("IBM943C"); expectedBytes = new byte[] {0x5c, 0x7e, 0x5c, 0x7e}; expectedStringfromBytes = "\\~\\~";