ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r796702 - in /ant/core/trunk: WHATSNEW src/etc/testcases/core/antclassloader.xml src/main/org/apache/tools/ant/AntClassLoader.java src/tests/junit/org/apache/tools/ant/AntClassLoaderTest.java
Date Wed, 22 Jul 2009 13:42:33 GMT
On 2009-07-22, <bodewig@apache.org> wrote:

>>    private Certificate[] getCertificates(File container, String entry)

...

>>            if (ent != null) {
>>                // must read the input in order to obtain certificates
>>                is = jarFile.getInputStream(ent);
>>                while (is.read() >= 0);
>>            }

This means Ant will now read all class files loaded from jars twice,
which is unfortunate but would require some bigger refactoring of
AntClassLoader to avoid ...

So far I haven't seen any measurable impact on Ant performance,
though.

Stefan

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


Mime
View raw message