langtools/src/share/classes/com/sun/tools/javac/comp/Attr.java
changeset 7628 e7baeb97d164
parent 7622 ee16e77d07f0
child 7643 a067a0cda531
equal deleted inserted replaced
7627:de2a86da165e 7628:e7baeb97d164
   674 
   674 
   675             attribBounds(tree.typarams);
   675             attribBounds(tree.typarams);
   676 
   676 
   677             // If we override any other methods, check that we do so properly.
   677             // If we override any other methods, check that we do so properly.
   678             // JLS ???
   678             // JLS ???
       
   679             chk.checkClashes(tree.pos(), env.enclClass.type, m);
   679             chk.checkOverride(tree, m);
   680             chk.checkOverride(tree, m);
   680 
   681 
   681             // Create a new environment with local scope
   682             // Create a new environment with local scope
   682             // for attributing the method.
   683             // for attributing the method.
   683             Env<AttrContext> localEnv = memberEnter.methodEnv(tree, env);
   684             Env<AttrContext> localEnv = memberEnter.methodEnv(tree, env);