IBM Support

PM63290: DECIMALFORMAT CLONE FAILS IN MULTI-THREADED SCENARIOS

Fixes are available

PM63290; 7.0.0.23: decimalformat clone fails in multi-threaded scenarios
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract: com.ibm.icu.text.DecimalFormat.clone creates decimal
    format instances which operate incorrectly in multi-threaded
    scenarios.  (See ICU ticket #5358.)
    
    Description:
    When new instances of com.ibm.icu.text.DecimalFormat are created
    using DecimalFormat.clone() the new instance shares state with
    the initial DecimalFormat instance. As a result, use of the
    initial instance in a first thread is not safe with the
    concurrent use of the new clone instance in a second thread.
    
    This problem was reported as ICU ticket #5358.  For more
    information,
    see: http://bugs.icu-project.org/trac/ticket/5358
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server  v7.0 with applications using the    *
    *                  ICU4J library                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: The NumberFormat parse function can     *
    *                      return an incorrect value for a         *
    *                      decimal number.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When parsing a decimal number, NumberFormat can intermittently
    return an incorrect result which will cause the application to
    process with an invalid value.
    The DecimalFormat clone method does not create a new
    DigitList object for each new DecimalFormat instance,
    resulting in multiple instances of DecimalFormat sharing the
    same DigitList. If multiple threads enter parsing
    simultaneously, this can cause the result on one thread to be
    corrupted by processing on another thread.
    

Problem conclusion

  • DecimalFormat has been updated to prevent cross thread
    corruption.
    
    This error will not occur on WebSphere Application Server V8.0
    and later due to its use of a later version of ICU4J.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.25.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM63290

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-25

  • Closed date

    2012-06-11

  • Last modified date

    2012-06-11

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PM63290

Modified date: 11 June 2012