RFR: 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError [v3]

Jaikiran Pai jpai at openjdk.org
Sat Jun 10 01:21:42 UTC 2023


On Fri, 9 Jun 2023 16:42:21 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I wouldn't normally suggest dropping an import and using a qualified class name but "Handler" is a very generic class name, replacing it with "new sun.net.www.protocol.jar.Handler()" might be clearer.

I agree. I have now updated the PR to use the fully qualified name at the call site and also adjusted the code comment as recommended.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14395#discussion_r1224950954


More information about the core-libs-dev mailing list