summaryrefslogtreecommitdiffstats
path: root/luni
Commit message (Collapse)AuthorAgeFilesLines
* Check that the result of UniquePtr::release is always used.Elliott Hughes2011-06-071-6/+14
| | | | | | | (And silence the warnings in those cases where it isn't because we're working around OpenSSL API lossage.) Change-Id: Ibc7958373e7a899a6cd03a0177f97bf3a73c0e15
* Remove dead tests.Elliott Hughes2011-06-0636-4440/+0
| | | | Change-Id: Ife89885ea95de3bb2617172b95cdfd46d586a644
* Clean up test duplication and fix broken tests.Elliott Hughes2011-06-066-1149/+159
| | | | Change-Id: I22bbc320536d7f4d862102d3962b521d26e30a9f
* Remove some unnecessary cruft.Elliott Hughes2011-06-064-49/+17
| | | | Change-Id: I8d83954d42f3511a24a44a33c3b28f04af6d3b82
* am 003f7a4d: Make test initialization lazyBrian Carlstrom2011-06-0610-1257/+1080
|\ | | | | | | | | * commit '003f7a4d100cd1527d94bac81a4a3c5a8216c6ee': Make test initialization lazy
| * Make test initialization lazyBrian Carlstrom2011-06-0410-1257/+1080
| | | | | | | | | | | | Bug: 4311645 Change-Id: I4280d7ddb2a78f0e33564f3b40cfeb5c671e134a
* | Merge "Remove more dead "security theater" cruft." into dalvik-devElliott Hughes2011-06-0646-7847/+208
|\ \
| * | Remove more dead "security theater" cruft.Elliott Hughes2011-06-0446-7847/+208
| | | | | | | | | | | | | | | | | | | | | There's probably still more stuff lying around that isn't useful, but this was all I had time for on this particular Friday afternoon... Change-Id: I69593f6c9ab5534d581c703cc85a9766ba8e40e5
* | | Remove support for deprecated IPv4 address formats.Elliott Hughes2011-06-036-73/+112
|/ / | | | | | | | | Bug: 4539262 Change-Id: Ic42173b7b06e8536e8c4331087720d7df1e1681a
* | am cbec51f5: SHA1_MessageDigestImpl should work for inputs of 256 MegabytesBrian Carlstrom2011-06-012-1/+196
|\ \ | |/ | | | | | | * commit 'cbec51f5f2b9c425ce551405518e48d4046adb35': SHA1_MessageDigestImpl should work for inputs of 256 Megabytes
| * SHA1_MessageDigestImpl should work for inputs of 256 MegabytesBrian Carlstrom2011-06-012-1/+196
| | | | | | | | | | Bug: 4501620 Change-Id: I57dc9b1308994bac96e3db8ccb2db4b368dd0552
* | am ee100f24: Merge "Make ErrnoException a checked exception."Elliott Hughes2011-05-2718-58/+96
|\ \ | |/ | | | | | | * commit 'ee100f24d3b9d538dfc0ec9c9e74b6670e0a2a1f': Make ErrnoException a checked exception.
| * Merge "Make ErrnoException a checked exception."Elliott Hughes2011-05-2718-58/+96
| |\
| | * Make ErrnoException a checked exception.Elliott Hughes2011-05-2718-58/+96
| | | | | | | | | | | | | | | Bug: 4486011 Change-Id: I1877ce593d441653f75ab14884aa2d85f52652ad
* | | am 5722fb8a: Fix the FileOutputStream documentation.Elliott Hughes2011-05-271-10/+14
|\ \ \ | |/ / | | | | | | | | | * commit '5722fb8a3c56310ad3e9394e7bd9bb0fd17917a9': Fix the FileOutputStream documentation.
| * | Fix the FileOutputStream documentation.Elliott Hughes2011-05-271-10/+14
| |/ | | | | | | | | | | The O_CREAT|O_TRUNC behavior was not fully documented. Change-Id: I0ea16ec3ea032c4f0572e8900316469f448edb75
* | Relative/absolute and opaque/hierarchical docs for java.net.URI.Jesse Wilson2011-05-272-8/+74
| | | | | | | | | | Change-Id: I5ec2e1dd10a3c676441caf56838433fffa316a59 http://b/2753295
* | Document java.net.URI.Jesse Wilson2011-05-274-274/+321
|/ | | | | Change-Id: I941ba9cb4a2d48b052c25b7799ac466549df8d53 http://b/2753295
* Merge "Clean Up URI's parsing code." into dalvik-devJesse Wilson2011-05-265-172/+108
|\
| * Clean Up URI's parsing code.Jesse Wilson2011-05-265-172/+108
| | | | | | | | | | | | http://b/2753295 Change-Id: I190ee12c14d1b3b17e2c8cb5ef3868618f1ee124
* | Merge "Don't use mapped IPv4 addresses with MCAST_JOIN_GROUP." into dalvik-devElliott Hughes2011-05-263-12/+13
|\ \
| * | Don't use mapped IPv4 addresses with MCAST_JOIN_GROUP.Elliott Hughes2011-05-263-12/+13
| | | | | | | | | | | | | | | | | | | | | This change is really a one-liner, but I did some cleanup too. This fixes most of the Harmony multicast tests. Change-Id: I37ff9c6ee6ee64de0500ef4b51638b3d3a6417ff
* | | Merge "Match the RI's exact exception type." into dalvik-devElliott Hughes2011-05-261-2/+2
|\ \ \ | |_|/ |/| |
| * | Match the RI's exact exception type.Elliott Hughes2011-05-261-2/+2
| |/ | | | | | | Change-Id: Id64b8ff87198e31a93a92d19d542948bcbb74db0
* | Fix URI to behave more like the spec and browsers and less like the RI.Jesse Wilson2011-05-264-65/+85
| | | | | | | | | | | | | | | | | | When computing relative paths from URLs like foo.com/a to foo.com/a/b, this now uses "a/b" as the relative path and not just "b". That was an RI bug that we were foolishly compatible with. Change-Id: I6e3f10d84602c08bbf6bd7c7e43c2ba3387e4c3b http://b/2753295
* | Use canonicalizePath in URI.Jesse Wilson2011-05-256-1981/+70
|/ | | | | | | | This needs to add another mode to canonicalizePath to not discard ".." prefixes from relative paths. Change-Id: I9e0b86bd1e7ab8e5e71c46f1efcf4aeb218e66b2 http://b/2753295
* Merge "Parity between URI and URL tests." into dalvik-devJesse Wilson2011-05-254-66/+560
|\
| * Parity between URI and URL tests.Jesse Wilson2011-05-254-66/+560
| | | | | | | | | | | | | | | | | | | | | | Duplication here is unfortunate. It would be a lot of work to share tests here, since the two classes have necessarily different behaviors in certain situations. I continue to work on making the two classes consistent with browsers, which means they'll be more consistent with each other. Change-Id: Ic33c414abe1344cdfd1a9b539d9918dcd074f2c6 http://b/2753295
* | More Harmony test consolidation.Elliott Hughes2011-05-255-444/+4
| | | | | | | | Change-Id: I98070d03c8b5f5764d54e3d2058c5707bbb954ce
* | Deduplicate Harmony tests.Elliott Hughes2011-05-252-1116/+122
| | | | | | | | Change-Id: I42b6b960660402e701552dceec4ea616955bc23f
* | Merge "Make it possible to test java.io.Console." into dalvik-devElliott Hughes2011-05-251-4/+4
|\ \ | |/ |/|
| * Make it possible to test java.io.Console.Elliott Hughes2011-05-251-4/+4
| | | | | | | | Change-Id: I9389c6625ba0837dbe1cc62c785fc2091ecbf24e
* | Merge "Rewrite parsing for java.net.URL." into dalvik-devJesse Wilson2011-05-2512-360/+842
|\ \
| * | Rewrite parsing for java.net.URL.Jesse Wilson2011-05-2512-360/+842
| |/ | | | | | | | | | | | | | | | | | | | | | | This fixes many broken cases on handling relative URLs. We normalize all URLs by default. This will result in more URL equality than before. Previously the URLs http://android.com/a/../ and http://android.com/ were not equal; now they are equal. Change-Id: I8cf7be2e42eeb1386520be2698d8f14e0a55decb http://b/4361656
* | am 4ccd262b: Cleanup KeyStoreBuilderParametersTestBrian Carlstrom2011-05-251-51/+27
|\ \ | |/ |/| | | | | * commit '4ccd262b321e206768f652aff1507d4e1258c007': Cleanup KeyStoreBuilderParametersTest
| * Cleanup KeyStoreBuilderParametersTestBrian Carlstrom2011-05-251-51/+27
| | | | | | | | Change-Id: I547b6578f8a9d3aa728ee5261c67a7aee40aa51d
* | Merge "Fix a bug in FileChannel.map." into dalvik-devElliott Hughes2011-05-241-1/+7
|\ \
| * | Fix a bug in FileChannel.map.Elliott Hughes2011-05-241-1/+7
| | | | | | | | | | | | | | | | | | Found by a Harmony test. Change-Id: I1f2ba191242dd6236549e6ed4ef77021ad7ae628
* | | am e2fdfbde: Merge "OpenSSLSocketImpl should tolerate X509KeyManager ↵Brian Carlstrom2011-05-247-37/+173
|\ \ \ | |/ / |/| / | |/ | | | | | | returning null values" * commit 'e2fdfbde569a4cc284590c92bc57dc15dcc29a9c': OpenSSLSocketImpl should tolerate X509KeyManager returning null values
| * OpenSSLSocketImpl should tolerate X509KeyManager returning null valuesBrian Carlstrom2011-05-247-37/+173
| | | | | | | | | | | | | | | | | | | | | | While this started out as the small fix in OpenSSLSocketImpl.setCertificate and the corresponding test test_SSLSocket_clientAuth_bogusAlias, the need to test the behavior of the X509KeyManager returning null on the RI led to test maintenance to get libcore.javax.net.ssl tests working on RI 7 thanks to a test dependency that was added on the new InetAddress.getLoopbackAddress(). Change-Id: I3d8ed1ce453cc3a0b53e23e39c02e6a71413649c
* | Fix a couple of FileChannel bugs.Elliott Hughes2011-05-242-1/+4
| | | | | | | | | | | | | | | | | | | | | | FileChannel.read's non-readv(2) overload shares java.io's weird non-Unix "-1 at EOF" behavior. The readv(2) overloads already had that, but they had a bug where they'd claim to have copied more into a buffer than they actually had. No new tests because these were found by existing Harmony unit tests. Change-Id: Ia267e5834fd360d71becdd7d1bdd838d03ea6532
* | Remove two tests that are duplicated in the Harmony suite.Elliott Hughes2011-05-242-73/+0
| | | | | | | | | | | | (And a spurious blank line from ThreadGroup.) Change-Id: I3cb1ccb94a8352937d221a141a598ffe4696b06e
* | Fix the deprected overload of String.getBytes.Elliott Hughes2011-05-231-2/+4
| | | | | | | | | | | | Previously, this would unconditionally throw ;-) Change-Id: Ia62eb6febcfca2a1a9f546935b092141e698d0b2
* | Fix a minor serialization bug found by a Harmony test.Elliott Hughes2011-05-231-1/+1
| | | | | | | | Change-Id: I1f7b149deddb167ff5c644513c48e6439679f108
* | Update a useless system property.Elliott Hughes2011-05-231-3/+6
| | | | | | | | Change-Id: I30424eba04a9c1eef976eac02a7d139e7c6c5af1
* | Move the non-upstream part of OldFileOutputStreamTest into FileOutputStreamTest.Elliott Hughes2011-05-232-204/+27
| | | | | | | | | | | | (And remove the duplicated bits.) Change-Id: I2a12d5870931a3867d971ab162e576b6f65168b4
* | Merge "Fix read/write bugs in DatagramChannel and SocketChannel." into ↵Elliott Hughes2011-05-234-7/+23
|\ \ | | | | | | | | | dalvik-dev
| * | Fix read/write bugs in DatagramChannel and SocketChannel.Elliott Hughes2011-05-204-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | Also improve some exception detail messages for ease of debugging. These bugs were found by external/apache-harmony tests. Change-Id: I37a58c1d1f1c2150eb9171967f47ef9644e8ae15
* | | Merge "Ensure signature verification fast path is used with alternatively ↵Brian Carlstrom2011-05-211-33/+16
|\ \ \ | | | | | | | | | | | | formatted signature algorithm names" into dalvik-dev
| * | | Ensure signature verification fast path is used with alternatively formatted ↵Brian Carlstrom2011-05-211-33/+16
| |/ / | | | | | | | | | | | | | | | signature algorithm names Change-Id: Icebe7794babfc93592674cc14dd83c2556642fad