Patch differences in classes taken from older OpenJDK version

Few of the classes were found to have taken from OpenJDK b132,
and OpenJDK 8u60 includes few fixes to those classes. Some of the
changes were ignored which included change in sort methods for List and
Collections due to the behavioral changes.

Bug: 28239805
(cherry-picked from commit c5b84fc0e3e3864d63717824a3195d04496d59fb)
Change-Id: I20841bbd53e22e4f0a6b786df21d30d96ba102ab
2 files changed