[cp-patches] RFC: Class/VMClass merge from generics branch

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Apr 21 23:20:50 UTC 2006

On Fri, 2006-04-21 at 15:23 +0200, Jeroen Frijters wrote:
> Hi,
> Since we can now support annotations on the trunk I'd like to merge
> Class/VMClass with the versions from the generics branch (modulo any 1.5
> language feature, of course).

I thought we agreed that these should be exactly the same, and that new
language features shouldn't be part of the runtime interface?

> If your VM already supports the generics branch, no changes should be
> needed. If you don't yet support it, you need to implement
> VMClass.getDeclaredAnnotations, if you use a custom version of VMClass,
> you also need to copy VMClass.getEnumConstants.

Is implementing getDeclaredAnnotations in full really the best way to
go?  I'm not saying it isn't (you may have studied this in more detail
than I), but I was under the impression that some of it may be
simplified by a gnu.java.lang.annotation.Annotation with native parts.

> Unless someone complains, this will go in next week.
> Regards,
> Jeroen

Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
See http://www.fsf.org/philosophy/no-word-attachments.html

If you use Microsoft Office, support movement towards the end of vendor

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
public class gcj extends Freedom implements Java { ... }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060422/0411b80b/attachment.pgp

More information about the Classpath-patches mailing list