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: | Ability to refactor guarded code | ||
---|---|---|---|
Product: | editor | Reporter: | _ gtzabari <gtzabari> |
Component: | Refactoring | Assignee: | issues@java <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ gtzabari
2004-11-25 17:55:55 UTC
The problem is that the code in guarded blocks is generated by other modules (e.g. form editor). These modules use other files to generate the guarded blocks from (e.g. the *.form files used by form editor). So, even if the refactoring would change the code, as soon as you would open it in the form editor, it would be re-generated back to the uncompilable one. We will address this in promoE. FYI: At the beginning the refactoring module did change the code in guarded blocks. We had to spend several hours of work to add the guarded blocks checking to disallow that. *** This issue has been marked as a duplicate of 44267 *** *** Issue 73523 has been marked as a duplicate of this issue. *** |