summaryrefslogtreecommitdiffstats
path: root/luni/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | am 6cb4582b: Merge "Work around an icu4c 53 bug in ↵Elliott Hughes2014-05-121-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | DecimalFormat.getGroupingSize." * commit '6cb4582b0466e0fc1deff08c3d3a43b59b600703': Work around an icu4c 53 bug in DecimalFormat.getGroupingSize.
| * | | Merge "Work around an icu4c 53 bug in DecimalFormat.getGroupingSize."Elliott Hughes2014-05-121-0/+4
| |\ \ \ | | |_|/ | |/| |
| | * | Work around an icu4c 53 bug in DecimalFormat.getGroupingSize.Elliott Hughes2014-05-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by org.apache.harmony.tests.java.text.DecimalFormatTest#test_getGroupingSize. Bug: http://bugs.icu-project.org/trac/ticket/10864 Change-Id: I7c9ad0dd468a2d1f7bdc3252c3de696786059a2b
* | | | am a2385153: Merge changes I726f16f9,Idd2f4ef1Lajos Molnar2014-05-124-77/+269
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * commit 'a238515382b28f73f82d2df362dee1d011689fd3': DirectByteBuffer: add setAccessible() Better protection against accessing freed DirectByteBuffers
| * | | DirectByteBuffer: add setAccessible()Lajos Molnar2014-05-124-45/+224
| | | | | | | | | | | | | | | | Bug: 14297827 Change-Id: I726f16f9a15f894b99a93c84aca820f5c1b994e5
| * | | Better protection against accessing freed DirectByteBuffersLajos Molnar2014-05-124-35/+48
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Expand preventing access of freed buffers, so duplicated ByteBuffers also become inaccessible when the original buffer is freed. Throw IllegalStateException in ByteBuffer.put(ByteBuffer) when either source or destination buffer is inaccessible. Bug: 11512044 Change-Id: Idd2f4ef1f3d66b4209441bf4014ccd4aad9d850b
* | | am 0a2ddb63: Merge "Remove test for unsupported GregorianCalendar ↵Narayan Kamath2014-05-121-9/+26
|\ \ \ | |/ / | | | | | | | | | | | | | | | functionality." * commit '0a2ddb63dcf5fa82131bc026f12c731ad85b2053': Remove test for unsupported GregorianCalendar functionality.
| * | Remove test for unsupported GregorianCalendar functionality.Narayan Kamath2014-05-121-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds an explanatory comment and makes the intent of the implementation clearer without changing any of the functionality. TL;DR - there doesn't appear to be any sensible way to provide any sort of consisent semantics if we plan on supporting these fields. bug: 12778197 Change-Id: Iadaaaa5d4bdddec4aceca498ffc870edf2cbefed
* | | am 5c1acb43: Merge "Add android.system.Os.link for link(2)."Elliott Hughes2014-05-106-0/+26
|\ \ \ | |/ / | | | | | | | | | * commit '5c1acb43c314a7048341f1ab36799fb6675505f4': Add android.system.Os.link for link(2).
| * | Merge "Add android.system.Os.link for link(2)."Elliott Hughes2014-05-106-0/+26
| |\ \
| | * | Add android.system.Os.link for link(2).Elliott Hughes2014-05-096-0/+26
| | |/ | | | | | | | | | | | | Bug: 14683762 Change-Id: Ieeba1d2d0c5e9c05e85c6ffbaeb5a7febc69238c
* | | am 567dcb29: Merge "Fix various errors in FileURLConnectionTest."Narayan Kamath2014-05-091-12/+134
|\ \ \ | |/ / | | | | | | | | | * commit '567dcb29cba8be9abf154f21e9c1ff47a81ad9cc': Fix various errors in FileURLConnectionTest.
| * | Merge "Fix various errors in FileURLConnectionTest."Narayan Kamath2014-05-091-12/+134
| |\ \
| | * | Fix various errors in FileURLConnectionTest.Narayan Kamath2014-05-091-12/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - First, the test was broken pretty badly. It would pass a Jar style URL to a FileURLConnection and expect it to work, this is out of spec and seems wrong in general (file:///foo.apk!resources/foo.txt). - The RI supports various "headers" on file URL connections (sigh). As if the getHeaderField(int) and getHeaderFieldKey(int) APIs weren't bad enough. This has now been implemented with a naive implementation. - Fixes FileURLConnection to populate a header map for information it provides (content length, content type etc.) bug: 11664881 Change-Id: I7a3e9aaa79bf125abbcfe8367574115ce54718e3
* | | | am 4f1bfee1: Merge "Add missing \'const\'."Elliott Hughes2014-05-091-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '4f1bfee1a72d7842aa5ce565463ab20466368213': Add missing 'const'.
| * | | Merge "Add missing 'const'."Elliott Hughes2014-05-091-1/+1
| |\ \ \
| | * | | Add missing 'const'.Elliott Hughes2014-05-081-1/+1
| | | |/ | | |/| | | | | | | | | Change-Id: I20311836b80bc655a5ae389ef2f49b2a09f79744
* | | | am 80e73159: Merge "SSLSocketTest: fix some flaky tests"Kenny Root2014-05-081-1/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '80e731591eda358739d43ffaa2d22635e1ab9fdb': SSLSocketTest: fix some flaky tests
| * | | Merge "SSLSocketTest: fix some flaky tests"Kenny Root2014-05-081-1/+3
| |\ \ \
| | * | | SSLSocketTest: fix some flaky testsKenny Root2014-05-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closing the server socket before SSL_do_handshake completed would sometimes make SSL_do_handshake exit before it read the client's SSL alert message. Change-Id: I68bfb3d1908b055722678b7280ec4afe37a03ec8
* | | | | am 13bb5c1b: Merge "Add CRLReason and friends"Kenny Root2014-05-089-3/+477
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '13bb5c1b5d3ccd844f330734f46d1f7dd27f9094': Add CRLReason and friends
| * | | | Merge "Add CRLReason and friends"Kenny Root2014-05-089-3/+477
| |\ \ \ \
| | * | | | Add CRLReason and friendsKenny Root2014-05-089-3/+477
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New API for getting the revocation reason. Add tests and exceptions associated with it. Change-Id: Ifd6444ab966c984312f069a6ee330d255110ea85
* | | | | | am ce2bc2c4: Merge "Handle Reference.get in native code."Mathieu Chartier2014-05-081-200/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'ce2bc2c4f5282f977b444886ba910e5b1928ef72': Handle Reference.get in native code.
| * | | | | Merge "Handle Reference.get in native code."Mathieu Chartier2014-05-081-200/+0
| |\ \ \ \ \ | | |_|/ / / | |/| | | |
| | * | | | Handle Reference.get in native code.Mathieu Chartier2014-05-061-200/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables us to have mostly concurrent reference processing in the GC. Reference.get() may block if references are being processed. Bug: 14381653 Change-Id: I7cf6ef34b08f804897c8e6d5e9e6ae94420dc489
* | | | | | am 73f428dc: Merge "Use the right class loader in ProxyTest."Narayan Kamath2014-05-081-6/+6
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '73f428dc37be1294887f4a74b46106972b6de5f0': Use the right class loader in ProxyTest.
| * | | | | Merge "Use the right class loader in ProxyTest."Narayan Kamath2014-05-081-6/+6
| |\ \ \ \ \
| | * | | | | Use the right class loader in ProxyTest.Narayan Kamath2014-05-081-6/+6
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the test classloader, and not the system classloader. bug: 12490858 Change-Id: I108ce6e810e861f2297fa5be5d16578cc8083e81
* | | | | | am 4abcf7ad: Merge changes Iaaafcbed,Ifbca5637Kenny Root2014-05-082-8/+41
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '4abcf7ad18a9b96999f5df60b572d355dfdcefe5': KeyStoreTest: add more key types KeyManagerFactoryTest: add all the possible key types
| * | | | | Merge changes Iaaafcbed,Ifbca5637Kenny Root2014-05-082-8/+41
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | * changes: KeyStoreTest: add more key types KeyManagerFactoryTest: add all the possible key types
| | * | | | KeyStoreTest: add more key typesKenny Root2014-05-071-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test all the possible key types in the KeyStoreTest. Change-Id: Iaaafcbededfb8960dcfdeaea20b8b631a4a36bf8
| | * | | | KeyManagerFactoryTest: add all the possible key typesKenny Root2014-05-071-2/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds all the possible key types from the Standard Names document to the tests. Change-Id: Ifbca56371261c040c3cb9e0d80447e9cb73cad0f
* | | | | am 5b8b1ea0: Merge "Ensure consistent (backwards-compatible) capitalization ↵Elliott Hughes2014-05-082-126/+133
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | for yesterday/today/tomorrow." * commit '5b8b1ea0a23702a376c996bac57cddaaf1d9b39b': Ensure consistent (backwards-compatible) capitalization for yesterday/today/tomorrow.
| * | | | Ensure consistent (backwards-compatible) capitalization for ↵Elliott Hughes2014-05-072-126/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | yesterday/today/tomorrow. Bug: 14493853 Change-Id: I971ffc2d47534aef67df951725fcd16802ea6d54
* | | | | am 5a9c2b9e: Merge "Basic documentation for android.system."Elliott Hughes2014-05-079-36/+510
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '5a9c2b9e273e976c8a8e81357fe290077b766fec': Basic documentation for android.system.
| * | | | Merge "Basic documentation for android.system."Elliott Hughes2014-05-079-36/+510
| |\ \ \ \
| | * | | | Basic documentation for android.system.Elliott Hughes2014-05-079-36/+510
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also individually @hide the methods we might not want to expose straight away. These are basically the ones where the mapping to Java types isn't completely straightforward, usually resulting in a family of similar methods. Change-Id: I7b3d555c4599dc8c64e23f5c494a358ef68c6777
* | | | | am d8eb43c1: Merge "Change ReferenceQueue order from LIFO to FIFO."Narayan Kamath2014-05-071-9/+12
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'd8eb43c1072f8467ae01ab93944c1032c94c6ccc': Change ReferenceQueue order from LIFO to FIFO.
| * | | | Merge "Change ReferenceQueue order from LIFO to FIFO."Narayan Kamath2014-05-071-9/+12
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Change ReferenceQueue order from LIFO to FIFO.Elena Sayapina2014-05-061-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LIFO order of FinalizerReference.queue breaks runFinalization(). runFinalization() creates a Sentinel finalizable object and waits for it to be finalized. As FinalizerReference.queue is LIFO, the Sentinel object is placed at the beginning of the queue and then gets finalized first. So the method returns even though objects placed in the queue before the Sentinel are not finalized. This patch changes the queue order to FIFO to ensure that all elements enqueued before the Sentinel are finalized before it. bug: https://code.google.com/p/android/issues/detail?id=37980 Change-Id: Ie6bc96e6a3759bc36ce6586066052b6d6bbe8d52 Signed-off-by: Elena Sayapina <elena.v.sayapina@intel.com>
* | | | | am db3cbbc3: Merge "Add java.security.cert.Extension interface"Kenny Root2014-05-063-9/+83
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'db3cbbc355adbe08926881ef86a1e18fa6a475b1': Add java.security.cert.Extension interface
| * | | | Add java.security.cert.Extension interfaceKenny Root2014-05-063-9/+83
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Also convert our existing Extension class to implement this interface. Change-Id: I123ef6aa4f89897037e51f221c8c5a7994ac2a01
* | | | am 32ec257f: Merge "Fix BN to use correct size of array"Narayan Kamath2014-05-061-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '32ec257fae8b9d9bede551f00400f0a5216ab6b9': Fix BN to use correct size of array
| * | | Merge "Fix BN to use correct size of array"Narayan Kamath2014-05-061-1/+1
| |\ \ \
| | * | | Fix BN to use correct size of arraySerguei Katkov2014-05-061-1/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NativeBN_litEndInts2bn uses len as a size of the generated array while it should be wlen for 64-bit. This will fix the following BigIntegerTest cases: - BigIntegerTest#test_Constructor_ILjava_util_Random - BigIntegerTest#test_hashCode Change-Id: Ife98d11cf94cd5568e55163f98fc4fe3de9d3918 Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com> Reported-by: Marcus Oakland <marcus.oakland@arm.com>
* | | | am b7bef747: Merge "Improve the performance of Annotation checks"Neil Fuller2014-05-061-44/+12
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'b7bef747246ee8042a5b4fbc9a323af6eecdaf30': Improve the performance of Annotation checks
| * | | Merge "Improve the performance of Annotation checks"Neil Fuller2014-05-061-44/+12
| |\ \ \ | | |_|/ | |/| |
| | * | Improve the performance of Annotation checksNeil Fuller2014-03-281-44/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the circumstance where the annotated element (field/ method/constructor/class) was loaded from a different Dex file than the annotation: The previous code would perform a binary search to determine the type ID of the annotation in the Dex file of the annotated element. That type ID would then be compared against the type IDs of annotations present on the annotated element. The binary search was quite expensive: it involved various indirections, many small native method calls and temporary String creation. Instead, the code now compares the names of the annotations on the annotated element with the name of the annotation being searched for. The name of the annotation is known and cached on the class and is therefore cheap to get. The name was previously being used to binary search for the type ID so this appears to be no less correct. Also removed some unused methods in order to delete the getFieldIndex() method. Change-Id: Ib8fb021ddf1221e3eac983aa87e7aea8174720ef
* | | | am f198b04b: Merge "SSLEngineResult: better exception messages"Kenny Root2014-05-051-4/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'f198b04bfc2c267ba5e36c4e9d9483f821bc4fe7': SSLEngineResult: better exception messages