RFR: 8357681: Fixed the DigitList::toString method causing incorrect results during debugging
Chen Liang
liach at openjdk.org
Sat May 24 03:02:53 UTC 2025
On Sun, 18 May 2025 11:11:32 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> When debugging getLong/getDouble/getDecimal of DigitList, the debugger will call the DigitList::toString method. At this time, DigitList::toString will modify tempBuilder, which will cause incorrect results.
This change looks reasonable to me. I couldn't find any direct usage of DigitList::toString.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25288#issuecomment-2906330880
More information about the core-libs-dev
mailing list