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 240552 - Wrong warning for CDI injection of java.security.Principal
Summary: Wrong warning for CDI injection of java.security.Principal
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 16:02 UTC by Juergen.Zimmermann
Modified: 2014-01-20 11:35 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 Juergen.Zimmermann 2014-01-16 16:02:16 UTC
However, when @Inject-ing java.security.Principal the Java editor shows this warning, although everything is working fine at runtime:
"Unsatisfied dependency: no bean matches the injection point".
Comment 1 Sergey Petrov 2014-01-16 18:15:35 UTC
what build do you use?
Comment 2 Juergen.Zimmermann 2014-01-17 10:00:10 UTC
I'm using the latest build "Dev 201401170001"
Comment 3 Sergey Petrov 2014-01-17 11:20:25 UTC
http://hg.netbeans.org/web-main/rev/09a34e58e132 fix
Comment 4 Quality Engineering 2014-01-18 04:50:23 UTC
Integrated into 'main-silver', will be available in build *201401180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/09a34e58e132
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #240552 check "java." package
Comment 5 Juergen.Zimmermann 2014-01-20 11:35:13 UTC
Confirmed: the issue is gone in build 201401200001