-
Bug
-
Resolution: Won't Fix
-
P3
-
7
-
generic
-
generic
For example:
if (abc == 0) {
int ww = 89;
int xx = 90;
} else {
If a JDI client is stopped on the } else { line and calls StackFrame.visibleVariables(),
it won't see ww and xx even though they are still in scope.
Run this jtreg test to reproduce:
/java/svc/ws/regressionTestsInWaiting/JdbWrongLocals.sh
if (abc == 0) {
int ww = 89;
int xx = 90;
} else {
If a JDI client is stopped on the } else { line and calls StackFrame.visibleVariables(),
it won't see ww and xx even though they are still in scope.
Run this jtreg test to reproduce:
/java/svc/ws/regressionTestsInWaiting/JdbWrongLocals.sh