My Oracle Support Banner

Money Java Application Programming Interface/Constant - Money.ZERO Issue (Doc ID 2219682.1)

Last updated on JUNE 02, 2024

Applies to:

Oracle Public Sector Revenue Management - Version and later
Oracle Utilities Framework - Version to [Release 4.3]
Information in this document applies to any platform.


When customer uses public static final Money ZERO = new Money(BigDecimal.ZERO, null); from com.splwg.base.api.datatypes.Money class the behavior is different than in 2.4.1. In 2.4.1 the returned value is 0.00 but in 2.5 the returned value is 0 which causes all the places we used the Money.ZERO constant for comparison with a money object to fail.

The returned value should be 0.00 like in 2.4.

Customer's custom code is referencing that class.

Customer uses this constant in thousands of places and cannot afford to change their code.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.