[ http://issues.apache.org/jira/browse/BEEHIVE-1079?page=all ] matt c closed BEEHIVE-1079: ---------------------------
Verified fixed using local beehive build synced to SVN 417573M. Verified that this bug has been fixed and that the code compiles. Created a manual test case to verify this. Closing. > annotations on event set methods that interact with interceptors can result > in compilation errors > ------------------------------------------------------------------------------------------------- > > Key: BEEHIVE-1079 > URL: http://issues.apache.org/jira/browse/BEEHIVE-1079 > Project: Beehive > Type: Bug > Components: Controls > Environment: xp > Reporter: matt c > Assignee: matt c > Fix For: v.next > > An event set within a control interface with annotated methods can result in > compilation errors. The errors will only occur when the interface has no > methods of its own (annotated or not). > Repro: > Easy, just create a control interface with an event set that has annotated > methods that interact with interceptors and compile (if you add any method to > the interface you will not see the error). Ex: > @ControlExtension > public interface CallbackOnlyControl extends ExtensibleControl > @EventSet > public interface CallbackHere extends MessageBufferFailure { > @MessageBuffer(retryCount=2, retryDelay="1s") > void bufferedCallback(); > } > } > Error: > [apt] > D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera > tedsrc\controls\stateless\CallbackOnlyControlBean.java:104: cannot find symbol > [apt] symbol : variable _CallbackHere_bufferedCallbackEvent > [apt] location: class > controls.stateless.CallbackOnlyControlBean.CallbackH > ereNotifier > [apt] preEvent(_CallbackHere_bufferedCallbackEvent, > __bc_a > rgArray, _CallbackHere_bufferedCallbackEventInterceptors); > [apt] ^ > [apt] > D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera > tedsrc\controls\stateless\CallbackOnlyControlBean.java:104: cannot find symbol > [apt] symbol : variable _CallbackHere_bufferedCallbackEventInterceptors > [apt] location: class > controls.stateless.CallbackOnlyControlBean.CallbackH > ereNotifier > [apt] preEvent(_CallbackHere_bufferedCallbackEvent, > __bc_a > rgArray, _CallbackHere_bufferedCallbackEventInterceptors); > [apt] > ^ > [apt] > D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera > tedsrc\controls\stateless\CallbackOnlyControlBean.java:131: cannot find symbol > [apt] symbol : variable _CallbackHere_bufferedCallbackEvent > [apt] location: class > controls.stateless.CallbackOnlyControlBean.CallbackH > ereNotifier > [apt] postEvent(_CallbackHere_bufferedCallbackEvent, > __bc_ > argArray, null, __bc_thrown, _CallbackHere_bufferedCallbackEventInterceptors, > __ > bc_pivotedInterceptor); > [apt] ^ > [apt] > D:\src_15004jr\bea\weblogic92\test\wlwbvt\messageBufferingApp\genera > tedsrc\controls\stateless\CallbackOnlyControlBean.java:131: cannot find symbol > [apt] symbol : variable _CallbackHere_bufferedCallbackEventInterceptors > [apt] location: class > controls.stateless.CallbackOnlyControlBean.CallbackH > ereNotifier > [apt] postEvent(_CallbackHere_bufferedCallbackEvent, > __bc_ > argArray, null, __bc_thrown, _CallbackHere_bufferedCallbackEventInterceptors, > __ > bc_pivotedInterceptor); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
