mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8260221: java.util.Formatter throws wrong exception for mismatched flags in %% conversion
Reviewed-by: smarks
This commit is contained in:
parent
6475d4774f
commit
350303d4f0
1 changed files with 1 additions and 1 deletions
|
@ -1832,7 +1832,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
|
|||
*
|
||||
* <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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue