This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA] JVMTI/JDWP GetAllLoadedClasses
>>>>> "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