commit | b1d62e01c7d838208f7ab1998bb61c2cc4e92d66 | [log] [tgz] |
---|---|---|
author | Darin Swanson <darins> | Thu Mar 28 17:25:30 2002 +0000 |
committer | Darin Swanson <darins> | Thu Mar 28 17:25:30 2002 +0000 |
tree | 5135f2e3bd6dd634eba90a0f17bfa386dda7a3dc | |
parent | c41f00cd0bb2b7121cd6972141a5f4cdf858e7eb [diff] |
Bug 12452 - NPE evaluating from anonymous inner type...
diff --git a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/ASTCuToEvalSourceMapper.java b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/ASTCuToEvalSourceMapper.java index cfe5ae0..8524e0d 100644 --- a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/ASTCuToEvalSourceMapper.java +++ b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/ASTCuToEvalSourceMapper.java
@@ -485,9 +485,9 @@ AnonymousClassDeclaration anonymousClassDeclaration = node.getAnonymousClassDeclaration(); if (anonymousClassDeclaration != null && !rightTypeFound() && containsLine(node)) { setRightTypeFound(true); - fSource= buildRunMethod(anonymousClassDeclaration.bodyDeclarations()); - } + fEvaluateNextEndTypeDeclaration = true; + } if (rightTypeFound()) {