| 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
|
|
|
|
|
|
|
|
| |
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
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
library."
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(cherry-picked from commit 37d6cc06f62b2029663137a1b8c18242152c1e97)
Change-Id: I3b3aa3f508b9c6f43b27022cd8bc9aa82e630e01
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Not every zone.tab line has a comment.
Bug: 9327819
Change-Id: I32811c2da34755e2a15334f8701523505e1398b3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |
| | |
| | |
| | | |
Change-Id: Idc1caee3a0afb61d159cd046348ecb11db3d9e10
|
| | |
| | |
| | |
| | |
| | |
| | | |
(cherry picked from commit 8b44bdb6063816eeb90da6b4f8aa3ed9f38fe140)
Change-Id: I5da041caa3037a4093f05dec4e03aed4f466a21d
|
|/ /
| |
| |
| |
| |
| | |
(cherry picked from commit e976fbc396bdc5863ce289c38a44d296ea84f159)
Change-Id: Ia2289bff0bb0ef49af84306f9fa22cbf3c76a674
|
| |
| |
| |
| |
| | |
Bug: 8312059
Change-Id: I614a43a0022393cb16250f4991a7156b05b0860c
|
| |
| |
| |
| |
| |
| |
| | |
This allows the tests to pass on the RI and Dalvik by ordering the
exceptions in the same way.
Change-Id: Icb5a313f86c90ed8f1d703b5cb996783ca3a214b
|
| |
| |
| |
| | |
Change-Id: Ie34e1b3c7b6a1813e9b055d303bad4463220f5c4
|
| |
| |
| |
| | |
Change-Id: Ic08c4142542c5bd28e964a22270beed13297b9d6
|
| |
| |
| |
| |
| |
| |
| |
| | |
The platform was using the security.properties file, but running the
tests outside of the platform was using the registerDefaultProviders()
call. Those won't work with a jarjar'd library.
Change-Id: If0472d99b45c274a63003c53bf91a37bfb23fda4
|
| |
| |
| |
| | |
Change-Id: I024a72ec535978dc3a009d6433f6a65133feb3b8
|
|/
|
|
|
|
|
|
| |
Bug: 9095447
(cherry picked from commit 1eba66d802f4edfaa3ca599f196e282bc110eff9)
Change-Id: I6709eebcbede0ba617462bf49dd858f98246555f
|
|\
| |
| |
| | |
less."
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The originally-reported bug (https://android-review.googlesource.com/58258)
was that dalvik would fail to start if LD_LIBRARY_PATH was unset.
This changes things so we no longer have multiple default values for
java.library.path, cope better with that not being set, and don't set
it if LD_LIBRARY_PATH isn't set.
Change-Id: I55d48a35b1b42df872e6dcd0a38fc7bc4b8cad5a
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
d35106fd557e054d1ffe388df6a3b3cb51cc5021 fixed bionic. glibc was always
correct.
Change-Id: I26c6567bbc0895fc447b249cb029768bae6e4ab5
|
|/
|
|
|
|
|
|
|
| |
New classes in Java 7 for Authenicated Encryption with Additional Data
(AEAD). This allows the use of encryption modes such as Galois/Counter
Mode with performs the equivalent of MAC and encryption simultaneously
and consequently makes encryption safer to use for implementors.
Change-Id: I6302826b096044ade5f62a667dc240e3ab07b351
|
|
|
|
|
| |
Bug: 3484927
Change-Id: If4d39c9af3a7b0bd60f31ad7e969baa6b27e3d86
|
|
|
|
|
| |
Bug: 3484927
Change-Id: Ib8088ec50a767390b6416b73a0e66887ece5c719
|
|
|
|
|
| |
Bug: 3484927
Change-Id: I4cda326a31240135d883528d9cb976a9db084234
|
|
|
|
| |
Change-Id: Ibfbba9fdb1d5ca00aad55cc1c62766821175f384
|