This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ecj] Runtime visible annotations


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 '@':


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]