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.
I noticed that com.sun classes are shown in code completion. I think it would be better to not show these classes by default as this affects the portability of an application.
Please note that not all com.sun.* packages should be hidden. For example, Jersey publishes com.sun.jersey.multipart.MultiPart which is used by end-users (and is portable).