[cdi-dev] Clarification for manually resolving 'Instance'

Pete Muir pmuir at redhat.com
Sun Sep 25 16:08:03 EDT 2011


On 25 Sep 2011, at 21:06, Mark Struberg wrote:

>> The parameterized type resolution rules are correct, it's just there 
>> is no raw type of Instance to resolve.
> 
> 
> Yes, I think too, but was not sure if everyone do see it that way.

Ok, so until I actually see someone make a specific comment, I think we can leave this alone :-)

> 
> 
>> Should there be? Not sure if it would just be more confusing?
> 
> I already saw the usage of Instance.class without the TypeLiteral (which is pretty well hidden in the specs).
> And people wondered why that doesn't work ...

Ok, file an issue, we can think about how to improve this.


More information about the cdi-dev mailing list