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

changeset 357
abe992640c5a
parent 267
e2722bd43f3a
child 554
9d9f26857129
child 571
f0e3ec1f9d9f
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/Symtab.java	Tue Aug 11 01:11:37 2009 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Symtab.java	Tue Aug 11 01:12:13 2009 +0100
     1.3 @@ -193,7 +193,7 @@
     1.4  
     1.5      public void initType(Type type, String name, String bname) {
     1.6          initType(type, name);
     1.7 -        boxedName[type.tag] = names.fromString("java.lang." + bname);
     1.8 +            boxedName[type.tag] = names.fromString("java.lang." + bname);
     1.9      }
    1.10  
    1.11      /** The class symbol that owns all predefined symbols.
    1.12 @@ -467,6 +467,7 @@
    1.13          synthesizeMHTypeIfMissing(invokeDynamicType);
    1.14          synthesizeBoxTypeIfMissing(doubleType);
    1.15          synthesizeBoxTypeIfMissing(floatType);
    1.16 +        synthesizeBoxTypeIfMissing(voidType);
    1.17  
    1.18          // Enter a synthetic class that is used to mark Sun
    1.19          // proprietary classes in ct.sym.  This class does not have a

mercurial