Idea how to implement VT/VO compatibility in JVM
Stéphane Épardaud
stef at epardaud.fr
Thu Jan 22 14:18:48 UTC 2015
On 01/22/2015 03:08 PM, Palo Marton wrote:
> What Stephane probably needs is something like this:
>
> <I> I java.lang.reflect.Proxy.specializedToBoxed(Class<I> interface,
> Object specialized_object);
>
Well, yes again this can be solved by reflection less elegantly. But
note that if we have such a method, then we can provide autoboxing in
public fields whose type includes `any T` which either solves _that_
problem of my proposal, or at least means that both approaches will need
to solve this issue.
More information about the valhalla-dev
mailing list