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.
Fix imports doesn't remove misspelled or missing types. For example: import java.lang.Translucent; public class Test {}
Dane, please take a look at it.
We do not remove missing types intensionally. This behaviour was introduced by fix of issue 63366 - see the reasons given there.
Please reconsider. This might be a matter of creating the right UI: a dialog could pop up and ask what to do.
Ok, there could be some ui or options handling this situation.
*** Issue 74485 has been marked as a duplicate of this issue. ***
Bumping this issue. I also came across a case like this: import java.text.*; import java.util.Format; public class Test { Format f; } Here the usage of "Format" is not highlighted as an error, although java.util.Format doesn not exist. In any case, it would be helpful if Fix Imports would remove the faulty import even in a case such as this one.