Re: Questions about JDK-8136353 "ClassValue preventing class unloading"

2016-01-07 Thread Jochen Theodorou
Hi Peter, Am 06.01.2016 um 21:34 schrieb Peter Levart: [...] Currently the cached instance of type T is reachable from Class instance and you are using Integer.TYPE in your example. Which means that the cached instance of T is never going to be released if ClassValue instance is reachable from c

Re: Questions about JDK-8136353 "ClassValue preventing class unloading"

2016-01-07 Thread Peter Levart
On 01/07/2016 03:05 PM, Jochen Theodorou wrote: Hi Peter, Am 06.01.2016 um 21:34 schrieb Peter Levart: [...] Currently the cached instance of type T is reachable from Class instance and you are using Integer.TYPE in your example. Which means that the cached instance of T is never going to be