RFR: 8153666: Optimize Formatter.formatMessage
Roger Riggs
Roger.Riggs at Oracle.com
Wed Jun 8 15:51:18 UTC 2016
Looks good,
Thanks, Roger
On 6/8/2016 11:47 AM, Daniel Fuchs wrote:
> Thanks Roger.
>
> Here is an updated webrev:
>
> http://cr.openjdk.java.net/~dfuchs/webrev_8153666/webrev.01
>
> best regards,
>
> -- daniel
>
>
>
> On 08/06/16 15:56, Roger Riggs wrote:
>> +1
>>
>> On 6/8/2016 10:37 AM, Daniel Fuchs wrote:
>>> On 08/06/16 15:35, Roger Riggs wrote:
>>>> Yes, I would update the spec to the new behavior.
>>>
>>> What about:
>>>
>>> * <li>Otherwise, if the string contains {@code "{<digit>"}
>>> * where {@code <digit>} is in {@code [0-9]}
>>> * then java.text.MessageFormat is used to format the string.
>> (The current phrasing does not use 'then').
>>
>
More information about the core-libs-dev
mailing list