Skip to main content

IV34355: THE IO CONVERTER FOR IBM1047_LF,IBM1141_LF AND IBM924_LF CODEPA GES GIVE INCORRECT MAPPING FOR LINE FEED


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: N/A
    .
    The IO converter for  IBM1047_LF,IBM1141_LF and IBM924_LF code
    pages should give the  swapped value of  line feed compared to
    IBM1047, IBM1141 and IBM924 code pages. However, those code
    pages is giving the same value of line feed as  IBM1047, IBM1141
    and IBM924 code pages.
    The correct mapping of   IBM1047_LF,IBM1141_LF and IBM924_LF is
    as follows:
    \u000A <-> 0x25
    \u0085 <-> 0x15
    The NIO converter for  IBM1047_LF,IBM1141_LF and IBM924_LF code
    pages are working correctly.
    

Local fix

  • The issue can be be work around using the following options:
    1. Use NIO converter instead of the IO converter. This work
    around is possible if explicitly specifying the codepage in the
    application.
    2. Use the system property  -Dibm.swapLF=true with code pages
    IBM1047, IBM1141 and IBM924  . The property is system wide and
    cannot be selectively apply to any specific code page.
    

Problem summary

  • The IBM1047_LF,IBM1141_LF and IBM924_LF code pages did not
    override the charmap array in byte to char conversion and
    thereby use the mapping of parent class
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR13
    6.0.1 SR5
    7.0.0 SR4
    .
    JVM has been updated to  override the charmap array to get the
    correct  mapping in  IBM1047_LF,IBM1141_LF and IBM924_LF code
    pages.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV34355

  • 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

    2013-01-09

  • Closed date

    2013-01-14

  • Last modified date

    2013-01-14

  • 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

  • R700 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
6.0


Reference #:
IV34355


Modified date:
2013-01-14

Translate my page

Content navigation