src/share/classes/com/sun/tools/javac/tree/Pretty.java

changeset 461
0e75f9f6d1d4
parent 439
b1bb8164a9bd
child 470
b96ad32c004a
     1.1 --- a/src/share/classes/com/sun/tools/javac/tree/Pretty.java	Fri Jan 08 11:16:23 2010 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/Pretty.java	Fri Jan 08 11:28:49 2010 -0800
     1.3 @@ -468,6 +468,10 @@
     1.4                  print(" throws ");
     1.5                  printExprs(tree.thrown);
     1.6              }
     1.7 +            if (tree.defaultValue != null) {
     1.8 +                print(" default ");
     1.9 +                printExpr(tree.defaultValue);
    1.10 +            }
    1.11              if (tree.body != null) {
    1.12                  print(" ");
    1.13                  printStat(tree.body);

mercurial