RFR [9 ] 8149656: Examine usages of sun.misc.LRUCache
Claes Redestad
claes.redestad at oracle.com
Fri Feb 12 15:59:45 UTC 2016
+1
nits: I guess the class should be made static if nested here, or even
made concrete to get rid of the anonymous class - that depends on if we
think we'll ever reuse this utility for other things.
/Claes
On 2016-02-12 16:45, Chris Hegarty wrote:
> sun.misc.LRUCache is a utility class for implementing Least Recently
> Used Caches. It is only used by j.u.Scanner in the JDK. It should be
> relocated to a more suitable location, possibly an inner class of
> Scanner.
>
> http://cr.openjdk.java.net/~chegar/8149656/
>
> -Chris.
More information about the core-libs-dev
mailing list