<i18n dev> RFR: 8253459: Formatter treats index, width and precision > Integer.MAX_VALUE incorrectly [v12]

Ian Graves igraves at openjdk.java.net
Thu Nov 19 00:58:22 UTC 2020


On Thu, 19 Nov 2020 00:38:49 GMT, Stuart Marks <smarks at openjdk.org> wrote:

>> Ian Graves has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   'unrepresentable' to 'not representable'
>
> test/jdk/java/util/IllegalFormatException/TestFormatSpecifierBounds.java line 48:
> 
>> 46:             String r = String.format("%2147483648$s", "A", "B");
>> 47:         });
>> 48:         //assertEquals(e.getMessage(), "Illegal format argument index = " + Integer.MIN_VALUE);
> 
> Extraneous comment?

So it would seem!

-------------

PR: https://git.openjdk.java.net/jdk/pull/516


More information about the i18n-dev mailing list