Since it is only implemented with one anonymous class you could also think about making it a concrete PatternLRUCache
-- http://bernd.eckenfels.net -----Original Message----- From: Chris Hegarty <chris.hega...@oracle.com> To: Core-Libs-Dev <core-libs-dev@openjdk.java.net> Sent: Fr., 12 Feb. 2016 16:55 Subject: RFR [9 ] 8149656: Examine usages of sun.misc.LRUCache 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.