Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338661

Summary: @OnActionCallback cannot be used in super classes or non public methods
Product: [RT] Riena Reporter: Christian Campo <christian.campo>
Component: UIAssignee: Stefan Liebig <Stefan.Liebig>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo
Version: unspecified   
Target Milestone: 3.0.0.M6   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 335691    

Description Christian Campo CLA 2011-03-02 08:20:57 EST
In the current (new) implementation of @OnActionCallback its not possible to have the method for the annotation to be protected. Its also not possible to define the annotation for a class that is in a superclass that is then subclassed by others.
Comment 1 Christian Campo CLA 2011-03-02 08:23:56 EST
also when using the @OnActionCallback method on protected methods (and that should really work) a silly error message comes up "ArrayIndexOutOfBounds" instead of a hint to the real problem
Comment 2 Stefan Liebig CLA 2011-03-03 02:36:22 EST
Event methods will now be made accessible if they are not and also the super classes will be scanned for annotations.