test/tools/javac/types/TypeHarness.java

changeset 1689
137994c189e5
parent 962
0ff2bbd38f10
child 2047
5f915a0c9615
     1.1 --- a/test/tools/javac/types/TypeHarness.java	Thu Apr 11 19:15:56 2013 -0700
     1.2 +++ b/test/tools/javac/types/TypeHarness.java	Fri Apr 12 12:05:04 2013 +0200
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -309,7 +309,7 @@
    1.11          }
    1.12  
    1.13          public TypeVar TypeVariable(Type bound) {
    1.14 -            TypeSymbol tvsym = new TypeSymbol(0, syntheticName(), null, predef.noSymbol);
    1.15 +            TypeSymbol tvsym = new TypeVariableSymbol(0, syntheticName(), null, predef.noSymbol);
    1.16              tvsym.type = new TypeVar(tvsym, bound, null);
    1.17              return (TypeVar)tvsym.type;
    1.18          }

mercurial