On Thu, 14 Apr 2022 08:47:12 GMT, Daniel Fuchs <[email protected]> wrote:
> It is not a valid escape sequence according to the spec.
I see. JavaAPI document says that Escaped octets, that is, triplets consisting
the percent character ('%') followed by two hexadecimal digits. Also, RFC 2396
says that '%' must be escaped as "%25" in order to be used as data within a
URI.
The exception thrown by URI.create() may be appropriate. I consider whether to
fix the exception thrown by URL.openConnection().
-------------
PR: https://git.openjdk.java.net/jdk/pull/8155