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