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 233713 - Need special handle for enormous number of injectable objects
Summary: Need special handle for enormous number of injectable objects
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-31 12:37 UTC by Sergey Petrov
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2013-07-31 12:37:13 UTC
Currently ide became almost unusable after next:
create ee7 web project
add a class
1. add line @Inject with proper import statement
2. after the line type 'private Object a;'

go to next line 1ine and repeat 1-2 (may not be necessary)

go to next line and type 'private Runn' and try cc. It will last forever as  cdi collect all elements from 'getElements' which are 'Objects' and as it  need to be dome withing parsing thread(??) it block other parsing based activities for a long time. 
there are number of options - do not collect more then 'max number' of injectable objects, collect with filter applied at time of collection (will not work in case above, but will help in more valid use cases), have some block list like 'Object' and do not support navigation for block list. May there be some issue with 'cancel' of this operation also.
Comment 1 Martin Balin 2016-07-07 08:53:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss