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

changeset 1569
475eb15dfdad
parent 1456
f20568328a57
child 1570
f91144b7da75
equal deleted inserted replaced
1568:5f0731e4e5e6 1569:475eb15dfdad
3272 // resolved) 3272 // resolved)
3273 3273
3274 if (sym.name != names.init) { 3274 if (sym.name != names.init) {
3275 chk.checkDeprecated(tree.pos(), env.info.scope.owner, sym); 3275 chk.checkDeprecated(tree.pos(), env.info.scope.owner, sym);
3276 chk.checkSunAPI(tree.pos(), sym); 3276 chk.checkSunAPI(tree.pos(), sym);
3277 chk.checkProfile(tree.pos(), sym);
3277 } 3278 }
3278 3279
3279 // Test (3): if symbol is a variable, check that its type and 3280 // Test (3): if symbol is a variable, check that its type and
3280 // kind are compatible with the prototype and protokind. 3281 // kind are compatible with the prototype and protokind.
3281 return check(tree, owntype, sym.kind, resultInfo); 3282 return check(tree, owntype, sym.kind, resultInfo);

mercurial