mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8204229: Formatter and String.format ignore the width with the percent modifier (%5%)
Reviewed-by: jlaskey
This commit is contained in:
parent
acdef788f0
commit
f56c0b79d8
23 changed files with 183 additions and 3 deletions
|
@ -2914,7 +2914,7 @@ public final class Formatter implements Closeable, Flushable {
|
|||
a.append(System.lineSeparator());
|
||||
break;
|
||||
case Conversion.PERCENT_SIGN:
|
||||
a.append('%');
|
||||
print("%", l);
|
||||
break;
|
||||
default:
|
||||
assert false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue