On Sat, 10 Jun 2023 13:40:30 GMT, Jaikiran Pai <j...@openjdk.org> wrote:
> When I started looking into this issue, I was curious why this wasn't > reported in Java 8 since the reporter was merely switching Java version from > 8 to a newer version. When I look into Java 8 code, I see that the > `sun.misc.Launcher` in Java 8 specifically deals with this case by using the > built-in protocol handler Thanks for the digging into that, I was curious why this hasn't come up before now. I suppose part of it is that it's rare to run with this system property to override or add URL protocol handlers. There are a number of JDK 1.0/1.1 era APIs that used this approach for pluggability. In time it may be possible to deprecate this mechanism, newer code use services and URLStreamHandlerProvider. Anyway, it's good that you've tracked this down, thanks for spending time on it. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14395#issuecomment-1585771873