Re: RFR: 8282319: java.util.Locale method to stream available Locales [v4]

2023-02-27 Thread Roger Riggs
On Mon, 27 Feb 2023 17:37:48 GMT, Justin Lu wrote: >> This PR adds a new method to java.util.Locale which returns Stream >> >> The contents of the Stream are composed of the same underlying elements as >> Locale.getAvailableLocales(). >> >> This method allows streaming of the Locale array with

Re: RFR: 8282319: java.util.Locale method to stream available Locales [v4]

2023-02-27 Thread Lance Andersen
On Mon, 27 Feb 2023 17:32:47 GMT, Justin Lu wrote: > Hi Lance and Roger, I have switched the tag {@return to @return for > consistency. And like you proposed Roger, I will open a separate issue to > address converting the tags. Thank you Justin - PR: https://git.openjdk.org/jdk/p

Re: RFR: 8282319: java.util.Locale method to stream available Locales [v4]

2023-02-27 Thread Lance Andersen
On Mon, 27 Feb 2023 17:37:48 GMT, Justin Lu wrote: >> This PR adds a new method to java.util.Locale which returns Stream >> >> The contents of the Stream are composed of the same underlying elements as >> Locale.getAvailableLocales(). >> >> This method allows streaming of the Locale array with

Re: RFR: 8282319: java.util.Locale method to stream available Locales [v4]

2023-02-27 Thread Justin Lu
On Fri, 24 Feb 2023 22:10:11 GMT, Roger Riggs wrote: >> Makes sense, will look at both Locale and LocaleServiceProviderPool and >> update the methods that are applicable for {@return ..}. Thanks Lance > > That's getting a bit far afield of the original issue; a separate issue might > be a bette

Re: RFR: 8282319: java.util.Locale method to stream available Locales [v4]

2023-02-27 Thread Justin Lu
> This PR adds a new method to java.util.Locale which returns Stream > > The contents of the Stream are composed of the same underlying elements as > Locale.getAvailableLocales(). > > This method allows streaming of the Locale array without creating a defensive > copy. Justin Lu has updated th