ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48853] AntClassloader#getCertificates is inefficient
Date Thu, 04 Mar 2010 13:56:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48853

Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.8.1

--- Comment #1 from Stefan Bodewig <bodewig@apache.org> 2010-03-04 13:56:17 UTC ---
svn revision 918989 uses buffering as a simple measure and immediately performs
a lot better.  The new AntClassLoaderPerformance test of svn revision 918979
still takes about 50% longer than using Ant 1.7.1, though (but it now takes
less than a fifth of the time Ant 1.8.0 needs).

Implementing getCertifactes on top of ZipFile is non-trivial and would force us
to do signature verification ourselves.

It may be better to use java.util.JarFile instead of Ant's ZipFile directly for
signed jars and return a null certificate array for unsigned jars directly.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message