<i18n dev> RFR: 8326718: Test java/util/Formatter/Padding.java does not timeout on large inputs before JDK-8299677 [v2]

Chad Rakoczy duke at openjdk.org
Wed Feb 28 00:00:01 UTC 2024


> [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677) fixes a bug with Formatter.format taking a long time when there is a lot of padding. This test runs Formatter.format with very large padding. Test fails before [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677) and passes after.
> 
> Timeout for the test was set to 10 seconds. Test passes locally with as low as 1 (after [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677)) and fails as high as 120 (before [JDK-8299677](https://bugs.openjdk.java.net/browse/JDK-8299677)) so it should be consistent.

Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:

  Test updates

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18033/files
  - new: https://git.openjdk.org/jdk/pull/18033/files/b3050e16..45d0acdd

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

  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/18033.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18033/head:pull/18033

PR: https://git.openjdk.org/jdk/pull/18033


More information about the i18n-dev mailing list