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.
Summary: | Better exception diagnostic regading issue 33040 | ||
---|---|---|---|
Product: | editor | Reporter: | Miloslav Metelka <mmetelka> |
Component: | -- Other -- | Assignee: | issues@editor <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | ttran |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Binary patch - please copy the class(es) into nb-editor.jar manually |
Description
Miloslav Metelka
2003-04-24 12:37:12 UTC
Fixed in maintrunk: Checking in libsrc/org/netbeans/editor/LineRootElement.java; /cvs/editor/libsrc/org/netbeans/editor/LineRootElement.java,v <-- LineRootElement.java new revision: 1.5; previous revision: 1.4 done Created attachment 10136 [details]
Binary patch - please copy the class(es) into nb-editor.jar manually
Mato, could you please review the fix? The code was originally present in the source but it was commented out so I've uncommented it and improved slightly. I approve the fix. The patch does not add any new functionality it just adds pre-checking of the correctness of the requested line index and adds explanation why the given line index is invalid to the exception's text. approved for 3.5 Integrated into release35: Checking in libsrc/org/netbeans/editor/LineRootElement.java; /cvs/editor/libsrc/org/netbeans/editor/LineRootElement.java,v <-- LineRootElement.java new revision: 1.4.2.1; previous revision: 1.4 done Verified patch in nevada build 030422. |