<i18n dev> RFR: 8354344: Test behavior after cut-over for future ISO 4217 currency [v2]
Justin Lu
jlu at openjdk.org
Thu Apr 17 20:45:31 UTC 2025
> Please review this PR which improves the _ValidateISO4217_ Currency test by adding testing of future currencies after the transition date.
>
> This is done by creating a patched version of Currency that replaces `System.currentTimeMillis()` calls with a mocked value equivalent to `Long.MAX_VALUE`. A module patch is then applied to supply the new Currency class files.
>
> The mocked time behavior is tested by using the `currency.properties` override in a separate invocation.
Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
Naoto's feedback - check patch/mocking is working via currency.properties override
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24701/files
- new: https://git.openjdk.org/jdk/pull/24701/files/1565a986..8ab78973
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24701&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24701&range=00-01
Stats: 34 lines in 2 files changed: 23 ins; 1 del; 10 mod
Patch: https://git.openjdk.org/jdk/pull/24701.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24701/head:pull/24701
PR: https://git.openjdk.org/jdk/pull/24701
More information about the i18n-dev
mailing list