PQ74387: MODULO OPERATION IN JITTED CODE RETURNS 0 FOR EVERY CALL. THIS IS ONLY OCCURRING ON JDKS FOR AIX. | |||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Customer has code that does a mod, that is %, operation in a method. The first time this operation is called, the result is correct. Any subsequent calls to this method, the % operation returns 0. If you put a delay into the method, the operation will work properly. For example, putting a try-catch around this block with the % operation will allow the operation to complete ok. This is defect SOV, 59372. The fix is in any jdk beginning with ca131w-20030308.Local fix Putting a delay in the code, like a sleep or a try-catch block, prevents the problem. . This problem only occurs with the jit enabled, so disabling the jit also prevents this problem.Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users of the * * IBM JDK on AIX prior to ca131w-20030308. * **************************************************************** * PROBLEM DESCRIPTION: Modulo operation in jitted code * * returns zero for every call. This is * * only occuring on jdks for AIX. * **************************************************************** * RECOMMENDATION: * **************************************************************** A mod operation (that is %) in a method when it is called for the first time, returns correct result. Any subsequent calls to this method, the % operation returns 0. If you put a delay into the method, the operation will work properly. For example, putting a try-catch around this block with the % operation will allow the operation to complete ok.Problem conclusion This is a JDK defect SOV, 59372. The fix is in any jdk beginning with ca131w-20030308.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ74387
IBM Group: Software Group
Modified date: May 21, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.