IBM Support

IV93693: IBM.SWAPLF SYSTEM PROPERTY NOT HONORED WHEN SET PROGRAMATICALLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The system property "ibm.swapLF" is not effective when set
    through 'System.setProperty("ibm.swapLF", "true")' for EBCDIC
    based code pages. As a result the newline character (\n) is set
    to byte '0x15' on zOS side, instead of '0x25' even when the
    property is set to true.
    

Local fix

  • Use the JVM commandline option '-Dibm.swapLF=true' instead.
    Please note that when this JVM option is used, all configuration
    files should be converted to ASCII format as the newline
    character (\n) is not recognized if the files are in EBCDIC.
    

Problem summary

  • JDK considers the property "ibm.swapLF" only during the
    initialization and it ignores the property if set it
    programmatically at a later point.
    

Problem conclusion

  • JDK is updated to allow the property to be set to true even
    after initialization.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR4 FP2   (8.0.4.2)
    .
    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

    IV93693

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-28

  • Closed date

    2017-03-10

  • Last modified date

    2017-03-10

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022