JDK-8186803 : Update Cp1140-Cp1149 EBEDIC euro charset to map \u000A to EBCDIC 0x15
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-08-28
  • Updated: 2018-02-26
  • Resolved: 2018-01-25
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 10
10Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
All JDK's EBCDIC charsets, except Cp1140-1149, map the line-feed
\u000A character to EBCDIC 0x15. The related mappings are as

0x25 (LF) => U+000A 
0x15(NL) <=> U+000A 
0x15(NL) <= U+0085

Cp1140-1149 however maps the U+000A.

As suggested in JDK-7016785,  there are/were two standards to handle the newline in z/OS, these being the LF (0x25) CDRA or NL (0x15). From JDK1.4, IBM idk has moved on to map \u000a to 0x15 as the default, in which most our ebcdic charsets are compatible with.

This RFE is to propose to update the Cp1140-Cp1149 to also map \u000A to ebcdic 0x15 to be consistent with other ebcdic charsets.

Comments
This one has been fixed and integrated into jdk10 together with https://bugs.openjdk.java.net/browse/JDK-8186801 ------------------------------------------------------- All JDK's EBCDIC charsets, except Cp1140-1149, map the line-feed \u000A character to EBCDIC 0x15. The related mappings are as 0x25 (LF) => U+000A 0x15(NL) <=> U+000A 0x15(NL) <= U+0085 Cp1140-1149 however maps the U+000A. As suggested in JDK-7016785, there are/were two standards to handle the newline in z/OS ( LF/0x25 CDRA or NL/0x15). From JDK1.4, IBM idk has moved on to map \u000a to 0x15 as the default, which matches the behavior of most our ebcdic charsets. This rfe is to update the Cp114[0-9] to also map \u000A to ebcdic 0x15 to be consistent with other ebcdic charsets (to add non-roundtrip mapping tables for IBM0114[0-9]) --------------------------------
25-01-2018