Community
Participate
Working Groups
If you compile the following code (non-important pieces left out) within eclipse, (imho) wrong bytecode is generated: import org.eclipse.team.internal.ui.actions.TeamAction; public class TestClassA extends TeamAction { public void run(IAction action) { run(new WorkspaceModifyOperation() { protected void execute(IProgressMonitor monitor) { getSelectedResources(); } }, "", PROGRESS_DIALOG); } } If you take a look at the generated bytecode, you'll realize that the getSelectedResources() call is not translated to invokevirtual but to invokespecial, which is (imho) wrong as it renders polymorphism in that area unusable. Please correct me if I am wrong.
You are right. This is a duplicate of bug 21447. *** This bug has been marked as a duplicate of 21447 ***
Verified