Bug #214455 - NB erroneously attempts to create a FieldBreakpoint instead of a Line breakpoint on an anonymous inner class
Martin Entlicher <[email protected]> Tue, 26 Jun 2012 13:36:05 +0200
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
http://netbeans.org/bugzilla/show_bug.cgi?id=214455 Description: The logic, that decides which kind of breakpoint should be submitted at the selected line, iterates through the javac source tree to find the field declaration for field breakpoints. But it has iterated too much, it can get from the method of an inner class to the declared outer field. Fix: The fix is to stop the iteration process when we find a method tree. Risk: Localized to submission of field breakpoints The fix has been reviewed by Jaroslav Havlin Changeset: http://hg.netbeans.org/main-golden/rev/2173f5b2994e