GCJ and generics
Cedric Berger
cedric@berger.to
Tue Oct 14 11:58:00 GMT 2003
Alan Eliasen wrote:
> Hmmmm... yes, in a way, that's right. However, for example, in one
>case I listed,
>
>public class BasicObjectEnumeration<T>
> implements java.util.Enumeration<String>
>[...]
> Decompilation shows that one of these methods is just a bridge that
>delegates to the other:
>
>
Exactly.
> The Java spec (section 8.4.2) indicates that:
>
>
That's the JVM spec that count here, not the language spec.
>or
>that the return type can be considered in some way to be part of the
>signature.
>
Exactly, the return type is always part of the signature at the
classfile level.
Cedric
More information about the Java
mailing list