[Bug 3637] jar-cache doesn't work with jdk9+

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Nov 26 09:59:11 UTC 2018


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3637

--- Comment #6 from Lars Herschke <lhersch at dssgmbh.de> ---
(In reply to JiriVanek from comment #4)
> Is it possible that there will be *only* #runtime for ever? I was debugging
> JDK, but not found where it come frome... Or maybe tryboth? like:
> 
> 
> +        if (localUrl == null) {
> +            if (url.getRef() != null) {
> +                url = new URL(url.toString().substring(0,
> url.toString().lastIndexOf(url.getRef()) - 1));
> +                localUrl = mapping.get(url);
> +            }
> +        }
> 
> 
> 
> WDYT?

In my opinion, it is ever #runtime. I suspect, this is somehow for
multi-release jar-files. Your patch is safer than my. I was not aware, that
anchors are use to differ resources respectively files. I only know that as
goto mark in html views.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20181126/90188c93/attachment.html>


More information about the distro-pkg-dev mailing list