PK97049: BIGDECIMAL.ROUND_HALF_DOWN AND BIGDECIMAL.ROUND_HALF_EVEN RETURN S WRONG VALUE.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: BIGDECIMAL.ROUND_HALF_DOWN and
    BIGDECIMAL.ROUND_HALF_EVEN RETURNS WRONG VALUE.
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • ROUND HALF DOWN and ROUND HALF EVEN modes of BigDecimal.java not
    working properly.Two issues :-
    1) When the divisor is negative, its not taking care of the
    signs in all cases for ROUND HALF DOWN and ROUND HALF EVEN.
    2) Long overflow of an intermittent value used in computing
    ROUND_HALF_DOWN rounding or ROUND_HALF_EVEN rounding invoking
    ROUND_HALF_DOWN rounding.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13-FP3
    .
    The BigDecimal code has been updated to take care of signs in
    all cases for ROUND HALF DOWN and ROUND HALF EVEN.
    The BigDecimal code also has been updated to avoid overflow of
    an intermittent value used in computing ROUND_HALF_DOWN and
    ROUND_HALF_EVEN rounding invoking ROUND_HALF_DOWN rounding.
    .
    To obtain the fix:
    Install build 20091018 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK97049

  • 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

  • Submitted date

    2009-09-24

  • Closed date

    2009-10-23

  • Last modified date

    2009-10-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PK97884

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R42A PSN

       UP

  • R42L PSN

       UP

  • R42W PSN

       UP

  • R420 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

z/OS family

Software version:

1.4.2

Reference #:

PK97049

Modified date:

2009-10-23

Translate my page

Machine Translation

Content navigation