Commit 452d7ae5 authored by Joachim Sauer's avatar Joachim Sauer
Browse files

Change LinkedHashMap#removeEldestEntry behaviour.

The move to OpenJDK changed the behaviour of the removeEldestEntry
method in a way that is incompatible with earlier Android versions.
While that behaviour was never documented, we try to be compatible for
now. Future Android releases will probably revert to behaviour that's
closer to the RI.

Bug: 27929722
(cherry picked from commit fca5aaa0)

Change-Id: I3151428cb9444212b40749d4f425f25e521a29c6
parent 20f6ae8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment