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.
[1133] JDK 1.3.0-C Steps to reproduce: 1. Create class with empty extends: class Foo extends{ } 2. Save this class 3. Using PropertySheet set this class to extends e.g. Object 4. Invalid changes in code are made! The same problem with implements
The bug occurs only when the parsed hierarchy is intentionally updated with incomplete or bad data. The parser itself recovers at the end of the file and reports incorrect positions in the file; the fix would require tweaking in the parser engine and error recovery mechanics which is not a thing I would do near either FCS or NetBeans beta release.
This is a serious bug.
Won't fix with the current implementation of the parser. Since the parser reports opening brace (== the end of extends clause) at the end of the file, there's no reasonable way how to fix/detect such situation. There's already work in progress on a new parser implementation which will hopefully solve this problem as well.
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.