# HG changeset patch # User simonis # Date 1530861738 -7200 # Node ID 4fc6bca9e9412a92a559595003cdc71b6fc2819d # Parent b9361d8c58a5cb8353f12e40c798b07cdd5446a1 8206436: sun/nio/cs/TestIBMBugs.java no longer compiles Reviewed-by: mikael, stuefe, alanb diff -r b9361d8c58a5 -r 4fc6bca9e941 test/jdk/sun/nio/cs/TestIBMBugs.java --- 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 = "\\~\\~";