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 - [74cat] Introduce field should be made Java EE aware
Summary: [74cat] Introduce field should be made Java EE aware
Status: REOPENED
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on: 176240
Blocks:
  Show dependency tree
 
Reported: 2013-07-05 15:08 UTC by misterm
Modified: 2016-07-09 00:43 UTC (History)
4 users (show)

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 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.