Skip to content

Commit

Permalink
8332424: Update IANA Language Subtag Registry to Version 2024-05-16
Browse files Browse the repository at this point in the history
Reviewed-by: mdoerr, lucy
Backport-of: 6dac8d64527b4e9ade783b99f82fbecd81c426a6
  • Loading branch information
MBaesken committed Jul 19, 2024
1 parent 97be07a commit 9e14667
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion make/data/lsrdata/language-subtag-registry.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
File-Date: 2024-03-07
File-Date: 2024-05-16
%%
Type: language
Subtag: aa
Expand Down Expand Up @@ -9402,6 +9402,7 @@ Macrolanguage: doi
%%
Type: language
Subtag: dgr
Description: Tlicho
Description: Dogrib
Description: Tłı̨chǫ
Added: 2005-10-16
Expand Down Expand Up @@ -15255,6 +15256,11 @@ Description: Isu (Menchum Division)
Added: 2009-07-29
%%
Type: language
Subtag: isv
Description: Interslavic
Added: 2024-05-15
%%
Type: language
Subtag: itb
Description: Binongan Itneg
Added: 2009-07-29
Expand Down
4 changes: 2 additions & 2 deletions test/jdk/java/util/Locale/LanguageSubtagRegistryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
* @test
* @bug 8025703 8040211 8191404 8203872 8222980 8225435 8241082 8242010 8247432
* 8258795 8267038 8287180 8302512 8304761 8306031 8308021 8313702 8318322
* 8327631
* 8327631 8332424
* @summary Checks the IANA language subtag registry data update
* (LSR Revision: 2024-03-07) with Locale and Locale.LanguageRange
* (LSR Revision: 2024-05-16) with Locale and Locale.LanguageRange
* class methods.
* @run main LanguageSubtagRegistryTest
*/
Expand Down

3 comments on commit 9e14667

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MBaesken
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk11u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 9e14667 Jul 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MBaesken Could not automatically backport 9e146670 to openjdk/jdk11u-dev due to conflicts in the following files:

  • make/data/lsrdata/language-subtag-registry.txt
  • test/jdk/java/util/Locale/LanguageSubtagRegistryTest.java

Please fetch the appropriate branch/commit and manually resolve these conflicts by using the following commands in your personal fork of openjdk/jdk11u-dev. Note: these commands are just some suggestions and you can use other equivalent commands you know.

# Fetch the up-to-date version of the target branch
$ git fetch --no-tags https://git.openjdk.org/jdk11u-dev.git master:master

# Check out the target branch and create your own branch to backport
$ git checkout master
$ git checkout -b backport-MBaesken-9e146670-master

# Fetch the commit you want to backport
$ git fetch --no-tags https://git.openjdk.org/jdk17u-dev.git 9e146670199a77680c8465ff2a596777d603b33d

# Backport the commit
$ git cherry-pick --no-commit 9e146670199a77680c8465ff2a596777d603b33d
# Resolve conflicts now

# Commit the files you have modified
$ git add files/with/resolved/conflicts
$ git commit -m 'Backport 9e146670199a77680c8465ff2a596777d603b33d'

Once you have resolved the conflicts as explained above continue with creating a pull request towards the openjdk/jdk11u-dev with the title Backport 9e146670199a77680c8465ff2a596777d603b33d.

Below you can find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 9e146670 from the openjdk/jdk17u-dev repository.

The commit being backported was authored by Matthias Baesken on 19 Jul 2024 and was reviewed by Martin Doerr and Lutz Schmidt.

Thanks!

Please sign in to comment.