IBM Support

IV78394: JAVA.LANG.STRING.GETBYTES(STRING CHARSETNAME) INCORRECT OUTPUT WITH ISO-2022-KR CHARSET

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: For the character sequence "\uACB0\uC810", the
    API String.getBytes(String charsetName) produces following
    incorrect byte sequence with the charset ISO-2022-KR.
    1b 24 29 43 0e 30 61 30 61 0f
    Expected byte sequence is as follows:
    1b 24 29 43 0e 30 61 41 21 0f
    .
    Stack Trace: N/A
    .
    

Local fix

  • NA
    

Problem summary

  • The problem occurred because the encoder of ISO-2022-KR charset
    sets the position of buffer incorrectly while encoding the
    string.
    

Problem conclusion

  • JDK is updated to set the buffer position correctly during
    encoding process.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2 FP10  (8.0.2.10)
    .
    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

    IV78394

  • 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-10-26

  • 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

  • R800 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