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

changeset 1603
6118072811e5
parent 1588
2620c953e9fe
parent 1571
af8417e590f4
child 1607
bd49e0304281
equal deleted inserted replaced
1602:dabb36173c63 1603:6118072811e5
3410 // resolved) 3410 // resolved)
3411 3411
3412 if (sym.name != names.init) { 3412 if (sym.name != names.init) {
3413 chk.checkDeprecated(tree.pos(), env.info.scope.owner, sym); 3413 chk.checkDeprecated(tree.pos(), env.info.scope.owner, sym);
3414 chk.checkSunAPI(tree.pos(), sym); 3414 chk.checkSunAPI(tree.pos(), sym);
3415 chk.checkProfile(tree.pos(), sym);
3415 } 3416 }
3416 3417
3417 // Test (3): if symbol is a variable, check that its type and 3418 // Test (3): if symbol is a variable, check that its type and
3418 // kind are compatible with the prototype and protokind. 3419 // kind are compatible with the prototype and protokind.
3419 return check(tree, owntype, sym.kind, resultInfo); 3420 return check(tree, owntype, sym.kind, resultInfo);

mercurial