summaryrefslogtreecommitdiff
path: root/ojluni/src/main/java/sun/invoke
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Move tests to postsubmit to reduce lab reporting load temporarily"Dan Shi2019-10-091-1/+1
| | | | | | | | This reverts commit 44ab8eefe6bda0c876437c3aa84d2ed2b809e877. Reason for revert: b/141855735 Change-Id: Idd702b1ba0ff4bbb3300848d4431873528a8cea0
* Move tests to postsubmit to reduce lab reporting load temporarilyDan Shi2019-09-301-1/+1
| | | | | | | | This should be reverted once extra quota is granted. Bug: 141855735 Test: none Change-Id: I4d9369d1befbb1f2c34e041829b6613536fb168e
* Add TEST_MAPPINGs for miscellaneous libcore packages.Pete Gillin2019-09-241-0/+12
| | | | | | | | | This adds package-level mappings for libcore.*, sun.*, android.system, dalvik.system, and org.json. Test: treehugger Bug: 130283485 Change-Id: I4f82d1fe316d4d0ac76951c43bdc08c69336a252
* Verify two sun.* classes against OpenJDK 8u121-b13.Tobias Thierer2018-05-311-16/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sun.* was generally forgotten in the update from OpenJDK8u60 to 8u121-b13. This CL covers: NameService: - Add missing Android-change marker. - Tweak a change marker in InetAddress to be more consistent. VerifyAccess: Only some of the methods in this class are used, and those are only used by MethodHandles. - integrate upstream change to isTypeVisible(). The upstream change is http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/c44179bce874 It was made for OpenJDK 8u77-b03 but was forgotten in Android's update from OpenJDK 8u60 to 8u121-b13. - because isTypeVisible() is unused on Android / dead code, also comment out that method as well as the others that are unused on Android. After this CL, the only thing left to verify in sun.* is one small change in FileChannelImpl. Bug: 74377400 Test: Treehugger Test: CtsLibcoreTestCases run at subsequent CL. Change-Id: I1c4d928c25871571321834cb602060261a4f9881
* Improve change markers for TimeUnit, VerifyAccess.Tobias Thierer2017-12-221-2/+21
| | | | | | | | | | | | | | | | | - Like the other classes in java.util.concurrent, TimeUnit is based on a revision of OpenJDK 9 between 9b113 and 9b114. - VerifyAccess is based on OpenJDK 8u60 and should be updated to OpenJDK 8u121-b13 in a future CL. Bug: 35910877 Bug: 62527337 Test: ${ANDROID_BUILD_TOP}/libcore/tools/upstream/upstream-diff \ -r ojluni,8u60 sun.invoke.util.VerifyAccess Test: ${ANDROID_BUILD_TOP}/libcore/tools/upstream/upstream-diff \ -r ojluni,9b113+ java.util.concurrent.TimeUnit Change-Id: Ic507161b36bdaa288f25978c5dca65506746b907
* Remove unused classes/files from libcoreShubham Ajmera2017-02-082-71/+0
| | | | | | | | | The change removes some unused classes from sun.* package. Also, removes java/time/overview.html from openjdk_java_files.mk. Bug: 34937610 Test: cts-tradefed run cts -m CtsLibcoreTestCases Change-Id: I7f1b1667606ff58b9a56dca417e9cdd2428c5356
* Introduce java.lang.invoke.MethodHandles.Narayan Kamath2016-09-211-0/+300
| | | | | | | | | | | | - Most APIs are currently unimplemented and will be filled in by subsequent changes. - This change includes basic tests for the APIs that are currently implemented. bug: 30550796 Test: make build-art-host, docs Test: vogar MethodHandlesTestVerifyAccessTest Change-Id: Idec3ee8072dc3a5f94b6fb7ddb08cbc25ed96693
* java.lang.invoke: Add implementation of MethodType.Narayan Kamath2016-08-014-0/+814
Imported from OpenJdk8u60. The only significant changes are that : - The adapter / lambda-form caches on MethodType / MethodTypeForm has been removed because it will not be used on Android. - Several unused package private methods have been removed. - Links to MethodHandle API have temporarily been replaced with @code markers. They will be resurrected when the MethodHandle class is imported. All changes have been annotated with change markers. bug: 30550796 test: make checkbuild + MethodTypeTest on host / target. Change-Id: I6e745d940f5f2949e40ff96fda5f91ba2afa267e