1.1 --- a/src/share/classes/com/sun/tools/javac/code/Symtab.java Thu Sep 04 14:56:35 2008 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Symtab.java Tue Sep 09 10:28:21 2008 -0700 1.3 @@ -93,8 +93,7 @@ 1.4 */ 1.5 public final ClassSymbol errSymbol; 1.6 1.7 - /** An instance of the error type. 1.8 - */ 1.9 + /** A value for the errType, with a originalType of noType */ 1.10 public final Type errType; 1.11 1.12 /** A value for the unknown type. */ 1.13 @@ -348,7 +347,7 @@ 1.14 1.15 // create the error symbols 1.16 errSymbol = new ClassSymbol(PUBLIC|STATIC|ACYCLIC, names.any, null, rootPackage); 1.17 - errType = new ErrorType(errSymbol); 1.18 + errType = new ErrorType(errSymbol, Type.noType); 1.19 1.20 // initialize builtin types 1.21 initType(byteType, "byte", "Byte"); 1.22 @@ -389,6 +388,9 @@ 1.23 scope.enter(booleanType.tsym); 1.24 scope.enter(errType.tsym); 1.25 1.26 + // Enter symbol for the errSymbol 1.27 + scope.enter(errSymbol); 1.28 + 1.29 classes.put(predefClass.fullname, predefClass); 1.30 1.31 reader = ClassReader.instance(context);