On Thu, 30 Jul 2026 06:20:27 GMT, Joe Wang <[email protected]> wrote:

> Refer to the CSR, this is the implementation for the Resource.Access property.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/java.xml/share/classes/jdk/xml/internal/AccessRule.java line 246:

> 244:                 // Port
> 245:                 int portSep = hostPart.lastIndexOf(':');
> 246:                 if (portSep > 0 && portSep < hostPart.length() - 1

Can you check this for the case that the hostname is followed by ":" without a 
port?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32098#discussion_r3683203847

Reply via email to