RFR: 8151542: URL resources for multi-release jar files have a #runtime fragment appended to them
Xueming Shen
xueming.shen at oracle.com
Fri Apr 29 20:37:58 UTC 2016
JarFile.getRealName() invokes e.realEntry().getName() to get the "realname", which
may create a new JarFileEntry() if the names are different. Shouldn't the realname
just be the "super.getName()" ?
sherman
On 04/29/2016 11:36 AM, Steve Drach wrote:
> I put a new webrev out with the change suggested by Paul, using file.indexOf(“!/“) instead of file.endsWith(“!/“).
>
> http://cr.openjdk.java.net/~sdrach/8151542/webrev.02/index.html<http://cr.openjdk.java.net/~sdrach/8151542/webrev.02/index.html>
>
>> So you are planning to eventually change the URLClassLoader spec to allow this or not?
> I think we should push this changeset since URLClassLoader has always accepted the jar:…!/ URL and all this changeset does is enable it to support multi-release jars. And create an issue to track the change to the URLClassLoader api.
>
More information about the core-libs-dev
mailing list