I tried it - you are correct.

-Marshall

On 10/20/2016 3:29 PM, Richard Eckart de Castilho wrote:
> On 20.10.2016, at 21:27, Marshall Schor <m...@schor.com> wrote:
>> The interesting part is the Java type of the returned value - it is 
>> specified as
>>
>> Class<? extends Resource>
>>
>> which will throw a cast exception if the implementing class can't be cast to
>> Resource. 
> I believe due to type erasure, this does not throw a cast exception as long
> as the value is a Class.
>
> Best,
>
> -- Richard

Reply via email to