On Mon, 10 Feb 2025 11:47:25 GMT, Xiaolong Peng <xp...@openjdk.org> wrote:

>> java.net.URI.scanIPv4Address is a private method, it is only called by 
>> java.net.URI.takeIPv4Address and java.net.URI.parseIPv4Address, the 
>> URISyntaxException("Malformed IPv4 address") is not necessary, returning -1 
>> should be good. In one of our systems, we noticed the exception consumes 
>> ~0.3% CPU.
>> 
>> Additional test:
>> - [x] make test TEST=jdk/java/net
>> - [x] all tier2 tests(except DirectIOTest.java which is a [known 
>> issue](https://bugs.openjdk.org/browse/JDK-8333783))
>
> Xiaolong Peng has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Address PR comments

Hi, sorry for the late reply. I have imported your PR branch on my local repo 
and am testing it in our CI. I will approve if my tests come back green.

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

PR Comment: https://git.openjdk.org/jdk/pull/23538#issuecomment-2701211134

Reply via email to