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.
When a user references a non-public class from the editor Netbeans gives misleading messages about being unable to resolve class name. The only way I discovered that the problem was the class accessibility was to manually type "import <ClassName>" by hand (because Fix Imports refused to work silently) and only then did Netbeans give me a clean error message. This is a usability problem because from a compiler point of view the symbol is unresolved, yet from a user's point of view "Fix Imports" refuses to work no matter what you do. Hitting SHIFT+ALT+I doesn't help either. It comes up with "No classes found". Again, this is misleading. Netbeans should do a better job at communicating to the user that the class name could be resolved but it could not be imported because it's non-public. Perhaps hitting SHIFT+ALT+I a second time should show non-public matches crossed out (much like hitting CTRL+SPACE twice shows all matches).
reproducible when CoS is disabled the error message is ok.
.
Reassigning all moonko's java/source bugs to myself.
Bug prior to 7.0, not touched for the last 2 years --> P4.
Target Milestone is wrong (6.8 has already been released).