Mercurial > hg > openjdk > jigsaw > langtools
changeset 806:abaceae7c9f8
7000973: isBogus needs to be called on the to-be-returned entry, not on the current entry
Reviewed-by: jjg
Contributed-by: jan.lahoda@oracle.com
author | jjg |
---|---|
date | Wed, 17 Nov 2010 15:07:43 -0800 |
parents | 1dd813a529cf |
children | 03177f49411d |
files | src/share/classes/com/sun/tools/javac/code/Scope.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/code/Scope.java Mon Nov 15 14:41:21 2010 +0000 +++ b/src/share/classes/com/sun/tools/javac/code/Scope.java Wed Nov 17 15:07:43 2010 -0800 @@ -528,7 +528,7 @@ } public Entry next() { Entry e = super.shadowed; - while (isBogus()) + while (e.isBogus()) e = e.shadowed; return e; }