Reduce allocation in sun.net.www.protocol.jar.Handler.parseURL

Eirik Bjørsnøs eirbjo at gmail.com
Wed Jan 20 15:30:20 UTC 2021


>
> I suspect some refactoring is needed as some of this code in ParseUtil
> is not general purpose and should probably move to the jar URL handler.
> A discussion for net-dev when there is a patch to discuss.
>

https://github.com/openjdk/jdk/pull/2167

This moves the utility methods into Handler (does that cover "some
refactoring is needed", Alan?) and also includes cleanups suggested by
Claes.

Eirik.


More information about the core-libs-dev mailing list