On Wed, Mar 26, 2025 at 11:13 AM Eirik Bjørsnøs <eir...@gmail.com> wrote:
> In JarFileFactory::urlFor however, the logic is slightly different in that > the comparison with ~ (tilde) is missing: > > String host = url.getHost(); > if (host != null && !host.isEmpty() && > !host.equalsIgnoreCase("localhost")) { > > Some context: This comparison in JarFileFactory::urlFor is only performed on Windows, which could indicate Windows wants special treatment for "~". However, the Windows version of Handler::openConnection does indeed consider "~". So at the very least the current situation is inconsistent. Eirik,