[RFA] JVMTI/JDWP GetAllLoadedClasses

Tom Tromey tromey@redhat.com
Thu May 3 00:40:00 GMT 2007


>>>>> "Kyle" == Kyle Galloway <kgallowa@redhat.com> writes:

>> Just for future reference, there's no need to cast from a subclass to
>> a superclass.  This can be done implicitly.

Kyle> That's strange, when I take the cast out I get a "cannot convert from
Kyle> java::util::HashSet* to java::util::Collection* error", so I have left
Kyle> it in.

Oops, sorry.  I forgot briefly that Collection is an interface and we
don't expose this kind of inheritance via CNI.

Tom



More information about the Java-patches mailing list