History log of /libcore/luni/src/main/java/java/util/jar/Manifest.java
Revision Date Author Comments
3a99bc391e224b8f1d371955c61dd47642e25b53 06-Aug-2013 Elliott Hughes <enh@google.com> Rename InitManifest to ManifestReader.

Change-Id: I4bb53d7a625324c5b7ca28a3dc0759f2b107825f
59675dbb837c2a92352032e2ef0c8fc3305da9c8 06-Aug-2013 Elliott Hughes <enh@google.com> Cache the few unique Attributes.Name values.

Google+ was seeing ~8k duplicate names. Their real fix is to not
accidentally cause us to parse their jar manifest, but we shouldn't
be unnecessarily wasteful in the common case, should anyone actually
need their jar manifest.

Change-Id: Ia06b0964956332975e5efd079d96aa76ba605f48
2a6f23ff8690ac2f025588a360547ce96cde0943 29-Jun-2013 Elliott Hughes <enh@google.com> Add java.nio.charsets.StandardCharsets.

Bug: 3484927
Change-Id: I5820267491b850b8fcc696fa48962710de123009
3f52fe84a434dace741ba77de7322ca4d1d12fa7 22-Mar-2013 Elliott Hughes <enh@google.com> Revert "Revert "Fix Manifest behavior with Manifest-Version/Signature-Version.""

This reverts commit 713a61f90f3e9c9ac74713784d23da45d205a0f8

Change-Id: Ib021fdf15b646ab60b0170094ebd2057c405167c
713a61f90f3e9c9ac74713784d23da45d205a0f8 22-Mar-2013 Elliott Hughes <enh@google.com> Revert "Fix Manifest behavior with Manifest-Version/Signature-Version."

This reverts commit 32690f22c0bbfa2b72972d45088e6663ce56174f

Change-Id: I381a6cac42363355cf89bb751ca17d34f3ab1238
32690f22c0bbfa2b72972d45088e6663ce56174f 21-Mar-2013 Elliott Hughes <enh@google.com> Fix Manifest behavior with Manifest-Version/Signature-Version.

Bug: 8444077
Change-Id: Ic78afc36f94fccc6a473893b0c218cd07b441dc7
df84cec32f3c1f71ea781e5f851724d84c35e620 18-Aug-2011 Jesse Wilson <jessewilson@google.com> Fix JarInputStream Manifest parsing.

I recently broke JarInputStream by changing Streams.readFully()
to unconditionally close the input stream when it was exhausted.
Although most streams won't return data after read() returns -1,
both JAR and ZIP streams can return data after a call to get the
next entry.

Change-Id: I2fcef44aaeae0ac27c9fa5a7a4996c5b1b794964
32c2297a959b72abdb18743f0519e1d8b7c7ea88 17-Mar-2011 Elliott Hughes <enh@google.com> Remove bogus "super()" calls.

I've left one in java.util.concurrent, since we have an upstream there.

Change-Id: I60945e48a41433fc7eaef6086433ec4bf434097f
678e3d534e57c24e3a75a5153cc24714ebdaad8f 12-Mar-2011 Jesse Wilson <jessewilson@google.com> Use a String for Attributes.Name rather than a byte[].

Change-Id: I2ce073092bbe03fba128841258abe8e3b98f3bce
http://b/3444287
6186821cb13f4ac7ff50950c813394367e021eae 08-Feb-2011 Jesse Wilson <jessewilson@google.com> Move libcore.base classes to libcore.util and libcore.io.

Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
b46dab348e2007bc08abaf7ecae34d89a2474e50 09-Dec-2010 Elliott Hughes <enh@google.com> Rewrite all backwards comparisons.

Strictly, all the ones I could find. This is everything with 0 or null on the
left-hand side.

Note that this touches several incorrect bounds checks, which I haven't fixed:
I'm going to come back and finish that independent cleanup separately.

Change-Id: Ibdb054b53df9aace47c7d2a00ff19122190053e8
bbf2c7d0462bb2c612e5a1a28e6d0ce5413d746d 12-Nov-2010 Elliott Hughes <enh@google.com> Tidy up some jar-related code.

...and kill InputStreamHelper by inlining all that's left into the sole caller.

Change-Id: Iadddba9f067a1af2a2a66803aa9ef26ea6dc3396
56e742806ebb265e77de750cdb4575cff781fdf8 02-Sep-2010 Elliott Hughes <enh@google.com> Kill ThreadLocalCache.

This has been a long time coming. The two public fields were only used when
writing a jar file manifest, which isn't a performance case. The class was
used very strangely in ObjectStreamClass; it seems to make more sense to just
inline the relevant code there.

Change-Id: I5c6fe307558038394a598a846f59098c77143d3a
7365de1056414750d0a7d1fdd26025fd247f0d04 12-Aug-2010 Jesse Wilson <jessewilson@google.com> Sorting imports.

Change-Id: I8347bc625480a1c37a1ed9976193ddfedeb00bbc
ccbe3404e0691dab506d017550658e8e5974c83e 10-Jul-2010 Elliott Hughes <enh@google.com> Use 'dst' (or an even more appropriate name where possible) rather than 'dest'.

(The ArrayIndexOutOfBoundsException for System.arraycopy already talks
about 'dst' and 'dstPos'.)

Change-Id: Iba9415dd4a9ec3b457938ea4469b4a0024bab6e4
bfdb06dfa90bad70f55ae5c302a699fe28184b81 29-Jun-2010 Elliott Hughes <enh@google.com> Stop using CharsetDecoder when reading JAR manifests.

This gives us simpler code and a 2x speedup reading the JARs in
/system/framework. No new test failures.

Bug: 2772041
Change-Id: I750616923580196614d75db6e9e38984a66651f2
c941a854631c4bf2369adc84887bb6dd386a1bcc 22-May-2010 Elliott Hughes <enh@google.com> Fix build.

Change-Id: I61d838fdb9147b1e488cf6c9ea0aa1e1e87f935e
b1433b3bd4dfc05426e5d9c3100b5fbaa198d8a0 21-May-2010 Elliott Hughes <enh@google.com> More messages.properties removal.

Change-Id: Ie90ca910b1d9f23565f8929c63186879932a4dc3
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