Skip to content
Browse files
8260221: java.util.Formatter throws wrong exception for mismatched fl…
…ags in %% conversion

Reviewed-by: smarks
  • Loading branch information
Ian Graves authored and Stuart Marks committed Feb 12, 2021
1 parent 6475d47 commit 350303d4f0c71f77fa784a92d13522a380e3b2fe
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.

1 comment on commit 350303d

Copy link

@openjdk-notifier openjdk-notifier bot commented on 350303d Feb 12, 2021

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.