RFR: 8354344: Test behavior after cut-over for future ISO 4217 currency [v3]

Justin Lu jlu at openjdk.org
Thu Apr 17 21:35:08 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:

  simple/special case in check invocation

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/24701/files
  - new: https://git.openjdk.org/jdk/pull/24701/files/8ab78973..60cda372

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24701&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24701&range=01-02

  Stats: 9 lines in 2 files changed: 3 ins; 0 del; 6 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 core-libs-dev mailing list