6983239: TreeScanner does not scan default value for method

Reviewed-by: mcimadamore
This commit is contained in:
Jonathan Gibbons 2010-09-09 13:31:28 -07:00
parent a5aa8a0943
commit 949983f6b0
5 changed files with 345 additions and 123 deletions

View file

@ -141,6 +141,7 @@ public class TreeScanner<R,P> implements TreeVisitor<R,P> {
r = scanAndReduce(node.getReceiverAnnotations(), p, r);
r = scanAndReduce(node.getThrows(), p, r);
r = scanAndReduce(node.getBody(), p, r);
r = scanAndReduce(node.getDefaultValue(), p, r);
return r;
}