Description
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
}
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);