src/share/classes/com/sun/tools/javac/comp/Attr.java

changeset 1603
6118072811e5
parent 1588
2620c953e9fe
parent 1571
af8417e590f4
child 1607
bd49e0304281
     1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Attr.java	Thu Feb 21 12:23:27 2013 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Attr.java	Thu Feb 21 17:49:56 2013 -0800
     1.3 @@ -3412,6 +3412,7 @@
     1.4              if (sym.name != names.init) {
     1.5                  chk.checkDeprecated(tree.pos(), env.info.scope.owner, sym);
     1.6                  chk.checkSunAPI(tree.pos(), sym);
     1.7 +                chk.checkProfile(tree.pos(), sym);
     1.8              }
     1.9  
    1.10              // Test (3): if symbol is a variable, check that its type and

mercurial