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.
If a warning/error dealign with incorrect import is found, it makes a lot of sense to offer at least one way to fix it either by removing the import (if it is unused) or to ask the user for a correct location of the imported file.
Also part of validation/quick fix.
*** Issue 79864 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 79864 ***
Aside from the circular statements that this and issue 79864 are duplicates of each other, my testing has shown that 127683 resolves the issues in these tickets. Unused imports can be removed, and invalid imports are picked up by validation. QA agrees that this is a duplicate issue and this ticket is closed to get it off the books.