[weld-issues] [JBoss JIRA] Commented: (WELD-546) Beans producing stuff have their proxies proxying the product

David Allen (JIRA) jira-events at lists.jboss.org
Sun Jun 6 16:26:25 EDT 2010

    [ https://jira.jboss.org/browse/WELD-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12534104#action_12534104 ] 

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:

> 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


More information about the weld-issues mailing list