IBM Support

IZ65603: GETSTRINGPLATFORM & NEWSTRINGPLATFORM FAIL WITH MBCS CODEPAGES S ET USING LANG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: NewStringPlatform & GetStringPlatform will return
    -2 error code.
    Code using JRIO will crash due to null being passed in JNI code.
    -Xcheck:jni can be used to check this.
    .
    Stack Trace: N/A
    .
    

Local fix

  • Always set codepage rather than let it fall back to LANG
    default.
    Use -Dfile.encoding.
    

Problem summary

  • NewStringPlatform & GetStringPlatform return -2 error code when
    LANG is used with a MBCS for the encoding on z/OS.
    e.g.
    LANG=Ja_JP.IBM-939
    LC_SYNTAX=Ja_JP.IBM-939
    LC_ALL=Ja_JP.IBM-939
    java [app]
    
    Code using JRIO will crash due to null being passed in JNI code.
    -Xcheck:jni can be used to check this.
    
    This is an additional fix to APAR IZ50583. Both should be
    applied together.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR11 FP1
    .
    
    The ascii > ebcdic & ebcdic > ascii converters have been fixed
    to work with Multi-Byte Character Sets.
    .
    To obtain the fix:
    Install build 20091209 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ65603

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-24

  • Closed date

    2010-04-27

  • Last modified date

    2010-04-27

  • 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 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 April 2010