| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
IllegalAccessError can be thrown in more than one case. Correct
the class documentation to be general, and state example cases
of the error.
Bug: 19997575
Change-Id: I8b14d8b2fcd77f547d377bec2eecc326743fb671
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
AndroidKeyStore-backed Mac implementation is now offered by the
"AndroidKeyStoreBCWorkaround" provider (see
4812563f68c87278af68309662433279d10f573e). The test was changed
accordingly.
Moreover, this test was using a wrong way of detecting the
default provider for HMACs that can handle SecretKeySpec instances.
This is now fixed as well.
Bug: 20691708
Change-Id: I0b3a2d1ff6d968779419305978203ad64d703e99
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allows us to query the DB without having to clone an object or
an entire strings array.
bug: 19106773
bug: 19987403
Change-Id: I66d466e414972b02a75bcfe68263e74de8b9a768
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Remove calls to setSecurityManager, which throws unconditionally
on android.
- Remove an unsupported AccessController check.
- Remove an assertion that the default uncaught exception handler is
null. Regular android processes always have one installed.
bug: 20628776
(cherry picked from commit 151f344e88956741c0b8e4018df845d85d4eef25)
Change-Id: Ida7499c74586d007b8381522bec45f9a0c8fa7b4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following tests have been omitted because they are
unsupported :
- Atomic8Test.java
- CompletableFutureTest.java
- ConcurrentHashMap8Test.java
- DoubleAccumulatorTest.java
- DoubleAdderTest.java
- ForkJoinPool8Test.java
- ForkJoinTask8Test.java
- LongAccumulatorTest.java
- LongAdderTest.java
- SplittableRandomTest.java
- StampedLockTest.java
- ThreadLocalRandom8Test.java
- ThreadPoolExecutor9Test.java
A package declaration has been added to all files (package jsr166;)
and the base-class JSR166Test has been changed not to rely on features
that aren't available on android / junit in the android environment.
We also avoid using junit4 style TestSuite declarations. While the CTS
test runner handles them properly usually, it trips over itself when it
encounters a failure and tries to run each test in an invidual process
and fails each test for no good reason (needs investigation on the CTS
side of things)
bug: 20628776
(cherry picked from commit 5da8b2b3cac51f0f592a5e1941bd84eade9648cd)
Change-Id: If35be0881ad8da4c604ce6683149b15c1a85f289
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is CVS HEAD as of Tue Mar 24 22:30:53 2015 UTC with
android specific patches applied. All android patches have
a clear "android-note" header.
- Most changes are documentation related.
- @hide tags have been applied to 1.8 APIs
- Atomic*Updater have been updated to use VMStack.* APIs.
bug: 20628776
bug: https://code.google.com/p/android/issues/detail?id=170073
(cherry picked from commit aa2ed9e105504f21641d919b410c692981cfe386)
Change-Id: Ie7ce1780eda837f3455e6aa365861886956c4063
|
|\
| |
| |
| |
| | |
* commit '7b2d3c5e1d4b77085494c3696d4282858136d81e':
Move Class.newInstance to native
|
| |\
| | |
| | |
| | |
| | | |
* commit '8b7dbadede97a5166fcddfe6783e89c8957c1830':
Move Class.newInstance to native
|
| | |\ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Also add benchmark for Class.newInstance.
Bug: 20269715
Change-Id: Icd52155ce79a978a4d869855bfdfd7735abd8187
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '07bd49f5d720c49b9788de215f0fb0695cf32d70':
Update Cipher tests
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'dce989e53c440c7bb0eec93abf20a71bf1f49b1c':
Update Cipher tests
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
InvalidAlgorithmParameterException should be thrown when Ciphers are
initialized with null parameters during decrypt or unwrap mode if the
Cipher expects it.
Bug: 19201819
Change-Id: Id2ce1c3c7929769808fcc9a4048a28ec150e3672
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
word change."
* commit 'e55045a839e8b4de25d9e15d37d4e748ae508c86':
Fix hashCode() for the read barrier lock word change.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit '1681b2cf4a78ff88ec8ca9d836137e6a914e7023':
Fix hashCode() for the read barrier lock word change.
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Mask the low 28 bits of the lock word.
Bug: 19355854
Bug: 12687968
Change-Id: Ic6db7e23fa1a98b28564880d78e7c7cc0c8c0bdc
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
/system."
* commit 'e81b5047062c6af7f84af2589311c505b25062f4':
Use ANDROID_ROOT instead of assuming it is /system.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit '69f8fc656f04661f9c32176ebfd093e42bae53d4':
Use ANDROID_ROOT instead of assuming it is /system.
|
| | |\ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is to allow testing without having 'sh', or having an
outdated 'sh' in /system.
Change-Id: I19f2844822cc282c4e7696d45fb5ccbe1a1710eb
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '8c95e17836c652ea89d5bfa94feab4396c332f6e':
Tidy up Package and classloader comments
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '2b7e589a8ea095392e97d45f1feb04832bada21c':
Tidy up Package and classloader comments
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
After commit 31ae6d22605a0967d722f935bc3a8b868ada4917
Remove a TODO, improve a test and fix a comment.
Also fixes a bug in Package demonstrated by the improved test.
Bug: 20482259
Change-Id: I6b37413d7004ce85c99bb854e0ec41e5f8588250
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
InputStreamReader/OutputStreamWriter.init."
* commit '975ebbc76ae07da5db4865bf76be6a22221740b4':
Remove unnecessary code from InputStreamReader/OutputStreamWriter.init.
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
InputStreamReader/OutputStreamWriter.init."
* commit 'dcc9e76ad6cb529666944c87ddac1a368724d259':
Remove unnecessary code from InputStreamReader/OutputStreamWriter.init.
|
| | |\ \ \ \ \
| | | |_|/ / /
| | |/| | | | |
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Explicitly check that the decoder/encoder isn't null instead.
bug: 20452644
Change-Id: Ia43be6b03842af4e5c8945c8854db618b6ec357a
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
FileChannel when closing the RAF"
* commit 'd3f115a1c42e73b4759cc049fa7114439b847162':
java/io/RandomAccessFile: do not nullify FileChannel when closing the RAF
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
when closing the RAF"
* commit '73e9c6e19e1ffcf00cf55fc1529f9c6c1e8a3bdf':
java/io/RandomAccessFile: do not nullify FileChannel when closing the RAF
|
| | |\ \ \ \
| | | |_|/ /
| | |/| | |
| | | | | | |
RAF"
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
getChannel() should return always the same FileChannel, even if it's closed
Bug: 19892782
Change-Id: I5bd853b6b0931d9a6320a655c4ef982c9beaa6c0
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
RelativeDateTimeFormatter"
* commit 'bd7c7451634fa46aef554dd6e09421ce2d6033a6':
Ensure consistency of capitalization in RelativeDateTimeFormatter
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
RelativeDateTimeFormatter"
* commit '726db7aea4817a43a1fd094d18e57de5b244ee39':
Ensure consistency of capitalization in RelativeDateTimeFormatter
|
| | |\ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Contains refactoring. Benchmarks below to show no appreciable
negative performance impact to formatters. We do now cache a new
type of formatter.
Benchmarks measured in microseconds on mako.
Before:
DateIntervalFormat_formatDateRange_DATE 244
DateIntervalFormat_formatDateRange_DATE_TIME 256
DateIntervalFormat_formatDateRange_TIME 208
RelativeDateTimeFormatter_getRelativeDateTimeString 207.2
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 218.2
RelativeDateTimeFormatter_getRelativeTimeSpanString 70.5
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 67.4
After:
DateIntervalFormat_formatDateRange_DATE 237
DateIntervalFormat_formatDateRange_DATE_TIME 241
DateIntervalFormat_formatDateRange_TIME 200
RelativeDateTimeFormatter_getRelativeDateTimeString 149.4
RelativeDateTimeFormatter_getRelativeDateTimeString_ABBREV 161.8
RelativeDateTimeFormatter_getRelativeTimeSpanString 71.7
RelativeDateTimeFormatter_getRelativeTimeSpanString_ABBREV 69.0
Bug: 20247811
Change-Id: I51075f89ca6b1d8862335e0e5a4d67a5624edfa6
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
during connect()"
* commit 'b2b83acf152d37d3449feac881bde01c0b92e695':
Test that confirms a socket can be closed during connect()
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'f897520855758dfd0053f7b32c52abfaa4a16e2d':
Test that confirms a socket can be closed during connect()
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Added to confirm that a thread blocked during an infinite connect()
will unblock if the socket is closed.
Change-Id: If373d810cd5db7f68a28bab712d8a58ea1fc68be
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'ccb61deb8f478f91404b75cbe19cb7b9cbcb4f76':
Move java.nio.Charsets to libcore.util.
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '97ca5855f9baebb03a6c65363c613d305d62c52e':
Move java.nio.Charsets to libcore.util.
|
| | |\ \ \ \ \
| | | |_|_|/ /
| | |/| | | | |
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This isn't public API, and isn't related to NIO. It's only ever
used by java.lang.String.
bug: 10898787
Change-Id: I4e194406746b88ba7268c2553e467e7e05400b40
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
caught exceptions."
* commit '9cd55497d16cc2d8888dd204b5b63ace0645fa06':
X509Certificate: Narrow down the scope of caught exceptions.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
exceptions."
* commit '298bf64cb09d9e11f99aeda8a7a0a1f709ec91f9':
X509Certificate: Narrow down the scope of caught exceptions.
|
| | |\ \ \ \ |
|