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.
"import static" is a feature in jdk5, but now it is still not support in NetBeans IDE. For example, Using "assertTrue" static method in a Test file. If you does not add "import static org.junit.Assert.*;" to import block, the "assertTure" will be marked as an Error, either the Alt+Insert shortcut or "Fix imports" or "Ctrl+shift+I" shortcut can not corret this error properly.
Created attachment 99207 [details] import-static-fix-action
Already filled as bug #71249. Thanks for the report anyway. *** This bug has been marked as a duplicate of bug 71249 ***