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

Justin Lu jlu at openjdk.org
Thu Apr 17 23:06:04 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 review - check instruction owner. check module patch files exist

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

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

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

  Stats: 22 lines in 1 file changed: 18 ins; 2 del; 2 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