On Wed, 11 Jan 2023 19:34:39 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
>> This change transforms a O(n^2) path to O(n) when prepending zero padding to >> decimal outputs, where n is the length of the padding. > > Raffaello Giulietti has updated the pull request incrementally with one > additional commit since the last revision: > > 8299677: Formatter.format might take a long time to format an integer or > floating-point Thanks for expanding the tests for this. test/jdk/java/util/Formatter/Padding.java line 26: > 24: /* > 25: * @test > 26: * @run junit Padding Probably should add a @summary tag to this, maybe a @bug too (I think JDK-4906370 added Formatter in Java 5). ------------- Marked as reviewed by alanb (Reviewer). PR: https://git.openjdk.org/jdk/pull/11939