IBM Support

PM63290; 7.0.0.23: decimalformat clone fails in multi-threaded scenarios

Download


Abstract

The NumberFormat parse function can return an incorrect value for a decimal number.

Download Description

PM63290 resolves the following problem:

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:
NONE

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:
None

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?uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7289","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PM63290/7.0.0.23/readme.txt"}]
On
[{"DNLabel":"7.0.0.11-WS-WAS-IFPM63290","DNDate":"14 Jun 2012","DNLang":"US English","DNSize":"26048","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.11-WS-WAS-IFPM63290&product=ibm%2FWebSphere%2FWebSphere+Application+Server&source=dbluesearch","DNURL_FTP":" ","DDURL":null},{"DNLabel":"7.0.0.23-WS-WAS-IFPM63290","DNDate":"06-14-2012","DNLang":"US English","DNSize":"26029","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.23-WS-WAS-IFPM63290&product=ibm%2FWebSphere%2FWebSphere+Application+Server&source=dbluesearch","DNURL_FTP":" ","DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/support/entry/portal/overview//software/websphere/websphere_application_server), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.11;7.0.0.13;7.0.0.15;7.0.0.17;7.0.0.19;7.0.0.21;7.0.0.23","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24032974