diff -r d5f6c475f475 -r abe992640c5a src/share/classes/com/sun/tools/javac/code/Symtab.java --- a/src/share/classes/com/sun/tools/javac/code/Symtab.java Tue Aug 11 01:11:37 2009 +0100 +++ b/src/share/classes/com/sun/tools/javac/code/Symtab.java Tue Aug 11 01:12:13 2009 +0100 @@ -193,7 +193,7 @@ public void initType(Type type, String name, String bname) { initType(type, name); - boxedName[type.tag] = names.fromString("java.lang." + bname); + boxedName[type.tag] = names.fromString("java.lang." + bname); } /** The class symbol that owns all predefined symbols. @@ -467,6 +467,7 @@ synthesizeMHTypeIfMissing(invokeDynamicType); synthesizeBoxTypeIfMissing(doubleType); synthesizeBoxTypeIfMissing(floatType); + synthesizeBoxTypeIfMissing(voidType); // Enter a synthetic class that is used to mark Sun // proprietary classes in ct.sym. This class does not have a