Skip to content

Commit 4f4c263

Browse files
committed
[GR-72622] Prepare for ICU4J 78.2 update.
PullRequest: js/3666
2 parents 970637c + b0e9aea commit 4f4c263

File tree

4 files changed

+88
-2
lines changed

4 files changed

+88
-2
lines changed

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/builtins/intl/JSDateTimeFormat.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -1085,6 +1085,7 @@ public static JSDynamicObject formatToParts(JSContext context, JSRealm realm, JS
10851085
return JSArray.createConstant(context, realm, resultParts.toArray());
10861086
}
10871087

1088+
@SuppressWarnings("cast")
10881089
private static DateIntervalFormat.FormattedDateInterval formatRangeImpl(JSDateTimeFormatObject dateTimeFormat, Object x, Object y) {
10891090
InternalState state = dateTimeFormat.getInternalState();
10901091
double startDate;

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/util/TemporalUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -1443,6 +1443,7 @@ public static JSTemporalDurationObject calendarDateUntil(JSContext context, JSRe
14431443
return JSTemporalDuration.createTemporalDuration(context, realm, years, months, weeks, days, 0, 0, 0, 0, 0, 0, node, errorBranch);
14441444
}
14451445

1446+
@SuppressWarnings("cast")
14461447
@TruffleBoundary
14471448
public static JSTemporalDurationObject nonISODateUntil(JSContext context, JSRealm realm, TruffleString calendar, JSTemporalPlainDateObject oneDate,
14481449
JSTemporalPlainDateObject twoDate, Unit largestUnit, int sign, Node node, InlinedBranchProfile errorBranch) {

graal-js/test/test262.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2201,6 +2201,10 @@
22012201
"COMPILE_IMMEDIATELY" : "SKIP"
22022202
},
22032203
"comment" : "Long-running in compile mode"
2204+
}, {
2205+
"filePath" : "intl402/Intl/supportedValuesOf/currencies-accepted-by-DisplayNames.js",
2206+
"status" : "FAIL",
2207+
"comment" : "ICU4J 78.2 update"
22042208
}, {
22052209
"filePath" : "intl402/Intl/supportedValuesOf/timeZones-include-non-continental.js",
22062210
"status" : "FAIL",
@@ -2231,6 +2235,10 @@
22312235
"filePath" : "intl402/Temporal/PlainDate/from/calendar-invalid-era.js",
22322236
"status" : "FAIL",
22332237
"comment" : "new failures 2026-01-09"
2238+
}, {
2239+
"filePath" : "intl402/Temporal/PlainDate/prototype/inLeapYear/chinese-calendar-dates.js",
2240+
"status" : "FAIL",
2241+
"comment" : "ICU4J 78.2 update"
22342242
}, {
22352243
"filePath" : "intl402/Temporal/PlainDate/prototype/inLeapYear/dangi-calendar-dates.js",
22362244
"status" : "FAIL",
@@ -2243,6 +2251,10 @@
22432251
"filePath" : "intl402/Temporal/PlainDate/prototype/monthCode/dangi-calendar-dates.js",
22442252
"status" : "FAIL",
22452253
"comment" : "new failures 2026-01-09"
2254+
}, {
2255+
"filePath" : "intl402/Temporal/PlainDate/prototype/monthsInYear/chinese-calendar-leap-days.js",
2256+
"status" : "FAIL",
2257+
"comment" : "ICU4J 78.2 update"
22462258
}, {
22472259
"filePath" : "intl402/Temporal/PlainDate/prototype/monthsInYear/dangi-calendar-leap-days.js",
22482260
"status" : "FAIL",
@@ -2251,6 +2263,18 @@
22512263
"filePath" : "intl402/Temporal/PlainDate/prototype/since/leap-year-since.js",
22522264
"status" : "FAIL",
22532265
"comment" : "new failures 2026-01-09"
2266+
}, {
2267+
"filePath" : "intl402/Temporal/PlainDate/prototype/subtract/chinese-calendar-dates.js",
2268+
"status" : "FAIL",
2269+
"comment" : "ICU4J 78.2 update"
2270+
}, {
2271+
"filePath" : "intl402/Temporal/PlainDate/prototype/subtract/dangi-calendar-dates.js",
2272+
"status" : "FAIL",
2273+
"comment" : "ICU4J 78.2 update"
2274+
}, {
2275+
"filePath" : "intl402/Temporal/PlainDate/prototype/with/chinese-calendar-leap-dates.js",
2276+
"status" : "FAIL",
2277+
"comment" : "ICU4J 78.2 update"
22542278
}, {
22552279
"filePath" : "intl402/Temporal/PlainDate/prototype/with/dangi-calendar-leap-dates.js",
22562280
"status" : "FAIL",
@@ -2263,6 +2287,10 @@
22632287
"filePath" : "intl402/Temporal/PlainDateTime/from/calendar-invalid-era.js",
22642288
"status" : "FAIL",
22652289
"comment" : "new failures 2026-01-09"
2290+
}, {
2291+
"filePath" : "intl402/Temporal/PlainDateTime/prototype/inLeapYear/chinese-calendar-dates.js",
2292+
"status" : "FAIL",
2293+
"comment" : "ICU4J 78.2 update"
22662294
}, {
22672295
"filePath" : "intl402/Temporal/PlainDateTime/prototype/inLeapYear/dangi-calendar-dates.js",
22682296
"status" : "FAIL",
@@ -2275,6 +2303,10 @@
22752303
"filePath" : "intl402/Temporal/PlainDateTime/prototype/monthCode/dangi-calendar-dates.js",
22762304
"status" : "FAIL",
22772305
"comment" : "new failures 2026-01-09"
2306+
}, {
2307+
"filePath" : "intl402/Temporal/PlainDateTime/prototype/monthsInYear/chinese-calendar-leap-days.js",
2308+
"status" : "FAIL",
2309+
"comment" : "ICU4J 78.2 update"
22782310
}, {
22792311
"filePath" : "intl402/Temporal/PlainDateTime/prototype/monthsInYear/dangi-calendar-leap-days.js",
22802312
"status" : "FAIL",
@@ -2287,10 +2319,18 @@
22872319
"filePath" : "intl402/Temporal/PlainDateTime/prototype/toLocaleString/hourcycle.js",
22882320
"status" : "FAIL",
22892321
"comment" : "new failures 2026-01-09"
2322+
}, {
2323+
"filePath" : "intl402/Temporal/PlainDateTime/prototype/with/chinese-calendar-leap-dates.js",
2324+
"status" : "FAIL",
2325+
"comment" : "ICU4J 78.2 update"
22902326
}, {
22912327
"filePath" : "intl402/Temporal/PlainDateTime/prototype/with/dangi-calendar-leap-dates.js",
22922328
"status" : "FAIL",
22932329
"comment" : "new failures 2026-01-09"
2330+
}, {
2331+
"filePath" : "intl402/Temporal/PlainMonthDay/from/chinese-calendar-dates.js",
2332+
"status" : "FAIL",
2333+
"comment" : "ICU4J 78.2 update"
22942334
}, {
22952335
"filePath" : "intl402/Temporal/PlainMonthDay/from/dangi-calendar-dates.js",
22962336
"status" : "FAIL",
@@ -2311,6 +2351,18 @@
23112351
"filePath" : "intl402/Temporal/PlainTime/prototype/toLocaleString/hourcycle.js",
23122352
"status" : "FAIL",
23132353
"comment" : "new failures 2026-01-09"
2354+
}, {
2355+
"filePath" : "intl402/Temporal/PlainYearMonth/from/calendar-not-supporting-eras.js",
2356+
"status" : "FAIL",
2357+
"comment" : "ICU4J 78.2 update"
2358+
}, {
2359+
"filePath" : "intl402/Temporal/PlainYearMonth/from/reference-day-chinese.js",
2360+
"status" : "FAIL",
2361+
"comment" : "ICU4J 78.2 update"
2362+
}, {
2363+
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/inLeapYear/chinese-calendar-dates.js",
2364+
"status" : "FAIL",
2365+
"comment" : "ICU4J 78.2 update"
23142366
}, {
23152367
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/inLeapYear/dangi-calendar-dates.js",
23162368
"status" : "FAIL",
@@ -2323,10 +2375,18 @@
23232375
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/monthCode/dangi-calendar-dates.js",
23242376
"status" : "FAIL",
23252377
"comment" : "new failures 2026-01-09"
2378+
}, {
2379+
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/monthsInYear/chinese-calendar-leap-days.js",
2380+
"status" : "FAIL",
2381+
"comment" : "ICU4J 78.2 update"
23262382
}, {
23272383
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/monthsInYear/dangi-calendar-leap-days.js",
23282384
"status" : "FAIL",
23292385
"comment" : "new failures 2026-01-09"
2386+
}, {
2387+
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/with/chinese-calendar-leap-dates.js",
2388+
"status" : "FAIL",
2389+
"comment" : "ICU4J 78.2 update"
23302390
}, {
23312391
"filePath" : "intl402/Temporal/PlainYearMonth/prototype/with/dangi-calendar-leap-dates.js",
23322392
"status" : "FAIL",
@@ -2339,6 +2399,18 @@
23392399
"filePath" : "intl402/Temporal/ZonedDateTime/from/calendar-invalid-era.js",
23402400
"status" : "FAIL",
23412401
"comment" : "new failures 2026-01-09"
2402+
}, {
2403+
"filePath" : "intl402/Temporal/ZonedDateTime/from/calendar-not-supporting-eras.js",
2404+
"status" : "FAIL",
2405+
"comment" : "ICU4J 78.2 update"
2406+
}, {
2407+
"filePath" : "intl402/Temporal/ZonedDateTime/links.js",
2408+
"status" : "FAIL",
2409+
"comment" : "ICU4J 78.2 update"
2410+
}, {
2411+
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/inLeapYear/chinese-calendar-dates.js",
2412+
"status" : "FAIL",
2413+
"comment" : "ICU4J 78.2 update"
23422414
}, {
23432415
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/inLeapYear/dangi-calendar-dates.js",
23442416
"status" : "FAIL",
@@ -2351,6 +2423,10 @@
23512423
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/monthCode/dangi-calendar-dates.js",
23522424
"status" : "FAIL",
23532425
"comment" : "new failures 2026-01-09"
2426+
}, {
2427+
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/monthsInYear/chinese-calendar-leap-days.js",
2428+
"status" : "FAIL",
2429+
"comment" : "ICU4J 78.2 update"
23542430
}, {
23552431
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/monthsInYear/dangi-calendar-leap-days.js",
23562432
"status" : "FAIL",
@@ -2363,6 +2439,10 @@
23632439
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/toLocaleString/hourcycle.js",
23642440
"status" : "FAIL",
23652441
"comment" : "new failures 2026-01-09"
2442+
}, {
2443+
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/with/chinese-calendar-leap-dates.js",
2444+
"status" : "FAIL",
2445+
"comment" : "ICU4J 78.2 update"
23662446
}, {
23672447
"filePath" : "intl402/Temporal/ZonedDateTime/prototype/with/dangi-calendar-leap-dates.js",
23682448
"status" : "FAIL",

graal-js/test/testV8.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@
112112
"filePath" : "intl/regress-7770.js",
113113
"status" : "FAIL",
114114
"comment" : "TODO: evaluate (V8 tests update 2019-05-21)"
115+
}, {
116+
"filePath" : "intl/regress-992694.js",
117+
"status" : "FAIL",
118+
"comment" : "ICU4J 78.2 update"
115119
}, {
116120
"filePath" : "intl/relative-time-format/default-locale-fr-CA.js",
117121
"status" : "FAIL",

0 commit comments

Comments
 (0)