
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
| Build: |
7,744
|
| Fixed in build: |
8,256
|
| Severity: |
High
|
|
the "automatic method call and show result"-feature (the one having the watch glasses icon in the variables view) calls next() on iterators which messes up the logic. it should only evaluate the result of simple getters
|
|
Description
|
the "automatic method call and show result"-feature (the one having the watch glasses icon in the variables view) calls next() on iterators which messes up the logic. it should only evaluate the result of simple getters |
Show » |
|
public class TestIteratorRendering {
public static void main(String[] args) {
List<String> list = new ArrayList<String>();
list.add("one");
list.add("two");
list.add("three");
Iterator<String> iterator = list.iterator();
while (iterator.hasNext()) { // breakpoint here String str = iterator.next(); System.out.println(str); }
}
}
Could you give an example in which the "iterator.next()" expression is auto-created?