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

changeset 780
1d625fbe6c22
parent 774
56f59723fddf
child 795
7b99f98b3035
equal deleted inserted replaced
779:5ef88773462b 780:1d625fbe6c22
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);

mercurial