src/share/classes/com/sun/tools/javac/comp/Attr.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/classes/com/sun/tools/javac/comp/Attr.java	Fri Jan 18 02:48:24 2013
--- new/src/share/classes/com/sun/tools/javac/comp/Attr.java	Fri Jan 18 02:48:23 2013

*** 3272,3281 **** --- 3272,3282 ---- // resolved) if (sym.name != names.init) { chk.checkDeprecated(tree.pos(), env.info.scope.owner, sym); chk.checkSunAPI(tree.pos(), sym); + chk.checkProfile(tree.pos(), sym); } // Test (3): if symbol is a variable, check that its type and // kind are compatible with the prototype and protokind. return check(tree, owntype, sym.kind, resultInfo);

src/share/classes/com/sun/tools/javac/comp/Attr.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File