src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
changeset 51177 ae39ec0b0502
parent 50287 64c880300d9b
child 55622 0b470386f5f7
equal deleted inserted replaced
51176:0d02393d9115 51177:ae39ec0b0502
   377                 c.flatname = names.fromString(tree.packge + "." + name);
   377                 c.flatname = names.fromString(tree.packge + "." + name);
   378                 c.sourcefile = tree.sourcefile;
   378                 c.sourcefile = tree.sourcefile;
   379             c.completer = Completer.NULL_COMPLETER;
   379             c.completer = Completer.NULL_COMPLETER;
   380                 c.members_field = WriteableScope.create(c);
   380                 c.members_field = WriteableScope.create(c);
   381                 tree.packge.package_info = c;
   381                 tree.packge.package_info = c;
       
   382                 tree.packge.sourcefile = tree.sourcefile;
   382             }
   383             }
   383             classEnter(tree.defs, topEnv);
   384             classEnter(tree.defs, topEnv);
   384             if (addEnv) {
   385             if (addEnv) {
   385                 todo.append(packageEnv);
   386                 todo.append(packageEnv);
   386             }
   387             }