Community
Participate
Working Groups
Using 1112, some line number attributes point to the first line in the source code. The line delimiter table should be corrupted. Critical. Need to be fixed asap.
To reproduce: 1. Create the following cu: public class X { void bar(int i) { } void foo() { int i = 1; // breakpoint here bar(i); } public static void main(String[] args) { new X().foo(); } } 2. Put a breakpoint where indicated 3. Debug 4. When breakpoint is hit, step over Observe: The debugger is poistioned to the begining of the cu.
Problem comes from fix for bug 25894, where implicit this reference got tagged with -1 source start (instead of 0 in the past). It exposes the fact we were recording source line attributes for implicit references, which we shouldn't have done anyway. Changing 3 things: - revert to setting source start to 0 for implicit this ref - do not record source line attribute for implicit this - use a bit to recognize an implicit this reference
Fixed
Verified.
*** Bug 26420 has been marked as a duplicate of this bug. ***