Issue Type: Bug Bug
Affects Versions: 2.1.0.Final
Assignee: Jozef Hartinger
Created: 08/Nov/13 7:48 AM
Description:

When trying to inject an existing object, not a CDI bean, BeanManager.createInjectionTarget can give all kinds of warnings about the class:
WELD-001519: An InjectionTarget is created for an abstract class Foo. It will not be possible to produce instances of this type!
WELD-001529: An InjectionTarget is created for a class Foo which does not have any appropriate constructor.
WELD-001533: An InjectionTarget is created for a non-static inner class Foo. It will not be possible to produce instances of this type!

These warnings are unavoidable, spamming the log with hundreds of warnings for all classes I need to create an InjectionTarget for. As long as I do not call produce on the targets, there is no problem. I think these level of these should be lowered, probably to debug, as you are only interested in these messages when debugging injection targets.

Project: Weld
Priority: Minor Minor
Reporter: Emond Papegaaij
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to