Community
Participate
Working Groups
Sun 1.5.0 JDK and Cheetah 0.6 plug-in. I have a simple class that extends JFrame and implements ActionListener. The first time I compiled it in 1.5, it complained: "The return type is incompatible with Container.getListeners(Class<T>), Window. getListeners(Class<T>)" It doesn't think my class implements EventListener (eventhough ActionListener is itself an EventListener), so I add it in. Then, I do 'Project->Clean..' and all is Ok. HOWEVER, if I clean again, I get the same compilation error. This time I REMOVE the implements EventListener and do another clean and it is Ok. Cleaning again produces the error, and so on!! A kind of annoying toggling problem! Any comments?
Ok... the behavior I described isn't 100% accurate. Reality is: - The compile error actually gets removed on SAVING changes. - It reappears everytime a full project compile happens.
Cheetah is completely out of date. Please use the latest integration build to test 1.5 support. The 1.5 support is only for the 3.1 branch since it has been merged into HEAD.
As indicated, the Cheetah code base got merged into 3.1 development stream, and improved significantly. Therefore this defect is likely obsolete. Please try to reproduce in a recent 3.1 delivery (3.1M4 or better); and reopen with steps if you still see a problem.
Fixed with version 3.1 Thanks!