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: | GuardedException Create Method from Hints | ||
---|---|---|---|
Product: | java | Reporter: | Fabiola Rios <fabiola> |
Component: | Editor | Assignee: | Max Sauer <msauer> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | ZIP project |
Description
Fabiola Rios
2007-08-21 16:19:46 UTC
Created attachment 46986 [details]
ZIP project
Low use-case, IMO, will not be so visible in production builds (exceptions are disabled there) and quite hard to fix. I have run into this problem several times. I believe that the add method function tries to add methods in alphabetical order, and if it attempts to add a method between two guarded methods, it hits a guarded block. Maybe it can be easily fixed by either adding methods to the bottom of a class, similar to the encapsulate fields function, or making sure it doesn't hit a guarded block when adding space between 2 guarded methods. *** Issue 158573 has been marked as a duplicate of this issue. *** Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next". NetBeans.org Migration: changing resolution from LATER to WONTFIX |