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.
Summary: | Copy/pasting a code with automatically added imports duplicates type identifiers | ||
---|---|---|---|
Product: | java | Reporter: | J Bachorik <yardus> |
Component: | Editor | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | muellermi |
Priority: | P2 | Keywords: | REGRESSION |
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test project |
Description
J Bachorik
2011-10-14 09:33:34 UTC
Created attachment 112045 [details]
Test project
Problem seems to be a race condition in ClipboardHandler.runQuickly that runs the task computing imports twice sometimes. Oops. Thanks for the pointer. I intended to do create-schedule, but did post-schedule instead, which actually runs the task twice. http://hg.netbeans.org/jet-main/rev/03bb18e2f697 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/03bb18e2f697 User: Jan Lahoda <jlahoda@netbeans.org> Log: #203702: post already scheduled the task, no need (and actually harmful) to schedule it again. *** Bug 203692 has been marked as a duplicate of this bug. *** verified |