IBM Support

PK57567: JAVA 5 JIT PRODUCES INCORRECT OUTPUT WHILE USING JAVA ADVANCED IMAGING API

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Java 5 programs using the Java Advanced Imaging
    (JAI) API on x86 platforms could produce corrupted images when
    the JIT compiler is enabled. Specifically, the problem may occur
    consistently when performing bi-cubic interpolation with the
    class com.sun.media.jai.opimage.ScaleBicubicOpImage.
    .
    Stack Trace: N/A
    .
    

Local fix

  • The issue can worked around by preventing the JIT compiler from
    optimizing the methods in the problematic class, with the
    following options:
    -Xjit:exclude={com/sun/media/jai/opimage/ScaleBicubicOpImage*}
    Note that this will force the code to be interpreted and can
    slow down the image operation significantly.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM WebSphere Application Server version     *
    *                 6.1 users                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Java 5 JIT produces incorrect output    *
    *                      while using java advanced imaging API   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem is caused when the JIT compiler generates a bad
    native instruction sequence for a multiplication of a 64-bi
    long with an element of a byte array.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR7
    .
    The JIT compiler has been updated to generate correct
    instructions for such operations.
    .
    To obtain the fix:
    Install build 20071027 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK57567

  • Reported component name

    WEBSPH APP SERV

  • Reported component ID

    5724J0800

  • Reported release

    61I

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-04

  • Closed date

    2007-12-04

  • Last modified date

    2007-12-04

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

    IZ08152

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

Fix information

  • Fixed component name

    WEBSPH APP SERV

  • Fixed component ID

    5724J0800

Applicable component levels

  • R61I PSY

       UP

  • R61W PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022