]
Dan Allen updated SOLDER-63:
----------------------------
Workaround Description: Put the Logger injection on a CDI bean and delegate to it.
Workaround: [Workaround Exists]
Fallback to member's declaring type if bean is unreachable at
Logger injection point
------------------------------------------------------------------------------------
Key: SOLDER-63
URL:
https://issues.jboss.org/browse/SOLDER-63
Project: Seam Solder
Issue Type: Bug
Components: Logging
Affects Versions: 3.0.0.Beta1
Reporter: Dan Allen
Assignee: Dan Allen
Fix For: 3.0.0.Beta2
There are situations when the InjectionPoint#getBean() is null. [1] In this case, the
producer for Logger should retrieve the type using
InjectionPoint.getMember().getDeclaringClass().
One case when this happens is when non-contextual injection is being used. We should
allow for this.
[1] InjectionPoint#getBean() JavaDoc states: "If the injection point does not belong
to a bean, return a null value."
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: