-
Enhancement
-
Resolution: Fixed
-
P4
-
25
-
None
-
master
-
generic
-
generic
java.util.Currency.getAvailableCurrencies() returns a Set of available currencies. While producing a Stream from a Set is simple enough for users, the method makes a defensive copy on the internal set.
Providing a dedicated method such as availableCurrencies() gets rid of the need to perform a intermediate defensive copy operation, as the internal set is streamed directly.
Providing a dedicated method such as availableCurrencies() gets rid of the need to perform a intermediate defensive copy operation, as the internal set is streamed directly.
- csr for
-
JDK-8347950 Currency method to stream available Currencies
- Closed
- relates to
-
JDK-8348351 Improve lazy initialization of the available currencies set
- Open
-
JDK-8348205 Improve cutover time selection when building available currencies set
- Resolved
- links to
-
Commit(master) openjdk/jdk/f05c53c2
-
Review(master) openjdk/jdk/23165