1.1 --- a/src/share/classes/com/sun/tools/javac/code/Symbol.java Fri Aug 08 17:38:20 2008 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Symbol.java Fri Aug 08 17:43:24 2008 +0100 1.3 @@ -923,14 +923,7 @@ 1.4 public Object call() { 1.5 JavaFileObject source = log.useSource(env.toplevel.sourcefile); 1.6 try { 1.7 - // In order to catch self-references, we set 1.8 - // the variable's declaration position to 1.9 - // maximal possible value, effectively marking 1.10 - // the variable as undefined. 1.11 - int pos = VarSymbol.this.pos; 1.12 - VarSymbol.this.pos = Position.MAXPOS; 1.13 Type itype = attr.attribExpr(initializer, env, type); 1.14 - VarSymbol.this.pos = pos; 1.15 if (itype.constValue() != null) 1.16 return attr.coerce(itype, type).constValue(); 1.17 else