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 232305

Summary: [74cat] Introduce field should be made Java EE aware
Product: javaee Reporter: misterm <misterm>
Component: CDIAssignee: Sergey Petrov <sj-nb>
Status: REOPENED ---    
Severity: normal CC: hmichel, janario, jlahoda, pjiricka
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 176240    
Bug Blocks:    

Description misterm 2013-07-05 15:08:45 UTC
Introduce field should not allow the user to choose initialize in field when the initialization expression directly uses a @Inject -ed member.

Product Version = NetBeans IDE Dev (Build 20130703-4ccc4c622a55)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Comment 1 Petr Jiricka 2013-07-17 13:21:40 UTC
Sergey, do you know if this is a CDI issue or core refactoring issue?
Comment 2 Sergey Petrov 2013-07-17 15:53:46 UTC
I can say I don't know  yet if cdi can affect general java hints, 
there is one more use case, I got recently, @Inject field was marked with hint "can be made final", once I apply this hint I got cdi hint "field must not be final".

Petr, do you know who may know?
Comment 3 Petr Jiricka 2013-07-18 07:17:34 UTC
I am cc'ing Honza Lahoda as the owner of the core Java hints, who may know.
Comment 4 Martin Balin 2016-07-07 08:54:35 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
Comment 5 Michel Graciano 2016-07-09 00:43:56 UTC
Still valid.