In fact there are 2 kind of API for Jar/Zip: the ZipFile and the ZipInputStream (same for jars). If you use the inpout stream one ... you use an input stream so you read everything. If you use the file one you directly call native methods so under linux in particular it works better (i didn't test under windows but i hope it is the same).
David said me we are using JarArchive: https://issues.apache.org/jira/browse/XBEAN-176 - Romain 2011/6/8 David Blevins <[email protected]> > FYI, to Romain, regarding http://www.friendpaste.com/JU7WuKslKle9UaAL3r21M > > There might be caching going on in the first call that makes the second > call go faster. We should check that angle. Maybe switch the order or loop > the main code a couple times. > > -David > > >
