RFR: 8348351: Improve lazy initialization of the available currencies set [v2]

Justin Lu jlu at openjdk.org
Mon May 12 20:37:58 UTC 2025


On Thu, 8 May 2025 23:30:06 GMT, Justin Lu <jlu at 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.)
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Chen's review - method name clarification

Thanks for the reviews.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25134#issuecomment-2873923357


More information about the core-libs-dev mailing list