Withdrawn: 8258246: sun.net.www.ParseUtil.decode throws java.lang.IllegalArgumentException: Error decoding percent encoded characters

duke duke at openjdk.org
Sun Mar 30 16:42:44 UTC 2025


On Fri, 31 Jan 2025 09:47:35 GMT, Fabian Meumertzheim <fmeum at openjdk.org> wrote:

> `URLClassPath` called into `ParseUtil.fileToEncodedURL`, which misencoded characters with a four byte UTF-8 representation. Replacing that function with `toPath().toUri().toURL()` (and removing it, since its only used once) results in correct encoding for all Unicode characters.

This pull request has been closed without being integrated.

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

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


More information about the net-dev mailing list