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

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jun 7 07:37:38 EDT 2010


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

Pete Muir commented on WELD-546:
--------------------------------

I have altered the tests to show the issue - I knew more about the problem because Nik had showed me the order of the interactions. I also isolated the test classes.

> 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
>             Fix For: 1.0.2.CR1
>
>
> 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