langtools/src/share/classes/com/sun/tools/javac/comp/Lower.java
changeset 14444 2069262b27c5
parent 14443 91c05eb19277
child 14547 86d8d242b0c4
equal deleted inserted replaced
14443:91c05eb19277 14444:2069262b27c5
   500      */
   500      */
   501     JCNewClass makeNewClass(Type ctype, List<JCExpression> args) {
   501     JCNewClass makeNewClass(Type ctype, List<JCExpression> args) {
   502         JCNewClass tree = make.NewClass(null,
   502         JCNewClass tree = make.NewClass(null,
   503             null, make.QualIdent(ctype.tsym), args, null);
   503             null, make.QualIdent(ctype.tsym), args, null);
   504         tree.constructor = rs.resolveConstructor(
   504         tree.constructor = rs.resolveConstructor(
   505             make_pos, attrEnv, ctype, TreeInfo.types(args), null, false, false);
   505             make_pos, attrEnv, ctype, TreeInfo.types(args), List.<Type>nil());
   506         tree.type = ctype;
   506         tree.type = ctype;
   507         return tree;
   507         return tree;
   508     }
   508     }
   509 
   509 
   510     /** Make an attributed unary expression.
   510     /** Make an attributed unary expression.