IBM Support

IV69880: FAILS TO LAUNCH JAVA WHEN UNSUPPORTED ENCODING IS SET

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: java.io.UnsupportedEncodingException: IBM-425at
    sun.io.Converters.getConverterClass(Converters.java:319)at
    sun.io.Converters.newConverter(Converters.java:373)at
    sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java
    :98)at
    com.ibm.jvm.io.ConsoleInputStream.<clinit>(ConsoleInputStream.ja
    va:93)at java.lang.J9VMInternals.initializeImpl(Native Method)at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:237)at
    com.ibm.jvm.io.LocalizedInputStream.getInputStream(LocalizedInpu
    tStream.java:327)at
    java.io.InputStreamReader.<init>(InputStreamReader.java:87)at
    java.io.FileReader.<init>(FileReader.java:83)at
    sun.misc.MetaIndex.registerDirectory(MetaIndex.java:178)at
    sun.misc.Launcher$ExtClassLoader$1.run(Launcher.java:163)at
    sun.misc.Launcher$ExtClassLoader$1.run(Launcher.java:159)at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:330)at
    sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Launcher.java
    :158)at sun.misc.Launcher.<init>(Launcher.java:85)at
    sun.misc.Launcher.<clinit>(Launcher.java:71)at
    java.lang.J9VMInternals.initializeImpl(Native Method)at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:237)at
    java.lang.ClassLoader.initializeClassLoaders(ClassLoader.java:13
    0)at java.lang.Thread.initialize(Thread.java:363)at
    java.lang.Thread.<init>(Thread.java:129)
    .
    

Local fix

Problem summary

  • This problem is specific to z/OS platform.When an unsupported
    encoding is used, its expected to fall back to the default
    encoding of the platform.When "export LC_ALL=Ar_AA.IBM-425" is
    set, both file.encoding property and ibm.system.encoding
    property get set as "IBM-425".Fallback mechanism implementation
    sets only the file.encoding to Cp1047.Above fallback mechanism
    does not affect to com.ibm.jvm.io.ConsoleInputStream class.
    

Problem conclusion

  • In the fix, we are trying to over come the problem bypassing the
    java.io.UnsupportedEncodingException exception.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9       (7.0.9.0)
       7 R1 SR3       (7.1.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV69880

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-24

  • Closed date

    2015-03-19

  • Last modified date

    2015-03-19

  • 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

  • R700 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV69880

Modified date: 19 March 2015