langtools/src/share/classes/com/sun/tools/javac/comp/Lower.java
changeset 22442 8fd30fc4e3a3
parent 22163 3651128c74eb
child 23791 f1cdccbc1040
equal deleted inserted replaced
22441:05b907a2f359 22442:8fd30fc4e3a3
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   633     }
   633     }
   634 
   634 
   635     JCClassDecl makeEmptyClass(long flags, ClassSymbol owner, Name flatname,
   635     JCClassDecl makeEmptyClass(long flags, ClassSymbol owner, Name flatname,
   636             boolean addToDefs) {
   636             boolean addToDefs) {
   637         // Create class symbol.
   637         // Create class symbol.
   638         ClassSymbol c = reader.defineClass(names.empty, owner);
   638         ClassSymbol c = syms.defineClass(names.empty, owner);
   639         if (flatname != null) {
   639         if (flatname != null) {
   640             c.flatname = flatname;
   640             c.flatname = flatname;
   641         } else {
   641         } else {
   642             c.flatname = chk.localClassName(c);
   642             c.flatname = chk.localClassName(c);
   643         }
   643         }