APAR status
Closed as program error.
Error description
Error Message: BigDecimal.ROUND_FLOOR and BigDecimal.ROUND_CEILING returns incorrect value . Stack Trace: N/A .
Local fix
Use com.ibm.math.BigDecimal instead of java.math.BigDecimal
Problem summary
BigDecimal.ROUND_CEILING and BigDecimal.ROUND_FLOOR modes are not working properly in calculations when the divisor is negative as the JDK is not taking care of the signs.
Problem conclusion
This defect will be fixed in: 1.4.2 SR13 FP14 . The JDK has been updated to take care of the signs in all the cases of ROUND_CEILING and ROUND_FLOOR.
Temporary fix
Comments
APAR Information
APAR number
PM73938
Reported component name
JAVA(1.3/1.4 CO
Reported component ID
5648C9800
Reported release
42A
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2012-09-28
Closed date
2012-10-15
Last modified date
2012-11-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
JAVA(1.3/1.4 CO
Fixed component ID
5648C9800
Applicable component levels
R42A PSY
UP
R42L PSY
UP
R42W PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022