RFR JDK-8190904: Incorrect currency instance returned by java.util.Currency.getInstance()
nishit.jain at oracle.com
Fri Feb 16 11:50:04 UTC 2018
Please review the fix for JDK-8190904.
Issue: The currency superseding feature gives the possibility of
allowing two similar Currency instances for a currency code, which is
against the principle that "There can never more than one Currency
instance for any given currency".
Fix: Modify the superseding feature to not allow multiple entries with
same currency code but different numeric and/or minor unit. These are
ignored as inconsistent entries. Also, If there is any ISO 4217 currency
data with same currency code as the currency entry given in the
properties file, then the existing Currency data should be updated with
the given currency values.
More information about the core-libs-dev