On Thu, 8 May 2025 22:55:34 GMT, Justin Lu <j...@openjdk.org> wrote: > Please review this PR which stems from discussion in the PR of JDK-8347949. > > The set of lazily loaded Currencies is a good fit for stable values. > `available` can now be made final as it is a SV supplier. > > (This change also includes an unrelated minor edit to comments in > `Currency::getCurrencies` to make the distinction for simple vs special > Currencies.)
This pull request has now been integrated. Changeset: b6b5ac1e Author: Justin Lu <j...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b6b5ac1ef9042ed62a8358aa6943b8dc87dcf0ab Stats: 46 lines in 1 file changed: 3 ins; 2 del; 41 mod 8348351: Improve lazy initialization of the available currencies set Reviewed-by: liach, naoto ------------- PR: https://git.openjdk.org/jdk/pull/25134