< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java

Print this page
*** 204,11 ***
      public Env<AttrContext> classEnv(JCClassDecl tree, Env<AttrContext> env) {
          Env<AttrContext> localEnv =
              env.dup(tree, env.info.dup(WriteableScope.create(tree.sym)));
          localEnv.enclClass = tree;
          localEnv.outer = env;
-         localEnv.info.isSelfCall = false;
          localEnv.info.lint = null; // leave this to be filled in by Attr,
                                     // when annotations have been processed
          localEnv.info.isAnonymousDiamond = TreeInfo.isDiamond(env.tree);
          return localEnv;
      }
--- 204,10 ---

*** 257,11 ***
          Assert.checkNonNull(tree.sym);
          Env<AttrContext> localEnv =
              env.dup(tree, env.info.dup(WriteableScope.create(tree.sym)));
          localEnv.enclClass = predefClassDef;
          localEnv.outer = env;
-         localEnv.info.isSelfCall = false;
          localEnv.info.lint = null; // leave this to be filled in by Attr,
                                     // when annotations have been processed
          return localEnv;
      }
  
--- 256,10 ---
< prev index next >