This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Compile the attached DebuggerTest2.java with fastjavac. 1. set a breakpoint at line 11 and start the program 2. step (F8) through the code until line 18 is reached 3. the next step halts at line 20, but it really should be 11, because we have stepped through the if block and are now at the for again, not in the else block. It does not execute line 20, it just marks it as next line and that is wrong. This behavior occurs with the NetBeans debugger AND with JDB. But it does not occur, if the class was compiled with standard javac. So, it's fastjavac that causes the debuggers to display the wrong line.
Created attachment 4784 [details] The test case.
Bug entered into Bugtraq with a number 4643841
Fixed in fastjavac build #532
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component