On 7 January 2016 at 07:34, Peter Levart <peter.lev...@gmail.com> wrote:
> ClassValue API could use a different strategy and reference the cached
> instance of type T from ClassValue<T> instance instead, but then you would
> have a problem with ClassValue instances reachable from other class loaders
> than the cached instances of type T.
> Regards, Peter

Is the problem with this strategy [together with a
java.util.WeakHashMap] that without this strong reference to the Class
object, the Class itself could be collected?

William Leslie

Likely much of this email is, by the nature of copyright, covered
under copyright law.  You absolutely MAY reproduce any part of it in
accordance with the copyright law of the nation you are reading this
in.  Any attempt to DENY YOU THOSE RIGHTS would be illegal without
prior contractual agreement.
mlvm-dev mailing list

Reply via email to