src/share/classes/com/sun/tools/javac/model/JavacTypes.java

changeset 1853
831467c4c6a7
parent 1645
97f6839673d6
child 2050
09301757bb32
     1.1 --- a/src/share/classes/com/sun/tools/javac/model/JavacTypes.java	Mon Jun 24 22:03:57 2013 -0400
     1.2 +++ b/src/share/classes/com/sun/tools/javac/model/JavacTypes.java	Tue Jun 25 16:12:53 2013 +0100
     1.3 @@ -139,7 +139,7 @@
     1.4          Type unboxed = types.unboxedType((Type) t);
     1.5          if (! unboxed.isPrimitive())    // only true primitives, not void
     1.6              throw new IllegalArgumentException(t.toString());
     1.7 -        return unboxed;
     1.8 +        return (PrimitiveType)unboxed;
     1.9      }
    1.10  
    1.11      public TypeMirror capture(TypeMirror t) {

mercurial