[External] : Re: Observations: URLClassPath and HTTP request

Eirik Bjørsnøs eirbjo at gmail.com
Tue Feb 24 14:51:54 UTC 2026


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.

However, I added a few redirect-related tests in
https://github.com/openjdk/jdk/pull/29864. These include some comments and
serve to document current behavior and to improve protection against any
future regressions in this legacy code.

Eirik,

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/net-dev/attachments/20260224/60e1b72f/attachment-0001.htm>


More information about the net-dev mailing list