<i18n dev> Integrated: 8354344: Test behavior after cut-over for future ISO 4217 currency
Justin Lu
jlu at openjdk.org
Mon Apr 21 20:26:54 UTC 2025
On Wed, 16 Apr 2025 23:06:19 GMT, Justin Lu <jlu at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 1526dd81
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1526dd81d9b5bf4abaac1546c370cf7a056d01dc
Stats: 133 lines in 2 files changed: 128 ins; 1 del; 4 mod
8354344: Test behavior after cut-over for future ISO 4217 currency
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/24701
More information about the i18n-dev
mailing list