On Fri, 31 Jan 2025 09:47:35 GMT, Fabian Meumertzheim <fm...@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. @jaikiran This is my attempt at making progress on https://mail.openjdk.org/pipermail/core-libs-dev/2024-November/135869.html without touching general URL/URI encoding code. I hope that this can fix the issue while avoiding backwards compatibility concerns. ------------- PR Comment: https://git.openjdk.org/jdk/pull/23383#issuecomment-2627066685