On Wed, 29 Jan 2025 01:55:10 GMT, Johannes Graham <d...@openjdk.org> wrote:

> A nice enhancement would be to allow 
> `String.parseInt(CharSequence,int,int,int)` to also use this code when the 
> CharSequence actually was a String. Could benefit, for example, 
> `java.util.Formatter`

Your suggestion is very good, but I think we can submit another PR after the 
current PR is completed to expand the scenarios supported by this optimization 
and reduce duplicate code.

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

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

Reply via email to