RFR: 8170389: java.text.DigitList.getDouble() : Controversy between javadoc and code [v2]
Justin Lu
duke at openjdk.org
Wed Oct 5 21:21:55 UTC 2022
On Wed, 5 Oct 2022 20:57:12 GMT, Lance Andersen <lancea at openjdk.org> wrote:
>> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update doc code
>
> src/java.base/share/classes/java/text/DigitList.java line 198:
>
>> 196:
>> 197: /**
>> 198: * Utility routine to get the value of the digit list.
>
> new BigDecimal("") will also throw a NumberFormatException so I would add a similar comment for count as done above for getLong/Double()
Thanks Lance, will make that change
-------------
PR: https://git.openjdk.org/jdk/pull/10567
More information about the core-libs-dev
mailing list