[ecj] Runtime visible annotations

Andrew Haley aph@redhat.com
Wed Nov 1 17:05:00 GMT 2006


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



More information about the Java-patches mailing list