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.
OpenIDE API methods Line.markBreakpoint() and Line.markCurrent() were deprecated for NetBeans 3.3, because they were replaced by new Anntations API. When these deprecated methods are used, the lines in editor are not annotated, because the old code was disabled and only new Annotation API is supported. This causes that editor is NOT backward compatible. If anybody install NetBeans3.2 module into NetBeans3.3, the calls to deprecated API will not annotate line.
This is easy to fix. *Fortunately* I did not remove this functionality from editor. I just disabled drawing of breakpoints and current lines after the debuggercore has switched to new Annotation API. And so all what is necessary to do is to revert that change. That change was done as revision: <http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/e ditor/DrawLayerFactory.java.diff?r1=1.37&r2=1.38> and I reverted it in main trunk as revision: <http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/e ditor/DrawLayerFactory.java.diff?r1=1.40&r2=1.41> I tested the fix following way: * I started IDE and verified that all new annotation functionality stayed intact: I added some breakpoints, debug simple app and simulate compiler errors. All anntotions work fine * I wrote a simple application which uses deprecated API and execute it and old annotations appeared in editor. I will attach this application to this issue. Just store it in "test" package and execute it with Internal Executor. After that you should see all three types of old annotations: current line, error line and breakpoint line I would like to ask for approval for integrating this fix into NB 3.3.1. Thank you.
Created attachment 4248 [details] testing application
Approved. I'm very pleased to see backward compatibility problems discovered and fixed.
Approved by QA.
Approved
Integrated into 3.3.1.
Resolved for 3.3.x or earlier, no new info since then -> closing.