Observations: URLClassPath and HTTP request
Alan Bateman
alan.bateman at oracle.com
Tue Feb 24 14:56:19 UTC 2026
On 24/02/2026 14:51, Eirik Bjørsnøs wrote:
> On Sun, Feb 22, 2026 at 4:17 PM Eirik Bjørsnøs <eirbjo at gmail.com> wrote:
>
> 0: Do nothing, HTTP URLs is not used much in URLClassPath
>
>
> Okay, given that HTTP redirects seem like a corner-case of a
> corner-case in URLClassLoader, it seems the obvious choice is do not
> do any changes to long-standing behavior here.
>
I agree. Remote class loading was very interesting in a world of
distributed objects, security managers and sandboxing. I don't think we
have data to know how widely used URLClassLoader is with http/https in
modern applications and deployments. If something compelling comes up
that has performance issues then they could be looked at then.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/net-dev/attachments/20260224/2e16b931/attachment.htm>
More information about the net-dev
mailing list