On Mon, 5 Dec 2022 19:10:36 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

> In some circumstance, when using a constructor that expects a hostname and 
> the hostname contains an illegal character, the URISyntaxException which is 
> thrown might contain a misleading index pointing at the start of the 
> authority component, instead of pointing at the illegal character that was 
> found.
> 
> This change fixes the misreported index, and adds corresponding tests to the 
> URI/Test.java infrastructure.

Marked as reviewed by jpai (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/11518

Reply via email to