On Tue, 5 Aug 2025 17:39:43 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> src/java.base/share/classes/java/text/CompactNumberFormat.java line 219:
>> 
>>> 217:  * </pre></blockquote>
>>> 218:  *
>>> 219:  * @implNote The implementation follows the LDML specification to 
>>> enable loose
>> 
>> Suggestion:
>> 
>>  * @implNote The JDK Reference Implementation follows the LDML specification 
>> to enable loose
>
> However,  "The JDK Reference Implementation" is a very specific and separate 
> deliverable of the JCP.
> That's why I suggest just stating that lenient is enabled without trying to 
> attach it to an artifact.
> As at line 421.

The way I interpreted this was that Naoto was not trying to imply that the 
default behavior of the class enabled loose matching of lenient minus parsing 
signs. Rather, he was describing that the JDK reference implementation of 
DecimalFormat and CompactNumberFormat support the ability for loose matching of 
minus sign patterns (and other JDKs need not implement this particular LMDL 
behavior).

If I interpreted that wrong and his intentions were the former, then I agree it 
is best to just mention leniency.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26580#discussion_r2255058461

Reply via email to