JDK-8206436 : sun/nio/cs/TestIBMBugs.java no longer compiles
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 11
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-07-06
  • Updated: 2018-07-17
  • Resolved: 2018-07-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11 b22Fixed 12Fixed
Related Reports
Relates :  
Description
The edit to TestIBMBugs.java contains non-ascii characters in the comments, resulting in javac failure:

/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.1010/src.full/open/test/jdk/sun/nio/cs/TestIBMBugs.java:191: error: unmappable character (0xC2) for encoding US-ASCII
        // and \ufffd\ufffd andoverscore are encoded to 0x5c and 0x7e
               ^
/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.1010/src.full/open/test/jdk/sun/nio/cs/TestIBMBugs.java:191: error: unmappable character (0xA5) for encoding US-ASCII
        // and \ufffd\ufffd andoverscore are encoded to 0x5c and 0x7e
                ^
/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.1010/src.full/open/test/jdk/sun/nio/cs/TestIBMBugs.java:208: error: unmappable character (0xC2) for encoding US-ASCII
        // and \ufffd\ufffd an overscore are encoded to 0x5c and 0x7e
               ^
/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.1010/src.full/open/test/jdk/sun/nio/cs/TestIBMBugs.java:208: error: unmappable character (0xA5) for encoding US-ASCII
        // and \ufffd\ufffd an overscore are encoded to 0x5c and 0x7e
                ^
4 errors
result: Failed. Compilation failed: Compilation failed 
Comments
Hi Alan, sorry, that's all my fault. You're right that the issue was originally a P4. It was already reviewed back in May but unfortunately I forgot to sponsor/push it as promised. Because this turned out to be essential to support Japanese/Chinese encodings on AIX I've increased it to P3 in order to still bring it into 11. I really apologize for the trouble. -Volker PS: the fix is out for review..
06-07-2018

Not clear why JDK-8202329 was pushed to jdk/jdk11 as it was a P4. Now that it has, then this test fix needs to be pushed to jdk/jdk11 too.
06-07-2018