| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added test coverage for public API methdos:
* multiplyExact(long, int)
Imported jdk/jdk11/test/jdk/java/lang/StrictMath/ExactArithTests.java
Upstream commit: 51151:1ddf9a99e4ad
* multiplyHigh(long, long)
Imported from jdk/jdk11/test/jdk/java/lang/Math/MultiplicationTests.java
Note that test is imported from Math, not StrictMath as APIs are the same
but StrictMath test suite is missing MultiplicationTests.java.
Upstream commit: 51151:1ddf9a99e4ad
* multiplyFull(int, int)
Added as regular test in luni/ as upstream has not coverage for this method
at all.
Bug: 183239578
Bug: 182167025
Test: atest CtsLibcoreOjTestCases:test.java.lang.StrictMath.ExactArithTests \
CtsLibcoreOjTestCases:test.java.lang.StrictMath.MultiplicationTests \
CtsLibcoreTestCases:libcore.java.lang.StrictMathTest
Change-Id: I12e94dc3a51ce49797983e1340c46d02babccc91
Merged-In: Idd03cde1c22861a040981ae8ce35afb66e1cf437
(cherry picked from commit ecebe98368f26ab08daadd297179fc6ee54af23c)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.hasQueuedPredecessors()
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.isHeldExclusively()
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquire(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquireShared(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryRelease(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryReleaseShared(long)
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject.AbstractQueuedLongSynchronizer.ConditionObject()
java.util.concurrent.locks.AbstractQueuedSynchronizer.hasQueuedPredecessors()
java.util.concurrent.locks.AbstractQueuedSynchronizer.isHeldExclusively()
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquire(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireShared(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryRelease(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryReleaseShared(int)
java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject.AbstractQueuedSynchronizer.ConditionObject()
Bug: 182165523
Test: atest AbstractQueuedLongSynchronizerTest
Test: atest AbstractQueuedSynchronizerTest
Change-Id: Ie3d68c294ed56f61479db089a6d1cef504c9b88c
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: I76f2b11dc2574e6230fe74bc41563527a97660d4
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: I1096e46ef08418f11f5c72645edf086bd3e44939
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: If858706de8e0dad6d896e57d7816326327c031a8
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1660319-java-util-concurrent-unit-tests-1
Reason for revert: Removing unit tests which cause too much divergence from upstream
Reverted Changes:
Idc905cc6b:Adding unit tests for exception classes
I700188e1d:Adding unit tests for ConcurrentSkipListSet
Ifa55996c2:Adding unit tests for ConcurrentSkipListMap
Ic2a58cae5:Adding unit tests for ConcurrentHashMap
Change-Id: I7b0828df7ed5f549adf734cf6808029649990d11
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.BrokenBarrierException.BrokenBarrierException(java.lang.String)
java.util.concurrent.CompletionException.CompletionException()
java.util.concurrent.CompletionException.CompletionException(java.lang.String) [X] java.util.concurrent.CompletionException.CompletionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.CompletionException.CompletionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.ExecutionException.ExecutionException()
java.util.concurrent.ExecutionException.ExecutionException(java.lang.String)
java.util.concurrent.ExecutionException.ExecutionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.RejectedExecutionException.RejectedExecutionException()
java.util.concurrent.RejectedExecutionException.RejectedExecutionException(java.lang.String, java.lang.Throwable)
java.util.concurrent.RejectedExecutionException.RejectedExecutionException(java.lang.Throwable)
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:BrokenBarrierExceptionTest
Test: atest CtsLibcoreOjTestCases:CompletionExceptionTest
Test: atest CtsLibcoreOjTestCases:ExecutionExceptionTest
Test: atest CtsLibcoreOjTestCases:RejectedExecutionExceptionTest
Change-Id: Idc905cc6baf770ff514adcf9ae00547832271e09
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.ConcurrentSkipListSet.ConcurrentSkipListSet(java.util.SortedSet)
java.util.concurrent.ConcurrentSkipListSet.clone()
java.util.concurrent.ConcurrentSkipListSet.descendingIterator()
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:ConcurrentSkipListSetTest
Change-Id: I700188e1d2aeaf1b9f8a20fb64443e9a1b22dd53
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.ConcurrentSkipListMap.clone()
java.util.concurrent.ConcurrentSkipListMap.firstEntry()
java.util.concurrent.ConcurrentSkipListMap.lastEntry()
Modified existing tests to cover the following APIs:
java.util.concurrent.ConcurrentSkipListMap.headMap(K)
java.util.concurrent.ConcurrentSkipListMap.subMap(K, K)
java.util.concurrent.ConcurrentSkipListMap.tailMap(K)
These APIs - headMap(K), subMap(K, K), tailMap(K) - are just a
simplified version of other equivalent APIs which were already
tested with the "default" parameters. Since those, fuller, APIs
are also tested in other places, the existing tests with "default"
parameters have been converted to just use the simplified API.
Change-Id: Ifa55996c27f385353e4393b5bac1f176276ab378
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:ConcurrentSkipListMapTest
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding tests to cover the following APIs:
java.util.concurrent.ConcurrentHashMap.newKeySet(int)
java.util.concurrent.ConcurrentHashMap.reduceEntries(long, java.util.function.Function, java.util.function.BiFunction)
java.util.concurrent.ConcurrentHashMap.reduceEntriesToDouble(long, java.util.function.ToDoubleFunction, double, java.util.function.DoubleBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceEntriesToInt(long, java.util.function.ToIntFunction, int, java.util.function.IntBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceEntriesToLong(long, java.util.function.ToLongFunction, long, java.util.function.LongBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceToDouble(long, java.util.function.ToDoubleBiFunction, double, java.util.function.DoubleBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceToInt(long, java.util.function.ToIntBiFunction, int, java.util.function.IntBinaryOperator)
java.util.concurrent.ConcurrentHashMap.reduceToLong(long, java.util.function.ToLongBiFunction, long, java.util.function.LongBinaryOperator)
Change-Id: Ic2a58cae5c56d3197445872aad1e7c30e20ba0df
Bug: 182165523
Test: atest CtsLibcoreOjTestCases:ConcurrentHashMap8Test
|
| |
|
|
|
|
| |
Fix: 183290003
Test: atest CtsLibcoreOjTestCases:test.java.awt.font.NumericShaper.MTTest
Change-Id: Ie324784c5482f79a455a81884ea94932fd9f6827
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Bug: 160356973
Test: treehugger
Change-Id: I5ed9ec74ed8a84a9eb7636c308e2fa6c4e77957b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Attempt 2
The 1st attempt is reverted due to http://b/181312360. The solution is
to mark Collection8Test as abstract class instead. Verified by running
`atest CtsLibcoreOjTestCases`
To add API coverage to classes, e.g. java.util.SplittableRandom
A few tests are removed because they are not compiled on Android.
SubmissionPublisherTest: Android has not SubmissionPublisher class
TimeUnit8Test: Android doesn't have all the APIs as upstream 9+181.
Atomic*9Test: Android doesn't have all the APIs as upstream 9+181
Note that test.java.util.concurrent.tck has some similiar tests as
tests in libcore/jsr166-tests, but they are not strict superset or
subset. Upstream apparently will add more tests over the time as
*9Test are new.
Test failures are added into expectations/knownfailures.txt.
b/181171596 to invesigate the failures in details
Bug: 119393918
Test: atest CtsLibcoreOjTestCases
Change-Id: I70ff582fe5331aa74c44f556722afcdc958e0ac8
|
| | |
| |
| |
| |
| |
| | |
Bug: 119393918
Test: N/A
Change-Id: I69cf81ef295ac7f4aca508be13f72a17970c17d9
|
| |\ \
| |/
|/|
| |
| |
| |
| |
| | |
"revert-1607393-test.java.util.concurrent.tck-XSSJZWQZEL"
* changes:
Revert "Import java.util.concurrent.tck tests from 9+181"
Revert "Android patch: Modify test.java.util.concurrent.tck test..."
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert submission 1607393-test.java.util.concurrent.tck
Reason for revert: http://b/181312360
Reverted Changes:
I9e054a400:Android patch: Modify test.java.util.concurrent.tc...
I767bdf805:Import java.util.concurrent.tck tests from 9+181
Change-Id: I5a4f960842198c2aadf110c823c85724b7d0eaff
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert submission 1607393-test.java.util.concurrent.tck
Reason for revert: http://b/181312360
Reverted Changes:
I9e054a400:Android patch: Modify test.java.util.concurrent.tc...
I767bdf805:Import java.util.concurrent.tck tests from 9+181
Change-Id: I8fa8752dc09b3911bfed02f8274d44c806aa8578
|
| | |
| |
| |
| |
| |
| | |
Bug: 119393918
Test: atest CtsLibcoreOjTestCases:test.java.awt
Change-Id: I7d4d31238de61d1bd99425746110f19fbc53ddd8
|
| |/
|
|
|
|
| |
Bug: 119393918
Test: N/A
Change-Id: I1294fb8b7c02de9970d1f81e07def2ce68f4588d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To add API coverage to classes, e.g. java.util.SplittableRandom
A few tests are removed because they are not compiled on Android.
SubmissionPublisherTest: Android has not SubmissionPublisher class
TimeUnit8Test: Android doesn't have all the APIs as upstream 9+181.
Atomic*9Test: Android doesn't have all the APIs as upstream 9+181
Note that test.java.util.concurrent.tck has some similiar tests as
tests in libcore/jsr166-tests, but they are not strict superset or
subset. Upstream apparently will add more tests over the time as
*9Test are new.
Test failures are added into expectations/knownfailures.txt.
b/181171596 to invesigate the failures in details
Bug: 119393918
Test: atest CtsLibcoreOjTestCases:test.java.util.concurrent
Change-Id: I9e054a400cdebd2a2f6ee77d804bd425d804d1af
|
| |
|
|
|
|
| |
Bug: 119393918
Test: N/A
Change-Id: I767bdf80569463727126c1ea1de53d0c1640ebd8
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Bug: 160356314
Test: atest CtsIcu4cTestCases CtsIcuTestCases CtsLibcoreTestCases CtsLibcoreOjTestCases CtsBionicTestCases CtsTextTestCases
Change-Id: I068d42d5184a169cd5b6291a383e4d161f84a286
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Imported copyOf method and unit tests.
Bug: 160356973
Test: atest CtsLibcoreOjTestCases:test.java.util.Map.MapFactories
Change-Id: I1b9459794ac4d8fee85af75ed11f9b06f7d5166d
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updated javadocs.
Imported methods:
* long dividedBy(Duration divisor)
* long toDaysPart()
* int toHoursPart()
* int toMinutesPart()
* int toSecondsPart()
* int toMillisPart()
* int toNanosPart()
* Duration truncatedTo(TemporalUnit)
Test: atest CtsLibcoreOjTestCases:tck.java.time.TCKDuration
Change-Id: Ie976bec8224cd7eb0e2d91956b081202fdb022a6
|
| |\ \
| |/
|/|
| |
| |
| | |
* changes:
Update LocalTime partially to 11+28
Update Math and StrictMath partially to 11+28
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Imported NANOS_PER_MILLI constant, updated javadocs.
Imported methods:
* LocalTime ofInstant(Instant, ZoneId)
* long toEpochSecond(LocalDate, ZoneOffset)
Added unit test from upstream.
Test: n/a
Change-Id: I814f1e9239c5b672e48bd54dabd0703927b91eea
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
StrictMath methods are essentially the same as Math's so include them
both in the same CL. They are also covered by unified unit tests.
Added two constants:
* DEGREES_TO_RADIANS
* RADIANS_TO_DEGREES
Added methods:
* multiplyExact(long, int)
* multiplyFull(int, int)
* multiplyHigh(long, long)
* floorDiv(long, int)
* floorMod(long, int)
Added unit tests.
Updated csv test expectations for toRadians() and toDegrees() as newly
introduced constants improve double precision slightly.
Test: atest CtsLibcoreOjTestCases:test.java.lang.Math.ExactArithTests \
CtsLibcoreOjTestCases:test.java.lang.Math.DivModTests \
CtsLibcoreOjTestCases:test.java.lang.Math.MultiplicationTests \
CtsLibcoreTestCases:libcore.java.math.RunCSVTests \
CtsLibcoreTestCases:libcore.java.math.RunCSVTestsStrict
Change-Id: Ic54b52e912faf335515fff37baf5854bdf28952b
|
| |/
|
|
|
|
|
|
| |
Imported copyOf method and unit tests.
Bug: 160356973
Test: atest CtsLibcoreOjTestCases:test.java.util.Collection.SetFactories
Change-Id: If77fbaa5c5dda38c32678f95821af3a4d0f93df7
|
| |
|
|
|
|
|
|
| |
No known functional change.
Bug: 139480281
Test: atest CtsLibcoreOjTestCases
Change-Id: I29754bc25541f0b295a97b3a5c0d225f31454dd1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CLs https://r.android.com/1237091 and https://r.android.com/940636
integrated two upstream OpenJDK commits to finalize support for
new Japanese Era Reiwa:
* http://hg.openjdk.java.net/jdk/jdk/rev/6a4abdb6749c
8174268: Declare a public field in JapaneseEra for the era starting May 2019
* http://hg.openjdk.java.net/jdk/jdk/rev/3d8934bf505a
8205432: Replace the placeholder Japanese era name
This CL adds the appropriate change markers for the differences
relative to the respective upstream revision
(OpenJDK 8u121-b13 or 8u222, depending on the file).
Bug: 149437171
Test: CtsLibcoreTestCases CtsLibcoreOjTestCases
Change-Id: I182bc98a374c127b2e6cee41991427f4fe5b9b54
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Integrate OpenJDK commit for new Japanese Era name:
* 8174268: Declare a public field in JapaneseEra for the era starting May 2019
http://hg.openjdk.java.net/jdk/jdk/rev/6a4abdb6749c
Bug: 149437171
Test: CtsLibcoreTestCases CtsLibcoreOjTestCases
Merged-In: I3e84ed1d809376d2c646ceadc3421b5fb55982b5
Change-Id: I3e84ed1d809376d2c646ceadc3421b5fb55982b5
|
| |
|
|
|
|
|
|
| |
data from icu65.1
Bug: 138853239
Test: atest CtsLibcoreOjTestCases:test.java.time.format.TestDateTimeTextProvider
Change-Id: Ib01fc67914523b81d253db1a2d43d9e17076520c
|
| |
|
|
|
|
|
|
|
|
|
| |
This comment has been removed in the upstream commit
http://hg.openjdk.java.net/jdk/jdk/rev/3d8934bf505a#l15.25 and should
have also been removed in http://r.android.com/940636, but we missed
that during merging.
Bug: 77858319
Test: m droid
Change-Id: Ifa1b08e72328aaefd48a615a445e2331e9407d5f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change should have been done as a part of
http://r.android.com/940636 but was accidentally missed
during merging. It includes the following upstream commit:
8205432: Replace the placeholder Japanese era name
http://hg.openjdk.java.net/jdk/jdk/rev/3d8934bf505a
Bug: 77858319
Test: cts-tradefed run cts-dev -m CtsLibcoreOjTestCases
Test: cts-tradefed run cts-dev -m CtsLibcoreTestCases
Change-Id: Ie74af5b9cb5559a829cbb671f87fd791d1680d8b
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Integrate OpenJDK commit for new Japanese Era name:
- 8205432: Replace the placeholder Japanese era name
http://hg.openjdk.java.net/jdk/jdk/rev/3d8934bf505a
Bug: 77858319
Test: CtsLibcoreTestCases
Test: CtsLibcoreOjTestCases
Change-Id: Ic07b536e7fd62b2d3e0fe4e9edd36d6c6f183b06
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This integrates all upstream changes up to OpenJDK 8u212-b01
It consists the following commits from upstream
- 8202088: Japanese new era implementation
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/bc0a3a91a074
- 8212941: Support new Japanese era in java.time.chrono.JapaneseEra
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/c35f231af17a
- 8171049: Era.getDisplayName doesn't work with non-IsoChronology
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/3cb43f3afe1c
- 8177678: Overstatement of universality of Era.getDisplayName() implementation
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/49bcab3213c1
- 8054214: JapaneseEra.getDisplayName doesn't return names if it's an additional era
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/0d9af9ca16e2
new Android-changed:
- JapaneseImperialCalendar.currentEra is changed to be hard-coded
because Zygote could initialize currentEra with incorrect system time.
- TestNonIsoFormatter#test_lenientEraYear is updated to use CLDR data
Bug: 77858319
Test: CtsLibcoreTestCases
Test: CtsLibcoreOjTestCases
Change-Id: I74b05bcbd39c5caec48c0de13e784127044b19ff
|
| |
|
|
|
|
|
|
|
|
| |
- Blacklist StringTest.test_23831 test until b/69599767 is fixed
- Other tests are changed due to changes in CLDR data (version 31 -> 32)
Bug: 68208236
Test: CtsLibcoreOjTestCases
Test: CtsLibcoreTestCases
Change-Id: Ic295f81c6140441876a3cf53b88affcc0001b9cd
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I accidentally reverted a change in TestFormatter to TestFormatter.java
in commit If50d927265136e8de964b54ae879291c7be85cfc.
Since the original change was unrelated to DecimalFormat, reverting it
was not supposed to happen in that commit.
The issue was not caught because CtsLibcoreOjTestCases wasn't run for
that test (only CtsLibcoreTestCases).
Bug: 69418703
Test: CtsLibcoreOjTestCases
(cherry picked from commit 044bd5e685b4bd9302ace9f77b7339cbe7e6f893)
Change-Id: I4c1935cc120966035e2891a41791fe563e308db1
Merged-In: If6a2dbb615a70739350cbae91cc33754afe2b793
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
java.text.DecimalFormat delegates most behaviour to
android.icu.text.DecimalFormat.
ICU 59 introduced a variety of behaviour changes many of which are not
desireable to inherit for java.text.DecimalFormat.
This changes java.text.DecimalFormat to delegate to
android.icu.text.DecimalFormat_ICU58_Android instead. This class is the
ICU 58 implementation of DecimalFormat that ICU ships for testing
purposes only.
This is a stop-gap measure until we can get the new implementation
configured in a way to be close enough to the old behaviour to use in
java.text.DecimalFormat.
This commit also partially reverts the test that were changed to
accomodate the switch to ICU 59 in commit
51f8d749d3100694d695fa0cd32d2fb99c02ba74.
The reason the revert is only partial is that not all test changes were
caused by code changes. A significant portion was caused by CLDR changes
which still affect us, even if we use DecimalFormat_ICU58.
Bug: 68143370
Test: CtsLibcoreTestCases
Change-Id: If50d927265136e8de964b54ae879291c7be85cfc
|
| |
|
|
|
|
|
|
|
|
| |
A 2017c data change for historic transitions broke one
of the upstream tests. See also
https://bugs.openjdk.java.net/browse/JDK-8190259
Bug: 68878031
Test: run cts -m CtsLibcoreOjTestCases -t tck.java.time.zone.TCKZoneRules
Change-Id: I6c15c0a19202d1ad90ec7d05b6e01750e0815849
|
| |
|
|
|
|
|
|
|
|
|
| |
- API change of SocketImpl.shutdownInput() and available()
- available() returns 0 after calling shutdownInput
- The change happens after 7 but before 8u60
Bug: 64065632
Test: cts-tradefed run cts-dev --module CtsLibcoreTestCases
Test: cts-tradefed run cts-dev --module CtsLibcoreOjTestCases
Change-Id: I53c14726e4c46b07bfd026bc010e3fc3c854dbcc
|
| |
|
|
|
|
|
| |
Bug: 62410016
Test: CtsLibcoreOjTestCases
Test: CtsLibcoreTestCases
Change-Id: I49de49cd356f6e28429e4fc22d493f77b5efe4c5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TCKLocalizedPrinterParser checks if java.time.format.DateTimeFormatter
and java.text.DateFormat produce the same output for equivalent input.
java.text.DateFormat takes into account DateFormat.is24Hour which
represents a user-setting forcing a 12- or 24-hour clock. java.time
intentionally doesn't respect that, which causes this test to fail when
either a 12h or a 24h clock is forced.
This commits clears the setting for the duration of the test and re-sets
it to its orginal value afterwards.
Test: cts --primary-abi-only -m CtsLibcoreOjTestCases
Bug: 62651881
Change-Id: I30bab1d5f04cac8bdfc9a455c8ddc3ff39271077
|
| |\
| |
| |
| |
| |
| | |
* changes:
Direct indirect CRL checks
Port certpath validation fixes from openjdk8u121-b13
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
changeset: 9222:eafce9a617ee
user: juh
date: Fri Mar 21 12:37:10 2014 -0700
summary: 8021804: Certpath validation fails if validity period of root cert does not include validity period of intermediate cert
Test: CtsLibcoreOjTestCases
Bug: 36461944
Change-Id: Ibf88a3a6bb2b22fc06172facf8c14dc72ecfe349
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the arrays of size 1000 from the set of test data for
stream tests.
On lower-power Android devices these tests often run for a very long
time and sometimes even time out or fail with out of memory errors.
At the same time this specific size didn't reveal any errors that
weren't also revealed at smaller sizes.
For example, org.openjdk.tests.java.util.stream.ExplodeOpTest goes from
running for 34:03 minutes to 3:42 minutes on a bullhead device.
Bug: 36719972
Test: CtsLibcoreOjTestCases
Change-Id: Iaa0bbb87254a5b7b919ea3c8efdb1ceffd6fa924
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API contract allows us to throw a SecurityException, so do
that unconditionally. Most processes on Android do not have
sufficient privileges to read mount information or to stat
mountpoints. This precludes us from implementing this API sensibly.
Also, make it clear that ACL / DOS and UserDefined file attribute
views are not supported. They require xattr support that may not
exist on our file systems. The tests were passing because they
silently bailed out.
Also, explicitly remove support for Dos / User and Acl based
FileAttributeViews. They are not supported, and were being dynamically
disabled at run time.
This removal is a step forward, except for an unfortunate wart in
the API; for some reason supportsFileAttributeView is a method in
the FileStore class, but getFileAttributeView is a method on the
FileSystemProvider class. This leaves callers without any method
to detect what AttributeViews a given file system provider supports,
but that should largely be irrelevant for most Android callers.
Bug: 36491936
Test: run cts -m CtsLibcoreOjTestCases, CtsLibcoreTestCases
Change-Id: I55cd191c52d15213c9f1d162d8f231733628ab75
|