On Mon, 22 Jun 2026 19:14:39 GMT, Naoto Sato <[email protected]> wrote:

> Adds a URL link to the “BCP 47” reference in the Locale class description. 
> Also normalizes the existing RFC 4647 and RFC 5646 links to use 
> rfc-editor.org URLs
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/java.base/share/classes/java/util/Locale.java line 86:

> 84:  * <a href="https://www.rfc-editor.org/info/rfc4647";>RFC 4647 "Matching 
> of Language
> 85:  * Tags"</a> and <a href="https://www.rfc-editor.org/info/rfc5646";>RFC 
> 5646 "Tags
> 86:  * for Identifying Languages"</a> with support for the LDML (UTS#35, 
> "Unicode

Add a link for Extension U here while we're at it?

src/java.base/share/classes/java/util/Locale.java line 556:

> 554:  * @spec https://www.rfc-editor.org/info/rfc5646
> 555:  *      RFC 5646: Tags for Identifying Languages
> 556:  * @spec https://www.rfc-editor.org/info/rfc6067

Do we need both the RFC and LDML link for Extension U. If not, worth 
consolidating into the more specific RFC link?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31621#discussion_r3455357890
PR Review Comment: https://git.openjdk.org/jdk/pull/31621#discussion_r3455371170

Reply via email to