IBM Support

IV79571: INCORRECT CONVERSION FOR BYTE '0X25' WITH CP500 CODE PAGE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace:
    .
    A round trip conversion (byte > char > byte) of '0x25' gets
    converted to '0x15' for Cp500 code page. With the system
    property '-Dibm.swapLF=true', the byte '0x15' gets converted to
    '0x25'.
    

Local fix

Problem summary

  • In zOS, both bytes 0x15 and 0x25 are valid for a newline
    character. For applications deployed on mainframe (zOS) systems
    which interact with non-EBCDIC platforms, the system property
    -Dibm.swapLF=true was implemented to toggle newline between 0x15
    and 0x25. This is to ensure the compatibility for newline
    character with ASCII platforms. The current problem happened
    because the 'ibm.swapLF' implementation is missing in ByteToChar
    side of CP500 code page.
    

Problem conclusion

  • JDK has been updated to implement 'ibm.swapLF' functionality in
    ByteToChar conversion of CP500 code page.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP20 (6.0.16.20)
       6 R1 SR8 FP20  (6.1.8.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV79571

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-12-09

  • Closed date

    2016-01-04

  • Last modified date

    2016-01-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 January 2016