src/share/classes/com/sun/tools/javac/code/Type.java

changeset 1689
137994c189e5
parent 1678
c635a966ce84
child 1755
ddb4a2bfcd82
equal deleted inserted replaced
1688:d13af7751456 1689:137994c189e5
1143 */ 1143 */
1144 public Type lower; 1144 public Type lower;
1145 1145
1146 public TypeVar(Name name, Symbol owner, Type lower) { 1146 public TypeVar(Name name, Symbol owner, Type lower) {
1147 super(TYPEVAR, null); 1147 super(TYPEVAR, null);
1148 tsym = new TypeSymbol(0, name, this, owner); 1148 tsym = new TypeVariableSymbol(0, name, this, owner);
1149 this.lower = lower; 1149 this.lower = lower;
1150 } 1150 }
1151 1151
1152 public TypeVar(TypeSymbol tsym, Type bound, Type lower) { 1152 public TypeVar(TypeSymbol tsym, Type bound, Type lower) {
1153 super(TYPEVAR, tsym); 1153 super(TYPEVAR, tsym);

mercurial