Skip to content

Commit

Permalink
ICU-22919 Enable CI with JDK 21 and fix the json parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mihnita committed Sep 25, 2024
1 parent 3606d75 commit 5d3cbb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/icu4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ jobs:
run: |
cd icu4j;
mvn ${SHARED_MVN_ARGS} dependency:go-offline -P '!old_jdk_taglet'
# ICU4J build and unit test using Maven
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
icu4j-mvn-build-and-test:
needs: icu4j-mvn-init-cache
strategy:
fail-fast: false
matrix:
java-version: [ '8', '11', '17' ]
java-version: [ '8', '11', '17', '21' ]
runs-on: ubuntu-latest
steps:
- name: Checkout and setup
Expand Down
15 changes: 3 additions & 12 deletions testdata/message2/more-functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,10 @@
},
{
"src": "Default int64: {$val}!",
"exp": "Default int64: 1.234.567.890.123.456.800!",
"exp": "Default int64: 1.234.567.890.123.456.789!",
"locale": "ro",
"params": [{ "name": "val", "value": 1234567890123456789 }],
"comment": "Rounded due to JSON not supporting full 64-bit ints",
"ignoreJava": "See https://unicode-org.atlassian.net/browse/ICU-22754?focusedCommentId=175932"
},
{
"src": "Default int64: {$val}!",
"exp": "Default int64: 1.234.567.890.123.456.770!",
"locale": "ro",
"params": [{ "name": "val", "value": 1234567890123456789 }],
"comment": "Rounded due to JSON not supporting full 64-bit ints",
"ignoreCpp": "See https://unicode-org.atlassian.net/browse/ICU-22754?focusedCommentId=175932"
"params": [{ "name": "val", "value": {"decimal": "1234567890123456789"} }],
"comment": "Rounded due to JSON not supporting full 64-bit ints"
},
{
"src": "Default number: {$val}!",
Expand Down

0 comments on commit 5d3cbb7

Please sign in to comment.