-
CSR
-
Resolution: Withdrawn
-
P4
-
None
-
behavioral
-
low
-
-
Java API
-
SE
Summary
In java.util.Currency, use a single time for cut-over date comparisons, when building the set of available currencies.
Problem
java.util.Currency builds a set of the available currencies. While building the set, currencies with a cut-over date are measured against a new capture of the current System time. This leads to different times being used for each currency with a cut-over date, instead of a single uniform time. Additionally, the variance (while in the milliseconds), between each time measurement is dependent on an implementation's performance of the method.
Solution
When building the set of available currencies, use a single time for all cut-over date comparisons.
Specification
n/a
- csr of
-
JDK-8348205 Improve cutover time selection when building available currencies set
- Resolved