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.

Bug 258212

Summary: Pasting a class from java.lang shouldn't result in the "Import Classes" popup
Product: java Reporter: lukas.eder
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot

Description lukas.eder 2016-03-02 13:44:11 UTC
Created attachment 158713 [details]
Screenshot

I've just copied @SuppressWarnings("unchecked") and pasted it in another class, when the "Import Classes" popup appeared, asking me whether I wanted to import the java.lang.SuppressWarnings class (see screenshot).

This shouldn't happen for types from java.lang.