This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [ecj] Runtime visible annotations
- From: Andrew Haley <aph at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 1 Nov 2006 17:04:45 +0000
- Subject: Re: [ecj] Runtime visible annotations
- References: <17736.53392.846609.324976@zebedee.pink>
A minor thinko: we weren't setting the result of
parseAnnotationElement.
Andrew.
2006-11-01 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (parseAnnotationElement): Set result from
anno_class.
Index: java/lang/natClass.cc
===================================================================
--- java/lang/natClass.cc (revision 118387)
+++ java/lang/natClass.cc (working copy)
@@ -1181,6 +1181,7 @@
if (! anno_class)
// FIXME: original exception...
throw new TypeNotPresentException(u_name->toString(), NULL);
+ result = anno_class;
}
break;
case '@':