[jdk8u-dev] RFR: 8299677: Formatter.format might take a long time to format an integer or floating-point [v3]

Chad Rakoczy duke at openjdk.org
Tue Feb 27 19:59:21 UTC 2024


> Backport of [JDK-8299677](https://bugs.openjdk.org/browse/JDK-8299677)
> 
> Backport was not clean. Rewrote test to not include junit `ParameterizedTest`. Rewrote fix since `String.repeat` is not in JDK8

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

  Remove String creation in Formatter

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/459/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/459/files/8b1b6c5d..d41d122c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=459&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=459&range=01-02

  Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/459.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/459/head:pull/459

PR: https://git.openjdk.org/jdk8u-dev/pull/459


More information about the jdk8u-dev mailing list