1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Annotate.java Tue Sep 07 17:32:52 2010 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Annotate.java Tue Sep 07 17:33:43 2010 +0100 1.3 @@ -182,6 +182,7 @@ 1.4 if (!method.type.isErroneous()) 1.5 buf.append(new Pair<MethodSymbol,Attribute> 1.6 ((MethodSymbol)method, value)); 1.7 + t.type = result; 1.8 } 1.9 return new Attribute.Compound(a.type, buf.toList()); 1.10 } 1.11 @@ -234,6 +235,7 @@ 1.12 l.head, 1.13 env)); 1.14 } 1.15 + na.type = expected; 1.16 return new Attribute. 1.17 Array(expected, buf.toArray(new Attribute[buf.length()])); 1.18 }