Mercurial > hg > openjdk > jigsaw > langtools
changeset 826:91b4f44c9742
6990209: JCK7-compiler lang/ICLS/icls006/icls00603/icls00603a.html#icls00603src test fails.
Reviewed-by: jjg
author | jjh |
---|---|
date | Fri, 03 Dec 2010 13:47:59 -0800 |
parents | aa6605d883dc |
children | d53b87e07b13 |
files | src/share/classes/com/sun/tools/javac/tree/TreeInfo.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/tree/TreeInfo.java Fri Dec 03 16:32:31 2010 +0000 +++ b/src/share/classes/com/sun/tools/javac/tree/TreeInfo.java Fri Dec 03 13:47:59 2010 -0800 @@ -502,7 +502,7 @@ else super.visitVarDef(that); } public void visitTypeParameter(JCTypeParameter that) { - if (that.type.tsym == sym) result = that; + if (that.type != null && that.type.tsym == sym) result = that; else super.visitTypeParameter(that); } }