[graalvm-users] Type Erasure and Graalvm

Oleg Šelajev OLEG.SELAJEV at ORACLE.COM
Wed Feb 20 10:10:54 PST 2019


Hi Greg,

no GraalVM doesn't do anything to remediate that. Type erasure happens at the javac time, and HotSpot currently doesn't reify it at runtime. By extension neither does GraalVM. 

Hope this helps, 
Oleg

> On 20 Feb 2019, at 17:46, Greg Zoller <gzoller at gmail.com> wrote:
> 
> Hello,
> 
> Does Graalvm do anything to remediate Java’s throwing away of valuable type information so that it can be accessed at runtime via reflection?  e.g. a List of some type T—I want to know the runtime type of T.
> 
> Greg
> 
> Sent from my iPhone
> _______________________________________________
> GraalVM-Users mailing list
> GraalVM-Users at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/graalvm-users




More information about the GraalVM-Users mailing list