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: | OrganizeImports removes "import static xxx.*" creating syntax errors | ||
---|---|---|---|
Product: | java | Reporter: | err <err> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | project with organize imports problem |
Description
err
2011-12-10 14:47:41 UTC
Product Version: NetBeans IDE 7.1 RC2 (Build 201111302200) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Unfortunately, I cannot reproduce the problem in the current dev build. Could you please create a simple test case and attach it to the issue? Thanks. Project attached - open the project LogMan There are some unresolved projects. Ignore them. - open com/raelity/logman/ui/HandlerFormatter - organize imports Observe the described problem Created attachment 114588 [details]
project with organize imports problem
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/a8856908cdcb Can/should this be "71patch1-candidate" ? (In reply to comment #6) > Can/should this be "71patch1-candidate" ? Sure, could you please verify the fix in trunk is working and it didn't cause any regression (mark as VERIFIED), please ? Thanks in advance. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a8856908cdcb User: Dusan Balek <dbalek@netbeans.org> Log: Issue #206218: OrganizeImports removes "import static xxx.*" creating syntax errors - fixed. Integrated into release71_fixes. http://hg.netbeans.org/releases/rev/f789519f2088 verified in patch1 |