VOOZH about

URL: https://www.ibm.com/support/pages/apar/IV83541

⇱ IV83541: JAVA JIT ON LINUXPPC: NUMBERFORMATEXCEPTION THROWN WHEN DESERIAL IZING UTF16 STRING


IV83541: JAVA JIT ON LINUXPPC: NUMBERFORMATEXCEPTION THROWN WHEN DESERIAL IZING UTF16 STRING

APAR status

  • Closed as program error.

Error description

  • Error Message: Under rare circumstances a
    java.lang.NumberFormatException is thrown when deserializing a
    numeric string that was previously serialized using
    String.getBytes() with the encoding set to UTF16 on in Java 8
    SR2 on POWER8 Little Endian machines only. This problem does
    not effect Java on AIX, the problem can only occur on little
    endian LinuxPPC running on POWER8 CPUs.
    .
    Stack Trace: N/A
    .
    

Local fix

  • The issue can be worked around by disabling the UTF16 to byte
    SIMD converters:
    -Xjit:disableSIMDUTF16BEEncoder,disableSIMDUTF16LEEncoder.
    

Problem summary

  • The problem is caused when the SIMD UTF16 to byte encoder
    introduced in Java 8 SR2 is used to convert a string to bytes on
    a Little Endian PowerPC 8 system. Bad data is produced in rare
    circumstances, leading to a variety of potential exceptions when
    the data is subsequently used. The problem appears in both 32/64
    bit SDKs and both default and compressed refs.
    

Problem conclusion

  • The defect has been corrected.
    .
    This APAR will be fixed in the following Java Releases:
     8 SR3 (8.0.3.0)
    .
    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

    IV83541

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-07

  • Closed date

    2016-04-07

  • Last modified date

    2016-04-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R130 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
07 April 2016