Community
Participate
Working Groups
N20051107, fresh workspace, all ui plug-ins and test plug-ins from HEAD. I created a new "RCP application with intro" using the wizard, deleted its Activator class, and tried to run it from within Eclipse. Got this stack trace: java.lang.VerifyError: (class: org/eclipse/ui/internal/PluginActionSetBuilder, method: findInsertionPoint signature: (Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/jface/action/IContributionManager;Z)Lorg/eclipse/jface/action/IContributionItem;) Illegal target of jump or bran [5 at org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:184) at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:2552) at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:2374) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2337) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:678) at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:680) at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1321) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1227) at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:706) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1039) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1707) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:376) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at snip.intro.Application.run(Application.java:18) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
Created attachment 29454 [details] class file with the verify error
The problem comes from the fix for bug 114855. I didn't manage correctly the case where the first forward reference is greater than the value in the first forward reference from the other labels and both collections' size is 1. I will provide a patch in order to validate the fix.
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.compiler.regression.TryStatementTest.test033
Verified for 3.2 M4 using build I20051212-0010 (we got now a stack trace saying that Activator does not exist...)