PQ74387: MODULO OPERATION IN JITTED CODE RETURNS 0 FOR EVERY CALL. THIS IS ONLY OCCURRING ON JDKS FOR AIX.

 A fix is available

***SUPERCEDED*** 1.3.1 Java SDK, Java Tech Edition for WebSphere v5



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 information
APAR number PQ74387
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-05-20
Closed date 2003-05-21
Last modified date 2003-05-21

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JDK          

SRLS

Fix information

Applicable component levels
R400 PSY    UP


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