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 - Pasting a class from java.lang shouldn't result in the "Import Classes" popup
Summary: Pasting a class from java.lang shouldn't result in the "Import Classes" popup
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 13:44 UTC by lukas.eder
Modified: 2016-03-02 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (6.46 KB, image/png)
2016-03-02 13:44 UTC, lukas.eder
Details

Note You need to log in before you can comment on or make changes to this bug.
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.