ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant git commit: bz-62952 Make AntClassLoader multi-release jar aware when it deals with java.util.jar.JarFile
Date Sun, 09 Dec 2018 09:48:02 GMT
On 2018-12-05, <jaikiran@apache.org> wrote:

> Repository: ant
> Updated Branches:
>   refs/heads/master ac46ff190 -> 593aff2d2


> bz-62952 Make AntClassLoader multi-release jar aware when it deals with java.util.jar.JarFile

An alternative approach to using reflection when creating the JarFile
instance would be to create different AntClassLoader instances. We did
so for Java 2.x and Java 5.x respectively when the baselines were 1.1 or
anything lower than 1.5.

https://github.com/apache/ant/commit/17527b6490851a728623c1dcbf5078cc63a982dd
is the commit where I reverted the logic for the Java5 specific
classloader after Java5 became the baseline.

I'm not sure it makes any difference right now but can imagine the
classloader will have to learn some additional tricks for module support
in the future.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message