Skip to content


8260221: java.util.Formatter throws wrong exception for mismatched fl…
Browse files Browse the repository at this point in the history
…ags in %% conversion

Reviewed-by: smarks
  • Loading branch information
Ian Graves authored and Stuart Marks committed Feb 12, 2021
1 parent 6475d47 commit 350303d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/util/
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@
* <p> The {@code '-'} flag defined for <a href="#dFlags">General
* conversions</a> applies. If any other flags are provided, then a
* {@link FormatFlagsConversionMismatchException} will be thrown.
* {@link IllegalFormatFlagsException } will be thrown.
* <p> The precision is not applicable. If the precision is specified an
* {@link IllegalFormatPrecisionException} will be thrown.
Expand Down

1 comment on commit 350303d

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.