Project: Eclipse_Platform_UI
Bug 17385 [EditorMgmt] Write openEditor in terms of IStorage instead of
Reported: 2002-05-23 12:11:24 | Status: resolved wontfix

I tried to open "package.html" which was in a jar (org.elcipse.core.boot/boot.jar). I got the following: !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 May 23, 2002 11:18:46.71 !MESSAGE org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput !STACK 0 java.lang.ClassCastException: org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput at org.eclipse.ui.internal.EditorManager.openEditor (EditorManager.java:383) at org.eclipse.ui.internal.WorkbenchPage.openEditor (WorkbenchPage.java:1701) at org.eclipse.ui.internal.WorkbenchPage.openEditor (WorkbenchPage.java:1669) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor (EditorUtility.java:137) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor (EditorUtility.java:108) at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open (OpenActionUtil.java:52) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:167) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:156) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:178) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:156) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen (PackageExplorerActionGroup.java:321) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open (PackageExplorerPart.java:297) at org.eclipse.jface.viewers.StructuredViewer.fireOpen (StructuredViewer.java:320) at org.eclipse.jface.viewers.StructuredViewer.handleOpen (StructuredViewer.java:494) at org.eclipse.jface.viewers.StructuredViewer$3.handleOpen (StructuredViewer.java:581) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent (OpenStrategy.java:198) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:195) at org.eclipse.jface.util.OpenStrategy$1.handleEvent (OpenStrategy.java:222) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:739) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:200) at org.eclipse.core.launcher.Main.run(Main.java:643) at org.eclipse.core.launcher.Main.main(Main.java:476)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/EditorManager.java