| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Avoid read position slipping beyond limit on EOF, causing an
ArrayIndexOutOfBoundsException.
Also fix two incorrect checks whether to read more data.
Bug: 9012715
Change-Id: I40f60becd97eb4d9f33842bea2c19e9dc531d3b7
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We really don't want to compute a new regular expression and compile
it into a new Pattern every time we call nextInt (and friends). Adding
a single-element cache (flushed if the Scanner's locale changes) makes
this 100x faster. There still exists a pathological case where you
switch back and forth between bases.
Also improve the documentation to make it clearer that you really don't
want to use this awful class anyway.
Also bring back a few more of the tests we lost in the gingerbread timeframe.
Bug: https://code.google.com/p/android/issues/detail?id=57050
Change-Id: Id6095682fb44abae2887dda29dd3d32ac777c68f
|
|\ |
|
|/
|
|
|
|
|
|
| |
Our new getopt_long(3) distinguishes between illegal, invalid,
unrecognized, ambiguous, and unknown options; the old one only
had ambiguous and [two slight variants of] unknown.
Change-Id: Iec4f124d66e4e483292043db5a93caa4cf1a15b0
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I4acecd936075f226ae867d8b361ff422978af7de
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the ability to use Application-Layer Protocol Negotiation
(ALPN) as both a client and a server. ALPN is essentially like Next
Protocol Negotiation (NPN) but negotiation is done in the clear. This
allows the use of other protocols on the same port (e.g., SPDY instead
of HTTP on port 80).
Although previously clients using NPN were able to use cut-through, the
new ALPN API does not provide for a way for a client to enable that
during a callback. So the only difference is that NPN clients can enable
SSL False Start while ALPN clients cannot currently.
Change-Id: I42ff70f3711e9cccaf754d189f76eeaa9db5f981
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
|
| |
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
|
|\ |
|
|/
|
|
|
|
|
| |
Fixes a harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ServerSocketChannelTest
test that had been failing since we turned it back on.
Change-Id: I76cbc5edc1ab9edc4d2818bd23649f4b906d662c
|
|\ |
|
|/
|
|
|
|
|
|
|
| |
There are many reasons why the initial connect(2) may have resulted
in a ConnectException, only one of which (EINPROGRESS) means we haven't
yet failed.
Bug: https://code.google.com/p/android/issues/detail?id=56684
Change-Id: I2115998bce9043f076418fb0d1c22a26e04ee2e1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 7757924895a28a43ab9f7c3931cc9f972e870ddc.
Further investigation suggests this is a worse clock for our purposes, not the better one it would appear to be from the man page. It looks more like it should have been called CLOCK_TSC.
Change-Id: I6bf7fe4dac19272f145d240917129b4d5ab5ade1
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
We still need to use CLOCK_MONOTONIC on Darwin.
Bug: 9511688
Change-Id: Ieb1091e24ad5cd3bab79a4de1b1494cc64eef3d4
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
CouncurrentHashMap was skipped from this sync.
Change-Id: I29c67698a2e706b22e3cb5920c5fe91f1f15461c
|
|\ \ |
|
|/ /
| |
| |
| |
| | |
Bug: https://code.google.com/p/android/issues/detail?id=56385
Change-Id: Ie60d8c61aae09358d296654bd30378cbd11eeecb
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 3484927
Change-Id: I06dae03b0803d1373e268e854e9e0e4b6c59e13a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've observed 14 failing tests both before and after
the update.
Change-Id: I40dfd9efe35ed03d89b38b030d3c7b6558b247e2
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
library."
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(cherry-picked from commit 2f95766aac3df74c6c641232eec4791b2330c9df)
Change-Id: I1005ee22ed8a017bb536bfd76df2173c7e8dcf64
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The method expandInternedStringBucket(...) creates a new bucket
but the old bucket is never freed, even though the function doc
claims that it does. To solve this problem the old bucket is
freed when the new one has been created successfully.
Also this commit fixes two possible memory leaks when a
jniThrowOutOfMemoryError is thrown, where the internedString
also needs to be freed.
Change-Id: Ic80a35a2b4ec8f93ddc006aca5609a5ffe74d659
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: Ie210fed0b59cfd009a969dfbfab06b858e06c463
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
library."
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(cherry-picked from commit 37d6cc06f62b2029663137a1b8c18242152c1e97)
Change-Id: I3b3aa3f508b9c6f43b27022cd8bc9aa82e630e01
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Not every zone.tab line has a comment.
Bug: 9327819
Change-Id: I32811c2da34755e2a15334f8701523505e1398b3
|
|\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / / |
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: I7b218f9732b36b9cca5ebc38380f3e7ef0275f34
|
|\ \ \ \ |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This won't crash unless you're very unlucky, but at least valgrind
will notice something untoward is going on.
Bug: 9087737
Change-Id: I486374a85d4f0cc3a0e7afec29a1003ce1951a5a
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I6db6d91e21b8e1aca5b5338534196fd5bdef8a06
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensure emailAddress encoded as IA5String
Bug: http://code.google.com/p/android/issues/detail?id=21531
Bug: 5580664
Change-Id: I19b432bc84468828258cbcd44266e4b712e6175d
Bug: 9198822
Change-Id: I8a29f160e870f8deb4b8f3787bb69b4971942c5d
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 3484927
Change-Id: I6ef7b71aba70bab7664ea29ef73ba8a542550e27
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Ia03630612b6d4e116b9c737cdf7a93c8eacee910
|
|\ \ \ \
| |/ / /
|/| | | |
|