RFR: 8347009: Speed ​​up parseInt and parseLong [v9]

Raffaello Giulietti rgiulietti at openjdk.org
Tue Feb 4 10:38:13 UTC 2025


On Mon, 27 Jan 2025 20:07:29 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> This line on a test is now failing because it's expecting a specific `NumberFormatException` message.
> 
> https://github.com/openjdk/jdk/blob/21feef32803b2593b097fb225c7a4c7cd46525da/test/jdk/com/sun/jdi/JdbExprTest.java#L114
> 
> I don't have much time to have a look during this week, though.

I think it is better to just change the expected message on https://github.com/openjdk/jdk/blob/21feef32803b2593b097fb225c7a4c7cd46525da/test/jdk/com/sun/jdi/JdbExprTest.java#L115 rather to introduce the hack in `NumberFormatException.forCharSequence`.

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

PR Comment: https://git.openjdk.org/jdk/pull/22919#issuecomment-2633500053


More information about the core-libs-dev mailing list