On Wed, 24 Sep 2025 14:41:07 GMT, Johannes Graham <d...@openjdk.org> wrote:
>> src/java.base/share/classes/java/text/DigitList.java line 326: >> >>> 324: boolean hasBeenRoundedUp = fdConverter.digitsRoundedUp(); >>> 325: boolean valueExactAsDecimal = fdConverter.decimalDigitsExact(); >>> 326: assert !fdConverter.isExceptional(); >> >> Maybe move this `assert` line at method entry. > > I moved it up as high as it can go. Alternatively, could be replaced with an > assertion against the `source` parameter - `assert Double.isFinite(source)` ? Even better! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27118#discussion_r2376052985