Verify two sun.* classes against OpenJDK 8u121-b13.
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
Loading
Please sign in to comment