Fri, 03 Dec 2010 13:47:59 -0800
6990209: JCK7-compiler lang/ICLS/icls006/icls00603/icls00603a.html#icls00603src test fails.
Reviewed-by: jjg
src/share/classes/com/sun/tools/javac/tree/TreeInfo.java | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/classes/com/sun/tools/javac/tree/TreeInfo.java Fri Dec 03 16:32:31 2010 +0000 1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/TreeInfo.java Fri Dec 03 13:47:59 2010 -0800 1.3 @@ -502,7 +502,7 @@ 1.4 else super.visitVarDef(that); 1.5 } 1.6 public void visitTypeParameter(JCTypeParameter that) { 1.7 - if (that.type.tsym == sym) result = that; 1.8 + if (that.type != null && that.type.tsym == sym) result = that; 1.9 else super.visitTypeParameter(that); 1.10 } 1.11 }