git: openjdk/jdk21u-dev: master: 8353013: java.net.URI.create(String) may have low performance to scan the host/domain name from URI string when the hostname starts with number

Paul Hohensee phh at openjdk.org
Fri Sep 5 15:38:17 UTC 2025


Changeset: 8169077f
Branch: master
Author:    Rui Li <ruiamzn at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
Date:      2025-09-05 15:35:04 +0000
URL:       https://git.openjdk.org/jdk21u-dev/commit/8169077ff46e6ef2d404efbb1c3d36c76d57058a

8353013: java.net.URI.create(String) may have low performance to scan the host/domain name from URI string when the hostname starts with number

Backport-of: 84458ec18ce33295636f7b26b8e3ff25ecb349f2

! src/java.base/share/classes/java/net/URI.java
! test/jdk/java/net/URI/Test.java
+ test/micro/org/openjdk/bench/java/net/URIAuthorityParsingBenchmark.java



More information about the jdk-updates-changes mailing list