Community
Participate
Working Groups
Compiler reports error on member introduced via inter-type declaration There is aspect public aspect OpLogAspect { public Object IDomain.outer; ... ) in java editor on line Object dmn = ((IDomain)emp.getAddress()).outer; "outer" is marked as error "outer cannot be resolved or is not a field" When program is run, all works fine, 'outer' have correct value
Have you tried opening the class which contains the call "Object dmn = ((IDomain)emp.getAddress()).outer;" in the AspectJ/Java Editor? (Right click on the class in the package explorer > Open With > AspectJ/Java Editor). The java editor doesn't understand ITD's whereas the AspectJ/Java one does.
get to the bottom of this for 1.5.3 - likely to be use of Java editor for AJ code as Helen says.
please can you confirm you have tried Helen's suggestion in comment #1? Is it simply that you are using the java editor for the file - which we know does not understand ITDs??
suspect it is the use of the java editor for aspects. please reopen if you think you are still having problems.