0c1869ed7f46baf764f9daf4e64c77cd7fbd3516 |
|
29-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Add a JNI wrapper over libziparchive. All functions delegate directly to the native code. We do not perform any sort of central directory or local file related lookups in the java layer. For each entry, libziparchive gives us an offset to the start of data for the entry and the compressed size. We use a RandomAccessFile to seek to that offset and then construct an InputStream that's bounded between [offset, offset + compressed_size). We reuse existing code (JarVerifier / Manifest) for certificate validation & collection. bug: 10193060 Change-Id: I21eb4e6dc6aa8749e3f63830f9799e1f621d26e6
|
1222b64d823e028efa6f02b08a55d788bfd57b16 |
|
07-Nov-2013 |
Narayan Kamath <narayan@google.com> |
Make some sense of Jar parsing / verification This is the first step towards the end goal of decoupling JarVerifier / Manifest & ManifestReader from the public API classes JarFile & JarInputStream. - This removes some horrible looking hacks My goal is to decouple JarVerifier / Manifest & ManifestReader from JarFile / ZipFile and friends. This also necessiated a pretty big rewrite of JarInputStream and hopefully it reads a lot clearer now. - Fix some weird variable naming & null checks - Remove some horrible message passing code between JarInputStream and ZipInputStream - Also, create a BAOS with the appropriate size, if available. Tested: harmony/archive.tests.java.util.jar.JarInputStreamTest Tested: harmony/archive.tests.java.util.jar.JarFileTest bug: 10193060 Change-Id: I7c39f2cc92a62a2110627ee6473df43d3efb3fe3
|
325ff8c68ed5e530e9e1d487b9e2e6d8f8e2bd37 |
|
25-Jun-2013 |
Elliott Hughes <enh@google.com> |
Clean up the #read javadoc. By being more consistent in parameter naming, we can inherit more javadoc. Also fix a couple of javadoc warnings in KnownFailure and DataInputStream. Change-Id: I778f40469404fb50c51cdb1068970974f923180c
|
a695e8fafadd2591cd148e78f19bc6d7c15121bb |
|
05-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Just use String for upper case/lower case operations. Change-Id: If686975f659412c555684ed0032694e854e3aa8c http://b/2183747
|
7365de1056414750d0a7d1fdd26025fd247f0d04 |
|
12-Aug-2010 |
Jesse Wilson <jessewilson@google.com> |
Sorting imports. Change-Id: I8347bc625480a1c37a1ed9976193ddfedeb00bbc
|
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 |
|
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove all trailing whitespace from the dalvik team-maintained parts of libcore. Gentlemen, you may now set your editors to "strip trailing whitespace"... Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
|
fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726 |
|
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove //$NON-NLS-\d$ cruft. Mostly done by perl(1), with manual cleanup of the few misspelled instances. This makes our trailing whitespace slightly worse, but I'll fix all that with a follow-on change. Change-Id: I0b4ca98819be6f9519c4ba980d759bd1ee1a0303
|
cec4dd4b1d33f78997603d0f89c0d0e56e64dbcd |
|
26-Apr-2010 |
Peter Hallam <peterhal@google.com> |
merge more modules into luni
|