[
https://jira.jboss.org/browse/WELD-546?page=com.atlassian.jira.plugin.sys...
]
David Allen commented on WELD-546:
----------------------------------
I'm not able to reproduce this problem. Please see the following tests which should
be mirroring the code in the description of this bug:
tests/src/test/java/org/jboss/weld/tests/producer/field/named/ProducerBeanInvocationTest.java
tests/src/test/java/org/jboss/weld/tests/producer/method/ProducerBeanInvocationTest.java
Beans producing stuff have their proxies proxying the product
-------------------------------------------------------------
Key: WELD-546
URL:
https://jira.jboss.org/browse/WELD-546
Project: Weld
Issue Type: Bug
Components: Producers (Methods, Fields and Disposers)
Affects Versions: 1.0.1.Final
Reporter: Nicklas Karlsson
Assignee: David Allen
Given
@Model
public class GreetingBean {
@Produces
@Model
Greeting greeting = new Greeting();
public void ping() {
}
}
#{greetingBean.ping} gives an "Method not found" exception because the
GreetingBean_$$_WeldProxy is actually proxing Greeting
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira