[weld-issues] [JBoss JIRA] Closed: (WELD-296) StackOverflow Decorators

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Dec 2 08:27:33 EST 2009

     [ https://jira.jboss.org/jira/browse/WELD-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-296.

> StackOverflow Decorators
> ------------------------
>                 Key: WELD-296
>                 URL: https://jira.jboss.org/jira/browse/WELD-296
>             Project: Weld
>          Issue Type: Bug
>          Components: Interceptors and Decorators
>            Reporter: Roger Kitain
>            Assignee: Marius Bogoevici
> See: https://glassfish.dev.java.net/issues/show_bug.cgi?id=11045
> After export javax.decorator package by modify weld-osgi-bundle.jar, I can
> deploy the application. That error you encountered may be caused by there is no
> qualifiers on the field of PaymenetService in Payment class. 
> I have attached the NetBeans 6.8 project of this example application.
> However, there are recursive calls on the decorated method on the Decorator
> class (SecurePaymenService.pay) and causes stack overflow. Also, if I add a
> abstract modifier on the Decorator class, there is an error when run the
> application, states that can't instantiate class (the decorator class).
> I think this recursive call issue is a bug of WELD and not Glassfish, because I
> can reproduce it on Tomcat (use a modified number-guess example application, add
> a decorator). However, if you investigate this issue (and the instantiation
> abstract Decorator class issue) will be very appreciate. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list