On Wed 2 November 2005 07:07, Onno Scheffers wrote: > >I'm not sure how much of the generics type information is carried > >forward to runtime; > > Basically all of it....
As I understand it, no generics info gets carried forward to runtime, because the JDK5 implementation of generics implements 'erasure', which means the generic type information is erased at compile time, so that compiled classes are runtime compatible with older JREs. Thus, there is no way to dynamically discover generic type info at runtime, for instance, which is a real pain. -Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
