summaryrefslogtreecommitdiffstats
path: root/luni
Commit message (Collapse)AuthorAgeFilesLines
* am c5952ec0: am 2b26994c: Merge "Mark ↵Elliott Hughes2014-09-081-8/+11
|\ | | | | | | | | | | | | libcore.java.text.DecimalFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale a known failure." into lmp-dev * commit 'c5952ec0d8c4c5a4e3fa01081871c2b549782986': Mark libcore.java.text.DecimalFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale a known failure.
| * Merge "Mark ↵Elliott Hughes2014-09-081-8/+11
| |\ | | | | | | | | | libcore.java.text.DecimalFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale a known failure." into lmp-dev
| | * Mark ↵Elliott Hughes2014-09-051-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcore.java.text.DecimalFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale a known failure. The good news is that for the first time we understand why this is failing. Too big to fix for L though, and not a regression. Bug: 17374604 Change-Id: If9c221ec9e3a401c4ce9a3de4ff8b7c0e747e814
| * | Merge "DecimalFormatSymbols with a null locale should throw." into lmp-devElliott Hughes2014-09-051-0/+4
| |\ \
| | * | DecimalFormatSymbols with a null locale should throw.Narayan Kamath2014-09-051-0/+4
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We left this out when manually auditing the list of classes that don't throw and silently use the default (like Calendar) vs those that do. See bugs 16938922 and 15849709. bug: 17394277 (cherry picked from commit fba9a7e32be3a80df36fe7b3f6ee839b68f35d2e) Change-Id: I84ae39442b4ba69296f3e85344fa4d7936ecbb81
| * | Merge "Implement equals and hashCode in ParameterizedTypeImpl" into lmp-devElliott Hughes2014-09-052-4/+40
| |\ \
| | * | Implement equals and hashCode in ParameterizedTypeImplPiotr Jastrzebski2014-09-042-4/+40
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and GenericArrayTypeImpl. Bug: 14590652 Bug: https://code.google.com/p/android/issues/detail?id=74060 (cherry picked from commit c7dede2138e5b122cb1011a355e4f9f8e6d37856) Change-Id: I5b95f816e0596ca6f51dce5959433dc70b2c297d
| * | Merge "Make sure calendars are compared correctly." into lmp-devElliott Hughes2014-09-051-3/+11
| |\ \
| | * | Make sure calendars are compared correctly.Narayan Kamath2014-09-051-3/+11
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The calendars will use System.currentTimeMillis if we don't explicitly call setTimeMillis or setTime. We don't particularly care about time here, we just need to check that all Locale derived fields are equal. bug: 17377252 (cherry picked from commit 2f3e9b30fb2646b9c9294825cf91d2b0dc3b57c5) Change-Id: I80411926b129b926cbbd115b22ee651f9d8f6d1b
* | | am f48abd8f: Merge "Change ReferenceQueue.add to append at end of the ↵Mathieu Chartier2014-09-051-3/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | unenqueued list" * commit 'f48abd8f339755928b516dca8a939a5b7b799bd4': Change ReferenceQueue.add to append at end of the unenqueued list
| * | | Change ReferenceQueue.add to append at end of the unenqueued listMathieu Chartier2014-09-051-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now append the singly linked list at the end of the queue. Previously the list was added after the first element of the unenqueued list. Bug: 17381967 Change-Id: I6d4eb1053e5a2babd559e410b42344a04490e7b5
* | | | am c9a79e62: Merge "DecimalFormatSymbols with a null locale should throw."Narayan Kamath2014-09-051-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'c9a79e62ee08665ce46fb08c8d1f659d4e78c058': DecimalFormatSymbols with a null locale should throw.
| * | | Merge "DecimalFormatSymbols with a null locale should throw."Narayan Kamath2014-09-051-0/+4
| |\ \ \
| | * | | DecimalFormatSymbols with a null locale should throw.Narayan Kamath2014-09-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We left this out when manually auditing the list of classes that don't throw and silently use the default (like Calendar) vs those that do. See bugs 16938922 and 15849709. bug: 17394277 Change-Id: I6e1dae3c9251dfd48221914351a504f24f4bdf5d
* | | | | am aeecf3ec: Merge "Make sure calendars are compared correctly."Narayan Kamath2014-09-051-3/+11
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'aeecf3ecfd7b6619db531e8febb4d58bbbc0f992': Make sure calendars are compared correctly.
| * | | | Make sure calendars are compared correctly.Narayan Kamath2014-09-051-3/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The calendars will use System.currentTimeMillis if we don't explicitly call setTimeMillis or setTime. We don't particularly care about time here, we just need to check that all Locale derived fields are equal. bug: 17377252 Change-Id: Ibd5e74c237e5520580f1f44b4e98b021000639fa
| * | | Fix race in finalizeAllEnqueued.Mathieu Chartier2014-09-041-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was as follows: The GC finishes and enqueues all cleared references on the ReferenceQueue.unenqueued list. Then someone calls finalizeAllEnqueued which enqueues a finalizer reference directly on the finalizer reference queue. However the recently cleared references had not yet been processed by the ReferenceQueueDaemon resulting in the sentinal being finalized before the objects which were freed in the GC. The fix is enqueuing the sentinel finalizer reference on the unenqueued queue. (cherry picked from commit 2cc3d41ff2dfd673fa1ab4ef2a46525933d523ec) Change-Id: I0598199ef56aa8bd9e1fa40c39d50b2785dc5c10
* | | | am f9ac85ca: am 2cc3d41f: Fix race in finalizeAllEnqueued.Mathieu Chartier2014-09-041-1/+7
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit 'f9ac85ca7f1a22c088b8eb9887910e7cc2e9abf8': Fix race in finalizeAllEnqueued.
| * | | Fix race in finalizeAllEnqueued.Mathieu Chartier2014-09-041-1/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was as follows: The GC finishes and enqueues all cleared references on the ReferenceQueue.unenqueued list. Then someone calls finalizeAllEnqueued which enqueues a finalizer reference directly on the finalizer reference queue. However the recently cleared references had not yet been processed by the ReferenceQueueDaemon resulting in the sentinal being finalized before the objects which were freed in the GC. The fix is enqueuing the sentinel finalizer reference on the unenqueued queue. Bug: 17371542 Bug: 17381967 Change-Id: I0455c665558397b70a88a97c59fe50090fa57401
* | | am fc5a9bde: Merge "Fix apache-harmony logging tests"Neil Fuller2014-09-043-19/+67
|\ \ \ | | |/ | |/| | | | | | | * commit 'fc5a9bde9565f9d6d5aaf1155743a669c37f7f08': Fix apache-harmony logging tests
| * | Merge "Fix apache-harmony logging tests"Neil Fuller2014-09-043-19/+67
| |\ \
| | * | Fix apache-harmony logging testsNeil Fuller2014-09-043-19/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed SocketHandler to re-introduce a "socket != 0" check unintentionally removed by commit 232c91dce1760b180155256d1896d0d80375ff6d. Some failures are the result of the test code being newer than the libcore code. Android took its last libcore update from apache-harmony some time after r820767 but before r929953 and its test-code update at r1097236. This explains a few things. Updated FileHandler to deal with null system properties. This is an equivalent change to http://svn.apache.org/viewvc?view=revision&revision=935099 Updated XMLFormatter to handle basic XML escaping. This is an equivalent change to http://svn.apache.org/viewvc?view=revision&revision=929953 Unsuppress tests that are fixed by this. Bug: 13882147 Change-Id: I36321b488da6d4e08fbb0d28d0e366f9b06e6371
| * | | Rearrange a few of our MIME type registrations.Elliott Hughes2014-09-042-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on looking at IANA and wikipedia. Bug: 16978217 (cherry picked from commit 93235f904ce83fe138c90a90c66d0e78f9f405b8) Change-Id: I272436facd3c2f5dbc8c455fc340293b83f98453
| * | | Merge "Fix SDK and docs build."Neil Fuller2014-09-042-13/+13
| |\ \ \
| | * | | Fix SDK and docs build.Eino-Ville Talvala2014-09-042-13/+13
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace {@link} references to hidden methods with {@code}. (cherry picked from commit f73b1089c7236a7268ccce10546cc340a36f8c4b) Change-Id: Iff245542979c2bbcea8b6c4b4632547c6aac4da4
| * | | Keep qtaguid quiet by not trying to untag non-sockets.Elliott Hughes2014-09-035-4/+51
| |/ / | | | | | | | | | | | | | | | | | | (cherry-pick of f6cf9efb212e572dcd2e902ca461af6323793dbf.) Bug: 17203955 Change-Id: I0999fc0ff295986b92e31568d96e321b9e7ffb2c
| * | Work around the snappily-titled ICANN "Name Collision Occurrence Management ↵Elliott Hughes2014-08-222-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Framework". Using a non-existent TLD is now a Bad Idea. (cherry-pick of a7d651e95e38974fa0de19247e8341df98a0b1b1.) Bug: 17146413 Change-Id: I6a68b4609d59a6d56ba780d03ffcf24a2759db48
* | | am 3c4eb717: am 2086177b: Merge "Keep qtaguid quiet by not trying to untag ↵Elliott Hughes2014-09-035-4/+51
|\ \ \ | | |/ | |/| | | | | | | | | | | | | non-sockets." into lmp-dev * commit '3c4eb717a8dabae361477f613223feb0d3dfaaf6': Keep qtaguid quiet by not trying to untag non-sockets.
| * | Merge "Keep qtaguid quiet by not trying to untag non-sockets." into lmp-devElliott Hughes2014-09-025-4/+51
| |\ \
| | * | Keep qtaguid quiet by not trying to untag non-sockets.Elliott Hughes2014-09-025-4/+51
| | | | | | | | | | | | | | | | | | | | Bug: 17203955 Change-Id: I0999fc0ff295986b92e31568d96e321b9e7ffb2c
* | | | am 7f9653f5: am 55848681: Add additional field checks for deserialization.Neil Fuller2014-08-284-18/+129
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '7f9653f5d02beff35b8704b3a075f2e581db6135': Add additional field checks for deserialization.
| * | | Add additional field checks for deserialization.Neil Fuller2014-08-284-18/+129
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that a field is not static when deserializing. Contains some additional tests to confirm and document behavior and prevent regressions for field deserialization. Bug: 17202597 Change-Id: I80fe0f1f15b36852de09320a4daa89333e753903 (cherry picked from commit f4d72bcf5a9caa1d6cac74a018ab68dd87ec6d83)
* | | am a828dd0d: am 0d9d7216: Merge "Rearrange a few of our MIME type ↵Elliott Hughes2014-08-262-6/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | registrations." into lmp-dev * commit 'a828dd0d222956774ca77db08b1c7e40de3faa94': Rearrange a few of our MIME type registrations.
| * | Rearrange a few of our MIME type registrations.Elliott Hughes2014-08-222-6/+13
| | | | | | | | | | | | | | | | | | | | | Based on looking at IANA and wikipedia. Bug: 16978217 Change-Id: I0d28c6d53ec26c7d5501f722b66dd50595e2a6b4
* | | am 5bd44cf9: am a7d651e9: Work around the snappily-titled ICANN "Name ↵Elliott Hughes2014-08-232-4/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | Collision Occurrence Management Framework". * commit '5bd44cf9f4ea68ee648b56321665e6b644283035': Work around the snappily-titled ICANN "Name Collision Occurrence Management Framework".
| * | Work around the snappily-titled ICANN "Name Collision Occurrence Management ↵Elliott Hughes2014-08-222-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Framework". Using a non-existent TLD is now a Bad Idea. Bug: 17146413 Change-Id: I6a68b4609d59a6d56ba780d03ffcf24a2759db48
* | | am ec494368: Merge "Avoid wrapping Class in WeakReference when class loader ↵Ian Rogers2014-08-221-7/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | is null." * commit 'ec494368f467ca5235a6a52ff6b03b97141fa17d': Avoid wrapping Class in WeakReference when class loader is null.
| * | Merge "Avoid wrapping Class in WeakReference when class loader is null."Ian Rogers2014-08-221-7/+1
| |\ \
| | * | Avoid wrapping Class in WeakReference when class loader is null.Ian Rogers2014-08-221-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix a missing case from one constructor by delegating to another. Change-Id: I8b85c97586dde2d72c9ac21216c594aa810d761b
| * | | Support narrow am/pm markers in LocaleData.Elliott Hughes2014-08-223-2/+44
| |/ / | | | | | | | | | | | | | | | | | | (cherry-pick of ebe417d7808ac5bce5bc14d36d6af4c31218326d.) Bug: 16938600 Change-Id: I7334c1ea57ea0593b3e0bd7943f8a5208c704881
* | | am 2d6b952b: am 014531bf: Merge "Support narrow am/pm markers in ↵Elliott Hughes2014-08-223-2/+44
|\ \ \ | | |/ | |/| | | | | | | | | | | | | LocaleData." into lmp-dev * commit '2d6b952b2a8fbc3f2637bd6b8ede1f3e931b2e1a': Support narrow am/pm markers in LocaleData.
| * | Merge "Support narrow am/pm markers in LocaleData." into lmp-devElliott Hughes2014-08-223-2/+44
| |\ \
| | * | Support narrow am/pm markers in LocaleData.Elliott Hughes2014-08-223-2/+44
| | | | | | | | | | | | | | | | | | | | Bug: 16938600 Change-Id: I7334c1ea57ea0593b3e0bd7943f8a5208c704881
| * | | Fix abuse of Runtime.freeMemory.Narayan Kamath2014-08-221-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime.freeMemory is the largest allocation that's possible *without a heap expansion*. That's a poor proxy for "can i allocate this byte array" and leads to flaky CTS tests. bug: 17021619 (cherry picked from commit df7e1dbcd0ff712f39b8e80023228ea4eb8531c2) Change-Id: I58dd8c006316e6f1195172cff8a262a96269c2b8
* | | | am 4dbeaf5c: Merge "Fix abuse of Runtime.freeMemory."Narayan Kamath2014-08-221-41/+37
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '4dbeaf5cb275de51dd057939643a5d860c58c5a2': Fix abuse of Runtime.freeMemory.
| * | | Fix abuse of Runtime.freeMemory.Narayan Kamath2014-08-211-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime.freeMemory is the largest allocation that's possible *without a heap expansion*. That's a poor proxy for "can i allocate this byte array" and leads to flaky CTS tests. bug: 17021619 Change-Id: I108138bf2402e899a40a0b3081c083f733e7c999
| * | | Fix init test cases from DexClassLoaderTest.Calin Juravle2014-08-211-32/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the tests cases are executed in the same runtime and the class linker may cache generated optimized files, init tests need to use their own optimized directories (so that they can reliable test the number of generated files). Bug: 16806146 (cherry picked from commit 58c130c1eb99cc72998150d813b3e31896e3bfaf) Change-Id: I8111cc7ea640f3bc94821fcd4380acfc078c746f
* | | | am 9d93de65: am 58c130c1: Fix init test cases from DexClassLoaderTest.Calin Juravle2014-08-211-32/+52
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '9d93de65ac3853c50fa95d64b41abae6145ba7ee': Fix init test cases from DexClassLoaderTest.
| * | | Fix init test cases from DexClassLoaderTest.Calin Juravle2014-08-191-32/+52
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Because the tests cases are executed in the same runtime and the class linker may cache generated optimized files, init tests need to use their own optimized directories (so that they can reliable test the number of generated files). Bug: 16806146 Change-Id: I8e784397c0d1e71a5e89eac8adc7796283c0e635
| * | Merge "Avoid triggering StrictMode when closing a socket." into lmp-devElliott Hughes2014-08-151-2/+5
| |\ \