issue_id
int64 2.03k
426k
| title
stringlengths 9
251
| body
stringlengths 1
32.8k
⌀ | status
stringclasses 6
values | after_fix_sha
stringlengths 7
7
| updated_files
stringlengths 29
34.1k
| project_name
stringclasses 6
values | repo_url
stringclasses 6
values | repo_name
stringclasses 6
values | language
stringclasses 1
value | issue_url
null | before_fix_sha
null | pull_url
null | commit_datetime
unknown | report_datetime
unknown |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
167,622 | Bug 167622 [package explorer] Enable 'Show referenced library node' option by default | I20061212-0010 Remove this option and show the library node per default. I can't hardly imagine that anyone wants to turn it off. | verified fixed | 4d2d6b9 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-12T17:22:58Z" | "2006-12-12T13:26:40Z" |
166,966 | Bug 166966 [Compare] Support for validateEdit in Java structure compare | Adding support for validateEdit in compare required some minor changes to the JavaStructureCreator. I will attach a patch. | resolved fixed | 669ce3d | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-11T16:57:40Z" | "2006-12-06T15:46:40Z" |
166,961 | Bug 166961 [quick assist] Extract constant quick assist should have lower priority then extract local | I20061205-1200 Extract constant quick assist is cool, however it should have a lower priority then extract local: 1. It happens that I hit enter without even looking at the proposals and then I'm surprised by the result. 2. I think extract local is more important/more often used. | resolved fixed | cf4574d | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-11T16:53:11Z" | "2006-12-06T15:46:40Z" |
166,519 | Bug 166519 [build path] display read-only access rules for execution environments | null | resolved fixed | 26f0531 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-11T16:11:56Z" | "2006-12-01T16:20:00Z" |
167,215 | Bug 167215 [preferences] Java editor templates: something is broken | HEAD Preferences > Java Editor > Templates; Edit; Insert Variable... => Some of the descriptions are raw HTML, e.g. "argType - <b>${<i>id..." | verified fixed | 800e805 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaTemplatePreferencePage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-11T10:33:22Z" | "2006-12-08T09:26:40Z" |
163,050 | Bug 163050 [clean up] Convert for loop does not check index variable | null | verified fixed | 2cb173a | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertForLoopQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-08T11:41:20Z" | "2006-11-01T11:20:00Z" |
167,049 | Bug 167049 [build path] NPE in JavaModelUtil | Build ID: M20060921-0945 Steps To Reproduce: 1. Create plugin project, open project properties 2. Go to Java Build Path, tab Libraries 3. Click 'Add Class Folder' 4. Add plugin root as class folder More information: eclipse.buildId=M20060921-0945 java.version=1.4.2_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -console -consoleLog -clean Error Thu Dec 07 10:16:42 CET 2006 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.JavaModelUtil.isExcludedPath(JavaModelUtil.java:671) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage.addToExclusions(BuildPathBasePage.java:81) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage.addExclusionPatterns(BuildPathBasePage.java:70) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage.fixNestingConflicts(BuildPathBasePage.java:54) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.askForAddingExclusionPatternsDialog(LibrariesWorkbookPage.java:295) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:273) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$0(LibrariesWorkbookPage.java:230) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:185) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.buttonPressed(TreeListDialogField.java:167) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doButtonSelected(TreeListDialogField.java:385) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(TreeListDialogField.java:381) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(TreeListDialogField.java:346) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) | verified fixed | 789ca6f | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathBasePage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-08T08:56:39Z" | "2006-12-07T08:26:40Z" |
165,689 | Bug 165689 [spell checking] enable quick fix menu | I20061121-1845 Ctrl+1 now works for fix spelling problems in text editors but there is now quick fix menu entry. | verified fixed | 63a607e | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditorActionContributor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-01T14:16:41Z" | "2006-11-23T16:40:00Z" |
158,292 | Bug 158292 [misc] add document performance tests | 3.3M2 We should regularly run performance tests on the document and text store. There already are performance tests for the line tracker. The patch I will attach adds abstract performance tests for any IDocument and ITextStore implementations, as well as concrete tests for the following classes: - org.eclipse.jface.text.Document - org.eclipse.jface.text.GapTextStore - org.eclipse.jface.text.SequentialRewriteTextStore -- Implementation: Looking at some performance tests reveals that often boilerplate code needs to be written for performance tests (example: LineTrackerPerformanceTest): typically, a testXXX method does the following four things: - create performance meters for warm-up and measuring - call the measureXXX method N times with the warm-up meter - call the measureXXX method M times with the measurement meter - commit and assert performance measurements The provided patch provides a specialized TestCase (PerformanceTestCase2) that does exactly that in its #runTest method. Similar, there is a specialized TestSuite (PerfTestSuite) that uses reflection to find any methods that start with "measure" and take one argument of type PerformanceMeter. | resolved fixed | 6cff626 | ["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/AbstractDocumentPerformanceTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentPerformanceTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentPerformanceTestSuite.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/GapTextStorePerformanceTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/PerfTestSuite.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/PerformanceTestCase2.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/TextPerformanceTestCase2.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/TextStorePerformanceTest.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-12-01T13:04:16Z" | "2006-09-22T13:00:00Z" |
75,353 | Bug 75353 [navigation] Open on selection should use just caret location | F3 will attempt to find a type based on the current selection range. If the selection range is length 0, it will take the encompassing "word" and try to find that element. But, if a range is selected, it will try to match based on the selected text. I don't understand when someone would use this latter case. To me, I would prefer to have it always take the caret location, and then search based on the surrounding word, never the selection range. For example, I search for a method containing the word "accessible", and I find a method call to "getAccessible". Now, I want to go to the method declaration using F3, but part of the method name is swiped. I would never want to open the Type "Accessible", but this is what happens. | resolved fixed | 3829d0d | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-30T15:38:35Z" | "2004-09-29T20:33:20Z" |
166,222 | Bug 166222 [refactoring] Wizard-based refactorings cannot be started | I20061128-0800 All wizard-based refactorings just do nothing when they are started via the normal UI actions. In the SDK, this affects Pull Up, Extract Supertype, Clean Up, and Externalize Strings. | verified fixed | 587b00b | ["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizardOpenOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-29T17:57:45Z" | "2006-11-29T17:06:40Z" |
119,251 | Bug 119251 [quick assist] "Invert if statement" removes parts of condition | Build id: I20051130-1215 Consider the following code: ------ public class A { { if (!a() && !b() && !c() && !d()) foo(); else bar(); } private void foo() {} private void bar() {} private boolean a() { return false; } private boolean b() { return false; } private boolean c() { return false; } private boolean d() { return false; } } ----------- Call "Invert if statement" on the if. Expression is changed to if ((a()) || (b())) | verified fixed | 1c8a9f1 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-29T17:14:55Z" | "2005-12-05T16:26:40Z" |
133,517 | Bug 133517 [quick fix] don't update location when cursor at end of problem | - place the cursor at the end of a problem - CTRL + 1 jumps to the beginning of the problem | resolved fixed | 1a1fcf8 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-29T15:48:59Z" | "2006-03-28T12:46:40Z" |
165,646 | Bug 165646 [build path] BuildPath -> Classpath -> Order and Export -> New functions | Hi, I've implemented a new feature: Now it is possible to move the selected item in the classpath to top or bottom. Not step by step only. Here's my patch: ### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.ui Index: ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java,v retrieving revision 1.154 diff -u -r1.154 BuildPathsBlock.java --- ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java 10 Nov 2006 17:22:19 -0000 1.154 +++ ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java 23 Nov 2006 10:08:38 -0000 @@ -163,9 +163,11 @@ NewWizardMessages.BuildPathsBlock_classpath_up_button, NewWizardMessages.BuildPathsBlock_classpath_down_button, /* 2 */ null, + NewWizardMessages.BuildPathsBlock_classpath_top_button, + NewWizardMessages.BuildPathsBlock_classpath_bottom_button, + /* 5 */ null, NewWizardMessages.BuildPathsBlock_classpath_checkall_button, NewWizardMessages.BuildPathsBlock_classpath_uncheckall_button - }; fClassPathList= new CheckedListDialogField(null, buttonLabels, new CPListLabelProvider()); @@ -173,8 +175,10 @@ fClassPathList.setLabelText(NewWizardMessages.BuildPathsBlock_classpath_label); fClassPathList.setUpButtonIndex(0); fClassPathList.setDownButtonIndex(1); - fClassPathList.setCheckAllButtonIndex(3); - fClassPathList.setUncheckAllButtonIndex(4); + fClassPathList.setTopButtonIndex(3); + fClassPathList.setBottomButtonIndex(4); + fClassPathList.setCheckAllButtonIndex(6); + fClassPathList.setUncheckAllButtonIndex(7); fBuildPathDialogField= new StringButtonDialogField(adapter); fBuildPathDialogField.setButtonLabel(NewWizardMessages.BuildPathsBlock_buildpath_button); Index: ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java,v retrieving revision 1.49 diff -u -r1.49 NewWizardMessages.java --- ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java 17 Aug 2006 10:30:25 -0000 1.49 +++ ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java 23 Nov 2006 10:08:37 -0000 @@ -222,6 +222,8 @@ public static String BuildPathsBlock_classpath_label; public static String BuildPathsBlock_classpath_up_button; public static String BuildPathsBlock_classpath_down_button; + public static String BuildPathsBlock_classpath_top_button; + public static String BuildPathsBlock_classpath_bottom_button; public static String BuildPathsBlock_classpath_checkall_button; public static String BuildPathsBlock_classpath_uncheckall_button; public static String BuildPathsBlock_buildpath_label; Index: ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties,v retrieving revision 1.236 diff -u -r1.236 NewWizardMessages.properties --- ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties 6 Oct 2006 14:26:39 -0000 1.236 +++ ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties 23 Nov 2006 10:08:38 -0000 @@ -256,6 +256,8 @@ BuildPathsBlock_classpath_up_button=&Up BuildPathsBlock_classpath_down_button=&Down +BuildPathsBlock_classpath_top_button=&Top +BuildPathsBlock_classpath_bottom_button=&Bottom BuildPathsBlock_classpath_checkall_button=Select &All BuildPathsBlock_classpath_uncheckall_button=D&eselect All Index: ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java,v retrieving revision 1.60 diff -u -r1.60 ListDialogField.java --- ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java 25 Sep 2006 08:47:23 -0000 1.60 +++ ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java 23 Nov 2006 10:08:38 -0000 @@ -88,6 +88,9 @@ return data; } } + + private static final boolean MOVE_TO_TOP = true; + private static final boolean MOVE_TO_BOTTOM = false; protected TableViewer fTable; protected Control fTableControl; @@ -104,6 +107,8 @@ private int fRemoveButtonIndex; private int fUpButtonIndex; private int fDownButtonIndex; + private int fTopButtonIndex; + private int fBottomButtonIndex; private Label fLastSeparator; @@ -153,6 +158,8 @@ fRemoveButtonIndex= -1; fUpButtonIndex= -1; fDownButtonIndex= -1; + fTopButtonIndex= -1; + fBottomButtonIndex= -1; } /** @@ -185,7 +192,27 @@ fDownButtonIndex= downButtonIndex; } - /** + /** + * Sets the index of the 'top' button in the button label array passed in the constructor. + * The behavior of the button marked as the 'top' button will then be handled internally. + * (enable state, button invocation behavior) + */ + public void setTopButtonIndex(int topButtonIndex) { + Assert.isTrue(topButtonIndex < fButtonLabels.length); + fTopButtonIndex= topButtonIndex; + } + + /** + * Sets the index of the 'bottom' button in the button label array passed in the constructor. + * The behavior of the button marked as the 'bottom' button will then be handled internally. + * (enable state, button invocation behavior) + */ + public void setBottomButtonIndex(int bottomButtonIndex) { + Assert.isTrue(bottomButtonIndex < fButtonLabels.length); + fBottomButtonIndex= bottomButtonIndex; + } + + /** * Sets the viewer comparator. * @param viewerComparator The viewer comparator to set */ @@ -224,6 +251,16 @@ if (!fButtonControls[index].isEnabled() && fUpButtonIndex != -1) { fButtonControls[fUpButtonIndex].setFocus(); } + } else if (index == fTopButtonIndex) { + top(); + if (!fButtonControls[index].isEnabled() && fTopButtonIndex != -1) { + fButtonControls[fTopButtonIndex].setFocus(); + } + } else if (index == fBottomButtonIndex) { + bottom(); + if (!fButtonControls[index].isEnabled() && fBottomButtonIndex != -1) { + fButtonControls[fBottomButtonIndex].setFocus(); + } } else { return false; } @@ -231,7 +268,17 @@ } - // ------ layout helpers + private void bottom() + { + moveBottom(getSelectedElements()); + } + + private void top() + { + moveTop(getSelectedElements()); + } + + // ------ layout helpers /* * @see DialogField#doFillIntoGrid @@ -504,9 +551,9 @@ protected boolean getManagedButtonState(ISelection sel, int index) { if (index == fRemoveButtonIndex) { return !sel.isEmpty(); - } else if (index == fUpButtonIndex) { + } else if (index == fUpButtonIndex || index == fTopButtonIndex) { return !sel.isEmpty() && canMoveUp(); - } else if (index == fDownButtonIndex) { + } else if (index == fDownButtonIndex || index == fBottomButtonIndex) { return !sel.isEmpty() && canMoveDown(); } return true; @@ -800,7 +847,26 @@ return res; } - private void moveUp(List toMoveUp) { + private List moveTopBottom( List elements, List move, boolean topOrBottom ) { + int nElements= elements.size(); + int nElementsMove = move.size(); + List topBottom= new ArrayList(nElementsMove); + List other= new ArrayList(nElements-nElementsMove); + for (int i= 0; i < nElements; i++) { + Object curr= elements.get(i); + if (move.contains(curr)) { + topBottom.add(curr); + } else { + other.add(curr); + } + } + List res= new ArrayList(nElements); + res.addAll( topOrBottom == MOVE_TO_TOP ? topBottom : other ); + res.addAll( topOrBottom == MOVE_TO_BOTTOM ? topBottom : other ); + return res; + } + + private void moveUp(List toMoveUp) { if (toMoveUp.size() > 0) { setElements(moveUp(fElements, toMoveUp)); fTable.reveal(toMoveUp.get(0)); @@ -813,7 +879,23 @@ fTable.reveal(toMoveDown.get(toMoveDown.size() - 1)); } } - + + private void moveTop( List toMoveTop ) + { + if (toMoveTop.size() > 0) { + setElements(moveTopBottom(fElements, toMoveTop, MOVE_TO_TOP)); + fTable.reveal(toMoveTop.get(0)); + } + } + + private void moveBottom( List toMoveBottom ) + { + if (toMoveBottom.size() > 0) { + setElements(moveTopBottom(fElements, toMoveBottom, MOVE_TO_BOTTOM)); + fTable.reveal(toMoveBottom.get(0)); + } + } + private List reverse(List p) { List reverse= new ArrayList(p.size()); for (int i= p.size()-1; i >= 0; i--) { | resolved fixed | 165731f | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-29T14:58:14Z" | "2006-11-23T11:06:40Z" |
165,798 | Bug 165798 [compare] Patch to use new API from Compare | null | resolved fixed | eecea6b | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureDiffViewer.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-29T10:49:37Z" | "2006-11-24T17:40:00Z" |
142,508 | Bug 142508 [rename] Refactoring text search fails to find occurences preceeded by # | On renaming a class (f.ex. myPack.MyClass ) via refactoring RefactoringScanner fails to find occurences in special comments looking like /*#myPackMyClass hiddenField*/ The reason is that code in RefactoringScanner around line 172 looks like: if (beforeQualifierPos >= 0) { char beforeQualifierChar= value.charAt(beforeQualifierPos); boolean charBeforeQualifierIsQualifierPart= isQualifierPart(beforeQualifierChar); // true if the char before the qualifier is a normal letter // (and therefore invalidates the whole string) return charBeforeQualifierIsQualifierPart ? NO_MATCH : MATCH_QUALIFIED; } | verified fixed | 89ea110 | ["org.eclipse.jdt.ui.tests.refactoring/resources/RefactoringScanner/C.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RefactoringScannerTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringScanner.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-28T18:01:47Z" | "2006-05-18T16:33:20Z" |
165,520 | Bug 165520 [JUnit] Cannot open the junit test by clicking in the JUnit view | Using I20061121-1845, I cannot open a JUnit test by clicking on a failing test in the JUnit view. Setting as blocker since this makes it really paintful to use the JUnit tests. This might be a bug in JUnit. If this is the case, please let them know asap. org.eclipse.core.runtime.AssertionFailedException: assertion failed: ContentViewer must have a content provider when input is set. at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:243) at org.eclipse.jdt.internal.junit.ui.CompareResultDialog.setCompareViewerInput(CompareResultDialog.java:250) at org.eclipse.jdt.internal.junit.ui.CompareResultDialog.setInput(CompareResultDialog.java:255) at org.eclipse.jdt.internal.junit.ui.CompareResultsAction.updateOpenDialog(CompareResultsAction.java:65) at org.eclipse.jdt.internal.junit.ui.FailureTrace.updateEnablement(FailureTrace.java:172) at org.eclipse.jdt.internal.junit.ui.FailureTrace.showFailure(FailureTrace.java:159) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$10.run(TestRunnerViewPart.java:1545) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28) at org.eclipse.swt.widgets.Display.syncExec(Display.java:3878) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.postSyncRunnable(TestRunnerViewPart.java:1208) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.showFailure(TestRunnerViewPart.java:1542) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.handleTestSelected(TestRunnerViewPart.java:1537) at org.eclipse.jdt.internal.junit.ui.TestViewer.handleSelected(TestViewer.java:303) at org.eclipse.jdt.internal.junit.ui.TestViewer.access$0(TestViewer.java:297) at org.eclipse.jdt.internal.junit.ui.TestViewer$TestSelectionListener.selectionChanged(TestViewer.java:73) at org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator.fireSelectionChanged(SelectionProviderMediator.java:131) at org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator.doSelectionChanged(SelectionProviderMediator.java:112) at org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator$InternalListener.selectionChanged(SelectionProviderMediator.java:40) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:850) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:153) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2004) at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1605) at org.eclipse.jdt.internal.junit.ui.TestViewer.selectFirstFailure(TestViewer.java:568) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.selectFirstFailure(TestRunnerViewPart.java:984) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$2.run(TestRunnerViewPart.java:430) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155) at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer.java:36) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3440) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3080) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1945) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1909) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:425) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) | verified fixed | d8091bf | ["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultDialog.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultsAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-23T16:26:32Z" | "2006-11-22T21:13:20Z" |
165,211 | Bug 165211 [preferences] Fup of bug 165210, please surface the new code formatter option | Once the code formatter is fixed, the code formatter preference page should surface it. I'll try to provide a patch to get accustomed with this code. | resolved fixed | b0ca6c0 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/BlankLinesTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-21T09:59:10Z" | "2006-11-20T19:13:20Z" |
89,107 | Bug 89107 [spell checking] Java characters are spell checked | static final char OBJ = '\ufffc'; This get's highlighed by the spell checker. I don't think spell-checking a char ever makes sense, but I could be wrong :-). | resolved fixed | f2faab5 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaSpellingEngine.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-21T08:49:13Z" | "2005-03-25T17:00:00Z" |
96,910 | Bug 96910 [spell checking] ArrayIndexOutOfBoundsException AbstractSpellDictionary | N20050526-0010 Found in .log No steps. !ENTRY org.eclipse.ui.workbench.texteditor 4 2 2005-05-26 22:58:17.452 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench.texteditor". !STACK 0 java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.ensureCapacity(ArrayList.java:171) at java.util.ArrayList.add(ArrayList.java:352) at org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.hashWord(AbstractSpellDictionary.java:327) at org.eclipse.jdt.internal.ui.text.spelling.HtmlTagDictionary.load(HtmlTagDictionary.java:55) at org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.isCorrect(AbstractSpellDictionary.java:338) at org.eclipse.jdt.internal.ui.text.spelling.HtmlTagDictionary.isCorrect(HtmlTagDictionary.java:40) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker.isCorrect(DefaultSpellChecker.java:329) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker.execute(DefaultSpellChecker.java:243) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingEngine.check(JavaSpellingEngine.java:56) at org.eclipse.jdt.internal.ui.text.spelling.SpellingEngine.check(SpellingEngine.java:77) at org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine.check(DefaultSpellingEngine.java:68) at org.eclipse.ui.texteditor.spelling.SpellingService$1.run(SpellingService.java:103) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1038) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:108) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:80) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingReconcileStrategy.reconcile(JavaSpellingReconcileStrategy.java:147) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:94) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75) at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:318) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204) | resolved fixed | 8f5f678 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/HtmlTagDictionary.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaDocTagDictionary.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/TaskTagDictionary.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/AbstractSpellDictionary.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T16:04:18Z" | "2005-05-27T07:46:40Z" |
70,728 | Bug 70728 [spell checking][api (internal)] Change SpellCheckingEngine.getAvailableLocales | R3.0 This method has a bad name: it does not return the available locales but the available (read-only) platform dictionaries. | resolved fixed | 6a52bb3 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T15:32:15Z" | "2004-07-23T13:40:00Z" |
64,307 | Bug 64307 [preferences][spell checking] Spelling Pref-Page: Initial element in browse dialog not set | 20040527 - Open the spelling preference page - Enter a dictionary path - Press browse. The initial directory shown in the browse dialog is not the dictionary dialog. This requires you to find the same folder again every time - Note: I think the space between the text field and the browse button is some picels too wide | resolved fixed | 8340002 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T13:45:55Z" | "2004-05-27T12:13:20Z" |
164,779 | Bug 164779 [actions] Opening project should be easier | 3.3 M3 To open a closed project I need to make sure no other project is selected. This is a pain. The action to open a project should always be enabled as long as there is at least one closed project. | resolved fixed | 011b016 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T13:35:12Z" | "2006-11-16T09:40:00Z" |
165,015 | Bug 165015 [JUnit] JUnit runner should check that the suite() method is static before invoking it | Using HEAD. Since this method is invoked with null as the receiver (because it is static), the runner should check that it is static. Otherwise you'll get a NPE. | resolved fixed | e0f6b4f | ["org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/junit3/JUnit3TestLoader.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T11:01:38Z" | "2006-11-17T19:00:00Z" |
163,804 | Bug 163804 [clean up] Tries to generate SerialUID for enum types | null | resolved fixed | cb40fb4 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T09:55:11Z" | "2006-11-08T12:46:40Z" |
163,906 | Bug 163906 [implementation] commitWorkingCopy() assumes file already exists | ICompilationUnit.commitWorkingCopy() fails if the resource does not already exist. This makes it difficult for APT to save to disk, during build, a type that was created during reconcile. What's worse, the failure mode is that the file does get created, but in a location relative to the disk root rather than relative to the workspace. Inside commitWorkingCopy(), the stack looks like this: FileBuffers.getWorkspaceFileAtLocation(IPath) line: 72 FileBuffers.getFileStoreAtLocation(IPath) line: 138 JavaTextFileBuffer.commitFileBufferContent(IProgressMonitor, boolean) line: 488 JavaTextFileBuffer(JavaFileBuffer).commit(IProgressMonitor, boolean) line: 131 DocumentAdapter.save(IProgressMonitor, boolean) line: 392 CommitWorkingCopyOperation.executeOperation() line: 123 CommitWorkingCopyOperation(JavaModelOperation).run(IProgressMonitor) line: 720 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1742 CommitWorkingCopyOperation(JavaModelOperation).runOperation(IProgressMonitor) line: 784 CompilationUnit.commitWorkingCopy(boolean, IProgressMonitor) line: 341 The FileBuffers and JavaTextFileBuffers classes come from org.eclipse.core.filebuffers. FileBuffers.getWorkspaceFileAtLocation() returns null if the file does not exist in the workspace; then getFileStoreAtLocation() returns null; and that makes commitFileBufferContent() "fall back" to writing the file relative to the disk root rather than the workspace root. For instance, it might write the type com.xyz.A to c:/foo/generated-src/com/xyz/A.java, rather than writing it to a folder under the "foo" project. I am not sure what the correct behavior should be. It could: - throw an exception if the file does not already exist; - create the file if needed, but throw an exception if the package fragment folder does not exist; - create both the folder and the file as needed. | verified fixed | f708d2e | ["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/CompilationUnitDocumentProviderTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/DocumentAdapter.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T09:37:50Z" | "2006-11-09T02:40:00Z" |
164,943 | Bug 164943 [clean up] Does remove used import on organize import if syntax error | I20061114-1636 Given: package test; import java.util.Observable; import java.util.Observer; public class E1 { public void foo(Observable ob) { ob.addObserver(new Observer() { public void update(Observable o, Object arg) { } }; } } 1. Run clean up on E1 with 'Organize Imports' enabled Is: import java.util.Observer; is removed Should: not be removed This is major because with clean up on save enabled this results in imports been removed which are required, on save. This is especially bad when a conflicting import (List) is removed. Strange is, that when just running 'Organize Imports' then the import is not removed. Must be a clean up problem... | verified fixed | d22b0ec | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ImportsFix.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-20T09:04:49Z" | "2006-11-17T10:40:00Z" |
113,592 | Bug 113592 [change method signature] dialog should provide unique parameter names | Repeatedly clicking on the Add button in the Refactor ... Change Method Signature dialog adds new parameters all named "newParam". Perhaps the default parameter names could be newParam1, newParam2 etc. Steps to reproduce ... Create a Java Project Create a Java Class Ca Create method newMethod(..) in Ca with no parameters. Select newMethod in Package Exporer and execute the Change Method Signature refactoring through the context menu. In the resulting dialog click on the "Add" button twice. RESULT: 2 identical parameters with the same name "newParam" are added and an error is displayed at the bottom "Duplicate parameter name: 'newParam'". | resolved fixed | 33bc22b | ["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/ParameterInfo.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-17T16:12:02Z" | "2005-10-24T21:40:00Z" |
162,395 | Bug 162395 [browsing] Packages view does not show children of packages from jars in hierarchical presentation | 3.2 and HEAD; was OK in 3.1.2 The Packages view does not show children of packages from jars in hierarchical presentation mode. Steps: - import org.junit as binary plug-in - switch to Java Browsing perspective - set Package Presentation of Packages view to Hierarchical - select org.junit in Projects view -> package junit is shown as empty package with no children | resolved fixed | 2bbd41b | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-16T11:06:53Z" | "2006-10-26T13:40:00Z" |
164,472 | Bug 164472 [JUnit] compiler warning in build N20061114-0010 | 1. WARNING in /src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestLoader.java (at line 20) public ITestReference[] loadTests(final Class[] testClasses, String testName, String[] failureNames, final RemoteTestRunner listener) { Class is a raw type. References to generic type Class<T> should be parameterized | resolved fixed | fcc65bb | ["org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestLoader.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-15T16:05:24Z" | "2006-11-14T16:00:00Z" |
40,478 | Bug 40478 [convert local] convert local variable to field can declare field as final if method is construtor [refactoring] | The "Convert Local Variable to Field" refactoring pops up a dialog box. Part of that dialog box as where to initialise the field. If "Current method" is selected then the option below "Declare field as 'final'" is greyed out. This should not happend if the "Current method" is a constructor because you can have the field as final. | resolved fixed | 6d498c0 | ["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/PromoteTempToFieldTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/PromoteTempToFieldRefactoringContribution.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-15T16:00:47Z" | "2003-07-18T14:53:20Z" |
139,140 | Bug 139140 [JUnit] Compare Result dialog should not be modal | Currently, the compare results dialog (in the Failure Trace view) is modal which means that I can't copy&paste several typos from it back into the source code. | resolved fixed | 597d271 | ["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultDialog.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultsAction.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/FailureTrace.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-14T17:30:49Z" | "2006-04-28T13:13:20Z" |
164,318 | Bug 164318 [content assist] Wildcard's label are 'null' | build I20061108-1600 public class X<U> { void test(X<?> t) { t.fo| // do ctrl + space at | } U foo(U u) { return null; } } The label of the proposal is: foo(null u) Object - X It should be at least: foo(? u) Object - X and maybe: foo(? u) ? - X With the following example: public class X<U> { void test(X<?> t) { t.foo(null); } U foo(U u) { return null; } } If you place the cursor above the 'foo' invocation the hover shows: ? X.foo(? u) | resolved fixed | 4dbfdc3 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/SignatureUtil.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-14T10:30:59Z" | "2006-11-13T15:00:00Z" |
163,192 | Bug 163192 [quick fix] 'Remove @Override' and 'create method in super type' don't appear with 6.0 | null | resolved fixed | 4a6554a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-10T15:22:21Z" | "2006-11-02T12:20:00Z" |
163,709 | Bug 163709 [organize imports] Organize imports fails as long as there are parsing errors | Create a new class and start typing code which requires an import like : JButton b = new JButton(); Pressing control-o will do the import. However, redo the exercise and type other code after that one like : JButton b = new JButton(); JList c = new JL JButton will be recognized as a to-be-imported type, yet the incomplete line blocks the import ! A weird and annoying issue. | resolved fixed | 552a7b3 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-09T17:37:12Z" | "2006-11-07T20:06:40Z" |
163,454 | Bug 163454 Typo in JavaDoc of org.eclipse.jdt.internal.corext.Corext | /** * Facade for JavaPlugin to not conterminate corext classes. */ should be /** * Facade for JavaPlugin to not contaminate corext classes. */ BTW: I tried to search for other occurrences of "conterminate" but didn't find a way in source of imported plug-ins as "Binary projects with linked content". | resolved fixed | 555adc3 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/Corext.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-08T17:27:49Z" | "2006-11-04T19:53:20Z" |
163,799 | Bug 163799 [clean up] No need to generate SUID for Externalizable classes | I20061102-1715 + HEAD Given: package test; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; public class E3 implements Externalizable { public void readExternal(ObjectInput in) throws IOException,ClassNotFoundException {} public void writeExternal(ObjectOutput out) throws IOException {} } This class is flagged as: The serializable class E3 does not declare a static final serialVersionUID field in 3.3M3 if compiler warning is enabled for 'Serializable class without serialVersionUID'. In HEAD it is not flagged anymore, resulting in a JDT/UI test failure in CleanUpTest. Was this changed on purpose? | resolved fixed | ed27484 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-08T14:38:42Z" | "2006-11-08T12:46:40Z" |
155,003 | Bug 155003 [model] Missing exception types / wrong signature? | R3.2 and 3.3 M1 Hovering over a binary method call no longer shows the exception types. Tracked this down to JavaElementLabels line 476 and 477 where a wrong signature seems to be produced (for the test case below the signature is "()!+LTest;". This used to work in 3.1 and should be fixed for 3.2.1 Test Case: hover over "newInstance" in the code below: public class Test { public void x() throws InstantiationException, IllegalAccessException { getClass().newInstance(); } } | verified fixed | 643cb06 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-07T10:45:30Z" | "2006-08-24T09:00:00Z" |
162,914 | Bug 162914 [refactoring] Rename preview: should see if derived things are filtered | I20061031-0656 Rename preview: the header should indicate when derived things are filtered (similar to Problems or Search view). | resolved fixed | 4ccb620 | ["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewWizardPage.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringUIMessages.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-06T17:28:51Z" | "2006-10-31T15:53:20Z" |
162,908 | Bug 162908 [refactoring] Refactoring preview: should not mark CU children as derived | I20061031-0656 Refactoring preview: should not mark CU children as derived: this is redundant info since all children of a derived CU are derived. | resolved fixed | 9da3723 | ["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/AbstractChangeNode.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewNode.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/TextEditGroupNode.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-06T16:20:22Z" | "2006-10-31T15:53:20Z" |
162,911 | Bug 162911 [refactoring] Refactoring filter: radio group items should not be separated | I20061031-0656 Refactoring filter: radio group items should not be separated (Show All is separated but is connected with other items). | resolved fixed | 20104c7 | ["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewWizardPage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-06T15:27:26Z" | "2006-10-31T15:53:20Z" |
76,638 | Bug 76638 [Call Hierarchy] Copy in Call pane copies marking in Members pane | Having the following class: public class MultipleCaller { public void caller() { callee(1); callee(2); callee(3); } private void callee(int i) { } } Steps to reproduce: 1. Open Call Hierachy on callee(int). 2. Mark "caller()" entry in "Members" pane 3. "Call" pane show three entries 4.a. Mark one of the entries in "Call" pane. 5.a. Invoke "Copy" (<Ctrl>-<C>) 6.a. Clipboard contains following: "caller()" (Marking of "Members" pane was copied) Additionally: 4.b. Mark two (or three) entries in "Call" pane 5.b. Invoke "Copy" (<Ctrl>-<C>) 6.b. Clipboard contains following: caller() caller() (Marking of "Members" pane was copied as often as number of lines you marked in "Call" pane) Maybe the first one (a.) is a feature request: "Support copy in Call Hierarchy Call pane". But the second (b.) is a real bug. | resolved fixed | 0d7f5b3 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CopyCallHierarchyAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/LocationCopyAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/LocationViewer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-06T12:59:55Z" | "2004-10-20T08:13:20Z" |
163,495 | Bug 163495 [misc] Focus on Javadoc view looses selection in Java browsing views | Steps to reproduce: 1. Open Java Browsing perspective 2. Open Javadoc view 3. Select a class in Types view 4. Scroll down in the Javadoc view Result: The selection in Project, Packages and Types is lost. When browsing classes it's tedious to always reselect the project, the package and the class. The selection shouldn't be lost when scrolling in the Javadoc view. | resolved fixed | 10b6ac7 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/AbstractInfoView.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-06T07:43:14Z" | "2006-11-05T20:53:20Z" |
162,890 | Bug 162890 [clean up] 'Organize imports' subsumes 'Remove unused imports' | I20061030-1704 The 'Organize imports' clean up subsumes 'Remove unused imports'. If they are both enabled, there's no point in executing 'Remove unused imports' (it will only cause conflicts and need another AST). | resolved fixed | e685874 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-03T16:10:57Z" | "2006-10-31T13:06:40Z" |
162,871 | Bug 162871 [open type] Open Type: Container shown even if option is disabled | I20061030-1704 1. Ctrl+Shift+T 2. open java.util.List 3. Ctrl+Shift+T 2. enable to show container 3. type List ==> container shown on all items 4. disable show container ==> container still shown on the history item 5. click on the item ==> container info goes away | resolved fixed | 670e076 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-03T15:47:05Z" | "2006-10-31T10:20:00Z" |
163,038 | Bug 163038 [clean up] Convert for loop save participant change has no name | Given: package pack; public class E1 { public void foo(int[] ints) { for (int i = 0; i < ints.length; i++) { System.out.println(ints[i]); } } } 1. Enable 'Convert for loops' in clean up save participant 2. Make editor dirty 3. Save 4. Open Edit menu Is: 'Undo' Should: something along the line of 'Undo Loop Conversion' Hint: Maybe there is an 'Undo Format' first, undo it and then you see the nameless undo. | resolved fixed | 33463a5 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-03T15:39:23Z" | "2006-11-01T11:20:00Z" |
163,044 | Bug 163044 [clean up] Custom profile not removed when going back | Given: package pack; public class E1 { public void foo() { System.out.println(10); } } 1. Run Source>Clean Up... on E1 2. Make sure Eclipse [built-in] is profile for E1 project 3. Select 'Custom profile' 4. On 'Code Organizing' select 'Format source code' 5. Press next Is: code is formatted 6. Press back 7. Select 'Use configured profile' 8. Press next Is: Code is formatted Should: Not be formatted This is veeeeeeeeeeery bad, and very easy to fix. I would like to have that in M3. Will attach a patch. Markus? | verified fixed | 00a0a11 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-01T12:17:28Z" | "2006-11-01T11:20:00Z" |
162,895 | Bug 162895 [clean up] custom profile section in dialog: unchecked topics have enabled children | I20061030-1704 Clean Up dialog, custom profile section: unchecked topics have enabled children. E.g. Code Style > Expressions > Use parentheses... is not checked, but the children are active. Changing the children has no effect unless the parent is checked too. Same problem for all nested settings. | verified fixed | d76a746 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-01T12:10:20Z" | "2006-10-31T13:06:40Z" |
162,867 | Bug 162867 Open Type opens type that does not exist | I20061030-1704 When a JAR is removed outside the workspace (or while not running and then started) and the Java project not refreshed then open type still finds types from that JAR. That is the same behavior as in 3.2.x BUT: in 3.2.x a dialog tells that the type cannot be opened. In I20061030-1704 the dialog goes ahead and opens the editor which of course shows an error. In addition a log entry is created. Steps: 1. start fresh workspace 2. import org.eclipse.text (or any other project) as binary project 3. exit 4. delete the JAR from the workspace 5. start 6. Ctrl+Shift+T 7. type "ADoc*" ==> AbstractDocument is listed 8. select it The .log entry: !SESSION 2006-10-31 10:43:35.773 ----------------------------------------------- eclipse.buildId=I20061030-1704 java.version=1.5.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH Framework arguments: -update -keyring c:\eclipse\.keyring -application org.eclipse.ui.ide.workbench -showlocation Command-line arguments: -update -keyring c:\eclipse\.keyring -application org.eclipse.ui.ide.workbench -showlocation -data c:\eclipse\workspaces\tmp !ENTRY org.eclipse.ui 4 0 2006-10-31 10:44:01.334 !MESSAGE Unable to create editor ID org.eclipse.jdt.ui.ClassFileEditor: I/O exception !STACK 0 java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.zip.ZipFile.<init>(ZipFile.java:234) at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:1836) at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.getJar(JarPackageFragmentRoot.java:161) at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:78) at org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(PackageFragmentRoot.java:170) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229) at org.eclipse.jdt.internal.core.JarPackageFragment.generateInfos(JarPackageFragment.java:115) at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:218) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235) at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:255) at org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:311) at org.eclipse.jdt.internal.core.ClassFile.getSourceRange(ClassFile.java:470) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.probeInputForSource(ClassFileEditor.java:691) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput(ClassFileEditor.java:620) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:2604) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2622) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2649) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:838) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1156) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1109) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1335) at org.eclipse.ui.internal.PartStack.add(PartStack.java:458) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102) at org.eclipse.ui.internal.PartStack.add(PartStack.java:444) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:61) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:818) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:717) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:678) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2569) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2504) at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2496) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2481) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2476) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2461) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:295) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:169) at org.eclipse.jdt.ui.JavaUI.openInEditor(JavaUI.java:670) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:65) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:75) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3463) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3077) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1924) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1888) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) | verified fixed | 82af7f4 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-01T11:55:30Z" | "2006-10-31T10:20:00Z" |
162,892 | Bug 162892 [clean up] takes wrong profile | I20061030-1704 Clean up on active editor takes wrong clean up profile. I can provide the workspace if you cannot reproduce. Marking as major since the user has no clue what's going on. | verified fixed | 2bf8248 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpPostSaveListener.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-01T11:42:28Z" | "2006-10-31T13:06:40Z" |
162,960 | Bug 162960 [content assist] field completion does not apply required proposal | I20061031-0656 package p; public class P { void m(Q q){ q. // Ctrl+Space, Enter } } package q; public class Q { public Object aField; public void aMethod() { } public class AClass { } } => 'aField' shows up as content assist proposal, but applying it does not add an import for q.Q. Works fine for aMethod(). No support for AClass, but that's OK. | verified fixed | b978150 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalCollector.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-11-01T10:01:16Z" | "2006-10-31T18:40:00Z" |
162,548 | Bug 162548 [clean up] Save participant does set cursor to editor top | I20061024-1200 (+plugin export) Given: package test; import java.io.*; public class E1 { } and enabled clean up on save participant with save participant profile. 1. Make editor dirty 2. Save Is: cursor jumps to editor top. Should: Stay exactly where it is. Also all foldings are expanded. | verified fixed | d8b10b6 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/AbstractFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpPostSaveListener.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ImportsFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/LinkedFix.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeFormatFix.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CommentFormatFix.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-27T12:01:03Z" | "2006-10-27T11:53:20Z" |
162,530 | Bug 162530 [save participant] Auto disabled participant can't be enabled | I20061024-1200 1. Have an enabled save participant throwing an exception 2. Participant is disabled 3. Go to preference page and enable it Is: participant is not enabled. | resolved fixed | eddef9b | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/saveparticipant/SaveParticipantRegistry.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-27T08:15:55Z" | "2006-10-27T09:06:40Z" |
162,434 | Bug 162434 [content assist] Code conpletion for 'for' doesn't choose the correct collection | N20061026-0010 When using the 'for' xource code completion it used to automatically choose the most recently defined collection but now doesn't... If I enter the following line... List trimParts = presentation.getLayout().getTrimForParts(); ...and hot Ctrl-Space and select 'iterate over collection' I now get the following... for (Iterator iterator = alwaysOffActionSets.iterator(); iterator.hasNext();) { type name = (type) iterator.next(); } Note that the collection is 'alwaysOffActionSets' rather than 'trimParts' which is what I used to get. Not sure but perhaps the choice is alphabetical now? | resolved fixed | d6c2434 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-27T06:42:16Z" | "2006-10-26T16:26:40Z" |
162,374 | Bug 162374 [clean up] Allow dialog profile | I20061024-1200 When executing clean up with wizard, it should be possible to enable and edit a profile in the wizard. The profile is only stored in the dialog settings. | resolved fixed | 6dce579 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CodeStyleTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/MemberAccessesTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/MissingCodeTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/UnnecessaryCodeTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-26T10:39:12Z" | "2006-10-26T10:53:20Z" |
161,617 | Bug 161617 [ast rewrite] replacing InstanceofExpression.LEFT_OPERAND_PROPERTY should ensure whitespace | Try to extract a local from the expression "new Object()" -------------------- Bug.java ---------------------- class Bug { { System.err.println(new Object()instanceof Object); } } | verified fixed | 79a4f9f | ["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test100_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test100_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractTempTests.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-26T09:36:46Z" | "2006-10-19T17:46:40Z" |
162,179 | Bug 162179 Cannot edit a class using Open Type dialog after having loaded source of a plugin | Build I20061017-0800. I have opened an editor on JavaElementLabels class when org.eclipse.jdt.ui was not loaded in my workspace => Editor was opened on JavaElementLabels.class file using source attachement... Everything was fine. After that, I checked-out org.eclipse.jdt.ui plugin from CVS repository. Editor was closed automatically during this operation and so I wanted to open the editor on this class again. Then, I systematically got following error: "Unable to create editor ID org.eclipse.jdt.ui.ClassFileEditor: The classfile is not on the classpath" and so, I was not able to open an editor on this class... It seems that Open Type dialog history stored the previous path to class file and the only way for me to open the file was to explicitely remove JavaElementLabels from the history... | verified fixed | 243c721 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/OpenTypeHistory.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-25T14:07:02Z" | "2006-10-25T09:53:20Z" |
162,045 | Bug 162045 [clean up] (with format) on dirty file saves file | N20061023-0010 Clean up (with format) on dirty file saves file. | resolved fixed | 0251e81 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-24T15:15:28Z" | "2006-10-24T08:53:20Z" |
65,841 | Bug 65841 [typing] Pasted comment wrong when using smart paste | If you have a comment like this: // this is a comment And you copy/paste the entire line to a new line (including leading indentation) you get the correct result: // this is a comment However, if you copy/paste the line *without* the leading indentation to a new line, you incorrectly get: // this is a comment | resolved fixed | fb77351 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-23T15:05:50Z" | "2004-06-04T23:00:00Z" |
161,910 | Bug 161910 [nls tooling] Missing Hover-Warning when NLS link broken due to empty messages file | To reproduce the bug, create a string and externalize it. If you now delete the key value pair in the respective properties file and then hover the externalized string you will get a warning saying the key is missing. This works fine if the properties file is not empty. If it is empty, no hover is displayed. The code that prevents the hover to appear in this case can be found in org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover line 111 Properties properties= NLSHintHelper.getProperties(propertiesFile); if (properties == null || properties.isEmpty()) return null; In case the properties file is empty a warning should be returned rather than null. | resolved fixed | 101b71b | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaHoverMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/NLSStringHover.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-23T10:37:30Z" | "2006-10-23T07:53:20Z" |
161,577 | Bug 161577 [open type] StringIndexOutOfBoundsException "Searching for all types" | Build id: I20061017-0800 * Opened the "Open type dialog" * Typed a capital "S" in the dialog java.lang.StringIndexOutOfBoundsException at java.lang.String.charAt(String.java:415) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$TypeInfoComparator.compareName(TypeInfoViewer.java:176) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$TypeInfoComparator.compare(TypeInfoViewer.java:157) at java.util.Arrays.mergeSort(Arrays.java:1322) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.sort(Arrays.java:1238) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$SearchEngineJob.getSearchResult(TypeInfoViewer.java:682) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractSearchJob.internalRun(TypeInfoViewer.java:571) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractSearchJob.doRun(TypeInfoViewer.java:518) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractJob.run(TypeInfoViewer.java:484) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) | resolved fixed | dc8b22b | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T18:04:25Z" | "2006-10-19T15:00:00Z" |
161,444 | Bug 161444 [build path] NPE trying to open a JavaProject | eclipse.buildId=I20061010-0800 java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060919 (JIT enabled) J9VM - 20060915_08260_lHdSMR JIT - 20060908_1811_r8 GC - 20060906_AA BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA Framework arguments: -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -debug -consolelog -console -showlocation I got this trying to open a java project. Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getRequiredProjects(ClassPathContainer.java:138) at org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getChildren(ClassPathContainer.java:130) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getContainerPackageFragmentRoots(PackageExplorerContentProvider.java:257) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:203) at org.eclipse.jdt.ui.StandardJavaElementContentProvider.hasChildren(StandardJavaElementContentProvider.java:232) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1946) at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:740) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:181) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1974) at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2570) at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:982) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2505) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1717) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:850) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1724) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:850) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1692) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1648) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.internalRefresh(PackageExplorerPart.java:270) at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1418) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1326) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:401) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1416) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1373) at org.eclipse.jdt.internal.ui.viewsupport.FilterUpdater$1.run(FilterUpdater.java:51) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 20 more | resolved fixed | a67f93f | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T17:37:10Z" | "2006-10-18T16:46:40Z" |
161,414 | Bug 161414 [package explorer] NPE from Packages Explorer on restart | I got the following NPE in the Packages Explorer after a restart: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.packageview.WorkingSetAwareContentProvider.getWorkingSetChildren(WorkingSetAwareContentProvider.java:109) at org.eclipse.jdt.internal.ui.packageview.WorkingSetAwareContentProvider.getChildren(WorkingSetAwareContentProvider.java:85) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1214) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:658) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:170) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1978) at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2574) at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:983) at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:798) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:775) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:779) at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1352) at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:963) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1339) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1326) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:401) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1328) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1564) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.createPartControl(PackageExplorerPart.java:636) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1147) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:623) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:535) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:569) at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:244) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:983) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2412) at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2613) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2594) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1979) at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2859) at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2807) at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1683) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1423) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1681) at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1652) at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1531) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1475) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1087) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1849) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) | resolved fixed | 7adcfdd | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetAwareContentProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T17:22:20Z" | "2006-10-18T14:00:00Z" |
160,860 | Bug 160860 [type wizards] option to tell type wizards to not open an editor | 20061012 Follow up to up 110643: An option to configure the action to not open an editor in the end. | resolved fixed | a6f7db0 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewAnnotationCreationWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewEnumCreationWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewInterfaceCreationWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewAnnotationWizardAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewClassWizardAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewEnumWizardAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewInterfaceWizardAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T17:03:16Z" | "2006-10-13T14:33:20Z" |
149,633 | Bug 149633 [implementation] AssertionFailedError in DocumentLineDifferInitializationTest | null | verified fixed | 18ec632 | ["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/AbstractDocumentLineDifferTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentLineDifferInitializationTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentLineDifferModificationTest.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T13:31:52Z" | "2006-07-05T06:13:20Z" |
161,713 | Bug 161713 [clean up] NPE on organize imports | Given: package test; import java.io.*; public class E1 {} 1. Enable 'Organize Imports' in clean up 2. Disable 'Show Clean Up Wizard' 3. Clean up 'E1' is: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.fix.ImportsFix.createCleanUp(ImportsFix.java:38) at org.eclipse.jdt.internal.ui.fix.ImportsCleanUp.createFix(ImportsCleanUp.java:70) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.calculateSolutions(CleanUpRefactoring.java:220) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.acceptAST(CleanUpRefactoring.java:196) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:712) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:466) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:707) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpParser.createASTs(CleanUpRefactoring.java:374) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpFixpointIterator.next(CleanUpRefactoring.java:453) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.cleanUpProject(CleanUpRefactoring.java:668) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:622) at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:81) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1742) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4063) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) | resolved fixed | 54e9a18 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ImportsCleanUp.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T12:23:02Z" | "2006-10-20T13:13:20Z" |
161,672 | Bug 161672 u's with umlauts in test resources are causing failures when using IBM Java JRE 1.4.2 or 5.0 | There are two resources which contain non UTF-8 characters: org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Before.java org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Modified.java These files are causing IndentActionTes.testUnchanged to fail with the following trace: sun.io.MalformedInputException at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262) at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:314) at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:364) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250) at java.io.InputStreamReader.read(InputStreamReader.java:212) at java.io.Reader.read(Reader.java:143) at org.eclipse.jdt.text.tests.performance.FileTool.read(FileTool.java:192) at org.eclipse.jdt.text.tests.performance.ResourceTestHelper.read(ResourceTestHelper.java:133) at org.eclipse.jdt.text.tests.IndentActionTest.assertIndentResult(IndentActionTest.java:97) at org.eclipse.jdt.text.tests.IndentActionTest.testUnchanged(IndentActionTest.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:23) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:58) at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:105) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2882) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:45) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) | resolved fixed | 36b6d66 | ["org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Before.java", "org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Modified.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-20T09:39:11Z" | "2006-10-19T23:20:00Z" |
153,247 | Bug 153247 [templates] Templates content assist additional info outdated and improvable | I20060807-2000 Templates content assist additional info is outdated and improvable. - Some proposals like arg have a cryptic string at the end. I guess that's an example of usage. If so, then this should be clearly stated with a title "Example: ..." - arg: refers to TypeVar, should be arg - elem: refers to ElementType - name and var: should have an example - variables that accept arguments should - show their arguments in the proposal name - start their additional info with the full definition as in help, e.g. ${id:var(type name)} for var | resolved fixed | 4db40b1 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitCompletion.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/ElementTypeResolver.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/FieldResolver.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/JavaVariable.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/LocalVarResolver.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/TypeVariableResolver.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/VarResolver.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-19T15:38:26Z" | "2006-08-09T07:53:20Z" |
161,282 | Bug 161282 [content assist] Applying proposal from the content assist history results in unresolved type | Create a blank file with a main method, and type in the method: Set[CTRL-SPACE and import Set]<String> my = new [CTRL-SPACE and choose TreeSet, and finish the line] You should have ended up with: Set<String> my = new TreeSet<String>(); Where TreeSet was "auto-added" by Eclipse, but it will be underlined red, for you still need to import it. Expected: if Eclipse added TreeSet, it should have added an import line for it. | resolved fixed | e64b758 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposalComputer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-18T16:16:50Z" | "2006-10-17T15:46:40Z" |
161,395 | Bug 161395 [preferences] Formatter profile not correctly exported | 1. Go to Preferences>Java>Code Style>Formatter 2. Select "Eclipse built in' 3. Edit... 4. Change the name 5. Select 'Spaces only' as 'Tab policy' 6. Export... Is: The exported profile has 'tab' as 'Tab policy' I guess the export action does not export the working values (Executing 'Apply' before step 6 solves the problem). | resolved fixed | 04df559 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-18T12:33:44Z" | "2006-10-18T11:13:20Z" |
161,359 | Bug 161359 [content assist] Second choice not inserted | Activating the content assist in the following example shows two entries. Selecting the first "twice" inserts the text. Selecting the second entry "Main.this.twice" does nothing. Workaround: remember the proposed entry and type it manually. Version: 3.2.0 Build-ID: M20060629-1905 JDK 1.4.2_12 or JDK 1.5.0_06 === Code Example === public class Main { int twice = 0; Inner inner = new Inner(){ void notImportant(){ int left = tw /* want to select Main.this.twice*/ // ^Place cursor here // and press Control+blank. Two entries are shown // but selecting entry "Main.this.twice" // inserts nothing } }; abstract class Inner { int twice =1; abstract void notImportant(); } } | resolved fixed | 6a3929a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-18T09:57:21Z" | "2006-10-18T05:40:00Z" |
107,496 | Bug 107496 [content assist] Automatic Imports Enhancement | Is it possible to import a class as you type instead of using "Add Import" or "Organise Imports" ? Both the later options are useful and good but disrupt the flow of your typing. As you know, when the "type" is not found, code completions are not available on the "type". So you have to stop and do an "Add Import" or an "Organise Imports" and then continue typing. My suggestion is this; just like code completion (which pops up automatically) "add import" should popup if the parser recognizes a non-unique class or interface; user will then select what he/she wants and continue. If the class or interface is unique import it quietly so that users can continue typing with code-completion. Ofcourse this does mean that when you type "StringBuilder", "String" will also be quietly imported. But such imports will be cleared later via a user invoked "Organise Imports". For non-unique types a pop-up delay can help minimize user anoyance (i.e reasonably fast typers will never face irrelevant pop-ups). Ofcourse some users will completely reject this idea (as bad or due to performance issues) - hence a preference control to enable/disable this feature. I can't imagine there being any performance issues as currently "Add Import" or "Organise Imports" are pretty fast. What do you guys think. Cheers | verified fixed | bac6051 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-17T14:40:59Z" | "2005-08-20T01:06:40Z" |
160,966 | Bug 160966 [quick fix] Provide quick fix for incorrect @Override annotation | Version: 3.3.0 Build id: I20060922-0010 If you specify an @Override annotation on a method that does not override a method in a superclass you correctly get a compiler error stating as much. It would be nice if there were a quick fix for this problem to remove the offending annotation. Another possible fix would be to add the missing superclass method, but this possibly less useful. A similar fix could be provided when you specify an annotation in the wrong position (like on a constructor) | resolved fixed | b465d63 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-17T09:06:16Z" | "2006-10-14T23:53:20Z" |
157,791 | Bug 157791 [clean up] UI imrpovements for multiple file clean up | 20060919 - select more than one CU, start 'Clean Up' - the wizard that shows up could be improved the following way: - description should be changed to: 'Cleaning up 5 selected files' - body: Using profile '<a>ProfileX</a>' for files in project 'X' (<a>Configure...</a>) Using profile '<a>ProfileY</a>' for files in project 'Y' (<a>Configure...</a>) - Checkbox: Do not show this dialog again | resolved fixed | 3769779 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileManager.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-16T12:30:53Z" | "2006-09-19T12:46:40Z" |
159,884 | Bug 159884 In synchronize view, some changes are hidden when view is "All Models" or "Java Workspace" | A developer on my team added some files into CVS. I should note that the root folder of the project serves as the source folder, in case that makes any difference. When I do a team>synchronize, I do not see these added files if the view is "All Models" or "Java Workspace". If I change it to "Workspace", I see them. I don't know what the difference between "Java Workspace" and "Workspace" is, but it seems intuitive to me that if something appears when "Workspace" is selected, it should appear when "All Models" is selected. The synchronize view did show the project as having incoming changes, that is the project was present in the synchronize view when in incoming mode, but there was nothing under the project in the tree view. | verified fixed | f89287e | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/model/ContentProviderTests.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/model/MockPluginView.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-16T10:15:29Z" | "2006-10-05T14:53:20Z" |
160,858 | Bug 160858 [clean up] Show clean up wizard also on single cu | I20061010-0800 The clean up wizard is, at the moment, only shown when selecting more then on cu, that's confusing. The user should be able to select on the clean up preference page if he wants to see the wizard or not. | resolved fixed | 1ab1a6a | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CleanUpAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-13T13:40:55Z" | "2006-10-13T14:33:20Z" |
159,699 | Bug 159699 [content assist] NPE in Content Assist when action has no keybinding | null | verified fixed | f925341 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-13T09:01:16Z" | "2006-10-04T08:20:00Z" |
160,521 | Bug 160521 [Compare] Changes needed to support file buffers | null | resolved fixed | 9864ea0 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-12T14:07:25Z" | "2006-10-11T18:06:40Z" |
157,796 | Bug 157796 [misc] 'Text Editing' navigation and selection commands block widget shortcuts of class file editor without source | I20060919-0010, same in 3.2 Most navigation and selection commands don't work in the class file editor: - 'Edit > Select All' (Ctrl+A) is enabled, but does not do anything - 'Edit > Expand Selection To' actions are enabled, but just show a dialog - Ctrl+Left, Ctrl+Shift+Left, Home, Ctrl+Home, Shift+Home, and their equivalents with Right/End don't work | resolved fixed | 2e0eb7e | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-12T10:44:48Z" | "2006-09-19T12:46:40Z" |
160,270 | Bug 160270 [clean up] Converting iterable loop removes update expressions | We tested a general cleanup of our code and found a problem with the cleanup of loops. The following testcase shows that cleanup removes code in the for-loop that it shouldn't, the "i++" is silently removed although later code depends on it. I think in these cases the cleanup should just do nothing to avoid changing behaviour: public void testEclipseLoopCleanupError() { // //////////////////////////////////////////////// // before cleanup // //////////////////////////////////////////////// { List<String> output = new LinkedList<String>(); output.add("Test1"); int i = 0; for (Iterator<String> it = output.iterator(); it.hasNext(); ++i) { final String o = it.next(); assertEquals("Test1", o); } assertEquals(1, i); } // //////////////////////////////////////////////// // after cleanup // //////////////////////////////////////////////// { List<String> output = new LinkedList<String>(); output.add("Test1"); int i = 0; for (String o : output) { assertEquals("Test1", o); } assertEquals(1, i); } } | verified fixed | d0ff4aa | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-11T09:40:18Z" | "2006-10-10T08:46:40Z" |
160,312 | Bug 160312 [clean up] Compile error after converting nested for loops without block | N20061010-0010 Given: package test1; public class E1 { void foo(Object[] x, Object[] y) { for (int i = 0; i < y.length; i++) for (int j = 0; j < x.length; j++) System.out.println(y[i]); } } Clean Ups: - Convert control statement bodies to block - Convert for loops to enhanced for loops Is: for (Object element : y) { for (int j = 0; j < x.length; j++) } } Should: for (Object element : y) { for (Object element1 : x) { System.out.println(element1); } } | verified fixed | 188d911 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-10T15:53:10Z" | "2006-10-10T14:20:00Z" |
160,283 | Bug 160283 [clean up] Convert iterable loop ignores block change settings | I20061003-0800 Given: package test1; import java.util.Iterator; import java.util.List; public class E1 { void bar(List<Object> x) { for (Iterator<Object> i = x.iterator(); i.hasNext();) { System.out.println(i.next()); } } } Clean Ups: - Remove unnecessary blocks - Convert for loops to enhanced for loops Is: for (Object object : x) { System.out.println(object); } Should: for (Object object : x) System.out.println(object); And given: package test1; import java.util.Iterator; import java.util.List; public class E2 { void bar(List<Object> x) { for (Iterator<Object> i = x.iterator(); i.hasNext();) System.out.println(i.next()); } } Clean Ups: - Convert control statement bodies to block - Convert for loops to enhanced for loops Is: for (Object object : x) System.out.println(object); Should: for (Object object : x) { System.out.println(object); } | resolved fixed | d2e8c55 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-10T14:17:45Z" | "2006-10-10T11:33:20Z" |
159,449 | Bug 159449 [clean up] Clean Up Wizards throws exception (converting for loops) | Hi, I just tried the new cleanup wizard. It works as expected for all but one file. This file seems to be nothing special: it compiles normally. However, the attached exception is always thrown when I am pressing next on the Clean Up wizard page. When I'm deactivating the selection "Convert for loops to enhanced", then everything works fine. Seems to be a bug in the for loops refactoring. Best regards, Ulli | resolved fixed | 5650f34 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-10T13:54:11Z" | "2006-10-02T14:40:00Z" |
80,000 | Bug 80000 [projection] Nested code should not be unfold if not needed | having grindingly folded all not-needed parts of the code typing a single wrong letter unfolds all code again! this drives me nuts. even code not affected by typing unfolds. write a little class with, say, two methods. fold them and type something wrong just before the closing brake of the class ... et voila. btw: independently from the above -- "fold all" in the context-menu may be a lot more helpfull then "unfold all" | verified fixed | 2aca5b7 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-10T08:52:22Z" | "2004-12-02T12:20:00Z" |
160,218 | Bug 160218 [clean up] MalformedTreeExcpetion on converting iterable loop | I20061003-0800 Given: package test1; import java.util.Iterator; import java.util.List; public class E1 { void bar(List<Number> x) { if (true) { for (Iterator<Number> i = x.iterator(); i.hasNext();) System.out.println(i.next()); } } } Clean Ups: - Remove unnecessary blocks - Convert for loops to enhanced for loops 1. Run Clean Up on E1 Is: org.eclipse.text.edits.MalformedTreeException: Source edit has different target edit. at org.eclipse.text.edits.MoveTargetEdit.performConsistencyCheck(MoveTargetEdit.java:143) at org.eclipse.text.edits.TextEdit.traverseConsistencyCheck(TextEdit.java:870) at org.eclipse.text.edits.MoveTargetEdit.traverseConsistencyCheck(MoveTargetEdit.java:133) at org.eclipse.text.edits.TextEdit.traverseConsistencyCheck(TextEdit.java:866) at org.eclipse.text.edits.TextEdit.traverseConsistencyCheck(TextEdit.java:866) at org.eclipse.text.edits.TextEditProcessor.checkIntegrityDo(TextEditProcessor.java:168) at org.eclipse.text.edits.TextEdit.dispatchCheckIntegrity(TextEdit.java:740) at org.eclipse.text.edits.TextEditProcessor.performEdits(TextEditProcessor.java:149) at org.eclipse.ltk.core.refactoring.TextChange.perform(TextChange.java:240) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.access$0(DynamicValidationStateChange.java:1) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange$1.run(DynamicValidationStateChange.java:92) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4050) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4007) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.perform(DynamicValidationStateChange.java:95) at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:232) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:280) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:109) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:197) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4050) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:172) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:137) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startCleanupRefactoring(RefactoringExecutionStarter.java:260) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:158) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:80) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:272) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3398) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3022) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1916) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1880) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) | resolved fixed | bf4810c | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-09T15:35:30Z" | "2006-10-09T16:06:40Z" |
159,337 | Bug 159337 [clean up] convert iterable loop ignores single non block body statement | 3.2 public class Cleanup<K> extends ArrayList<K>{ void foo(){ for (Iterator<K> i = iterator(); i.hasNext(); ) System.out.println(i.next()); } } this does not compile after cleanup (convert to enhanced for loop) | verified fixed | 398cede | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertIterableLoopQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-09T14:47:39Z" | "2006-09-29T20:00:00Z" |
158,207 | Bug 158207 [clean up] cleanup wizard: progress reporting tweak | 3.2 when the cleanup wizard is running, the numbers (xxx of yyy) are appended after the class name which makes them unreadable. If they were prepended (i.e., "(xxx of yyy) ClassName"), it would make them more useful. | resolved fixed | a85575e | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-09T13:03:21Z" | "2006-09-21T20:20:00Z" |
160,045 | Bug 160045 Test failures due to missing key binding sequence | N20061004-0010 TypeCompletionTest fail on linux. Added a null check in ContentAssistProcessor line 161 to prevent the failures. However, this has to be investigated: it is most likely a platform problem that no key binding is returned there. org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72) at org.eclipse.jface.text.contentassist.ContentAssistant.setRepeatedInvocationTrigger(ContentAssistant.java:2267) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor$2.assistSessionStarted(ContentAssistProcessor.java:163) at org.eclipse.jface.text.contentassist.ContentAssistant.fireSessionBeginEvent(ContentAssistant.java:2134) at org.eclipse.jface.text.contentassist.ContentAssistant.prepareToShowCompletions(ContentAssistant.java:1611) at org.eclipse.jface.text.contentassist.ContentAssistant.completePrefix(ContentAssistant.java:1591) at org.eclipse.jdt.text.tests.contentassist.AbstractCompletionTest.incrementalAssist(AbstractCompletionTest.java:489) at org.eclipse.jdt.text.tests.contentassist.AbstractCompletionTest.assertIncrementalCompletion(AbstractCompletionTest.java:311) at org.eclipse.jdt.text.tests.contentassist.AbstractCompletionTest.assertMethodBodyIncrementalCompletion(AbstractCompletionTest.java:211) at org.eclipse.jdt.text.tests.contentassist.TypeCompletionTest.testIncrementalInsertion(TypeCompletionTest.java:206) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) | resolved fixed | 53a8058 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-06T15:38:44Z" | "2006-10-06T15:53:20Z" |
159,802 | Bug 159802 [add import] reports "No type '$missing$' found" in status bar | Using the "Add Import" shortcut (default: Shift-Ctrl-M) with the cursor immediately after a type name does not recognize the type name in some cases. 1. Create a new class, let's call it ImportBug. 2. In the class, create a method, say "importBug()": public class ImportBug { void importBug() { } } 3. In the body of the method, type the name of a class, such as 'LinkedList'. Leave the cursor at the end of the word LinkedList. 4. Use the shortcut for "Add Import" (the default on Linux is Shift-Ctrl-M). 5. Note the text in the status bar: "No type '$missing$' found." The status bar text leads me to believe that the Add Import function can't find the word 'LinkedList'. Other info: 1. It also does not work in a cast, e.g. at the end of this line: LinkedList ret = ((LinkedList 2. It does work after 'new', e.g.: LinkedList ret = new LinkedList | resolved fixed | 4d64738 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/CodeGenerationMessages.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-06T13:32:49Z" | "2006-10-04T19:26:40Z" |
159,638 | Bug 159638 [organize imports] Organize Imports alternates including annotation defined on parent | When you have a class which extends another class and includes an annotation defined inside that parent class. Organize Imports alternates including that import. // File 1 package first; import java.lang.annotation.*; public abstract class Parent { @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Tag{ String value(); } } // File 2 package other; import first.Parent; import first.Parent.Tag; @Tag("foo") public class Child extends Parent { } When you type Ctrl-Shift-O the second import in file 2 (first.Parent.Tag) disappears. When you click it again it appears. This alternating behavior is quite annoying. | resolved fixed | 346c93f | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/Bindings.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-05T16:36:18Z" | "2006-10-03T21:13:20Z" |
159,462 | Bug 159462 [reorg] Paste in own working set possible | 3.3M2 Using package explorer mode where top level nodes are working sets: 1. expand a working set 2. select a child project, copy it through action menu 3. select again working set node 4. paste project using action menu --->Observe that the copied project got duplicated (no rename?!) 5. flip back to mode where toplevel nodes are projects: --->Observe that no copy actually took place !? | resolved fixed | f33c522 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-05T14:21:31Z" | "2006-10-02T14:40:00Z" |
159,424 | Bug 159424 [organize imports] Organize Imports creates invalid static import | When a class (A) defines a static field (logger) and an inner class (BSubClass) uses it when it's superclass (B) has a static field of the same name, running organize imports on A adds an invalid entry (import static a.A.logger;). a/A.java: package a; import java.util.logging.Logger; public abstract class A { private static Logger logger = Logger.getLogger(A.class.getName()); private BSubClass b; public A() { b = new BSubClass(); b.someMethod(); } protected class BSubClass extends B { public void someMethod() { logger.info("someMethod() called in BSubClass"); } } } a/B.java package a; import java.util.logging.Logger; public abstract class B { private static Logger logger = Logger.getLogger(B.class.getName()); } I've found that the bug does not occur when A is in the default package. An easy workaround is to remove the import after it is generated, but this becomes tedious. | resolved fixed | ea2d384 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-05T13:25:02Z" | "2006-10-02T00:46:40Z" |
151,408 | Bug 151408 [package explorer] "Link to editor" not working | build i0718 - in the Java Perspective - select "Link with Editor" in the Package Explorer - open an editor on a file - in the Package Explorer hit the "minimize tree" icon - select the editor Note that the package explorer doesn't show the selection. In order to "re-enable" the function for that editor, you either have to click on the icon (twice) or switch to another editor and back. | resolved fixed | fab7ec9 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-05T08:43:33Z" | "2006-07-21T13:53:20Z" |
159,100 | Bug 159100 Add Import gives ArrayIndexOutOfBoundsException | HEAD 1. have JUnit in workspace 2. open TestCase 3. go to run(TestResult result) methid 4. in the body insert "Text f;" above "result.run(this);" 5. place the caret after "Text f;" 6. Ctrl+Shift+M ==> !ENTRY org.eclipse.jdt.ui 4 10001 2006-09-28 12:59:28.130 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:381) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:1130) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1123) at org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction.run(AddImportOnSelectionAction.java:136) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:465) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:793) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:840) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:563) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:505) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:996) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4070) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1977) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3018) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jdt.internal.core.search.BasicSearchEngine.match(BasicSearchEngine.java:462) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:810) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:603) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.findAllTypes(AddImportsOperation.java:377) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.evaluateEdits(AddImportsOperation.java:279) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.run(AddImportsOperation.java:150) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4022) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) ... 53 more Root exception: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jdt.internal.core.search.BasicSearchEngine.match(BasicSearchEngine.java:462) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:810) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:603) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.findAllTypes(AddImportsOperation.java:377) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.evaluateEdits(AddImportsOperation.java:279) at org.eclipse.jdt.internal.corext.codemanipulation.AddImportsOperation.run(AddImportsOperation.java:150) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4022) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:1130) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1123) at org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction.run(AddImportOnSelectionAction.java:136) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:465) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:793) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:840) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:563) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:505) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:996) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4070) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1977) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3018) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) | resolved fixed | fecd949 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-05T08:34:56Z" | "2006-09-28T10:40:00Z" |
159,073 | Bug 159073 [dnd] AssertionFailedException: assertion failed: while doing the drag and drop opration. | Steps to reproduce the defect: 1. Start Eclipse and create a Java Project( or web project). 2. Create a simple file within the project. 3. Within the Project Explorer, make sure that the scroll bar is visible (adjust size of Project Explorer view to see the vertical scroll bar) 4. Drag the created file to the scroll bar and during this drag make sure to pass over any other element in the Project Explorer, say over a folder so that it gets highlighted as a drop target. See attachment. 5. When the mouse reaches the scroll bar, there is an assertion failed exception thrown. Stack trace is below: eclipse.buildId=I20060810-1230 java.version=1.4.2_01 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 Error Wed Sep 27 13:45:13 IST 2006 assertion failed: org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$FilesFoldersAndCusReorgPolicy.verifyDestination(ReorgPolicyFactory.java:1044) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$MoveFilesFoldersAndCusPolicy.verifyDestination(ReorgPolicyFactory.java:1472) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$ReorgPolicy.setDestination(ReorgPolicyFactory.java:2720) at org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor.setDestination(JavaMoveProcessor.java:293) at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.handleValidateMove(JavaDropAdapterAssistant.java:225) at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.validateDrop(JavaDropAdapterAssistant.java:131) at org.eclipse.ui.navigator.CommonDropAdapter.validateDrop(CommonDropAdapter.java:207) at org.eclipse.jface.viewers.ViewerDropAdapter.doDropValidation(ViewerDropAdapter.java:175) at org.eclipse.jface.viewers.ViewerDropAdapter.dragOver(ViewerDropAdapter.java:221) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:59) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709) at org.eclipse.swt.dnd.DropTarget.DragOver(DropTarget.java:336) at org.eclipse.swt.dnd.DropTarget$3.method4(DropTarget.java:236) at org.eclipse.swt.internal.ole.win32.COMObject.callback4(COMObject.java:99) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:306) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:277) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:164) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3377) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2997) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) | verified fixed | ede1fd8 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-05T08:13:20Z" | "2006-09-28T07:53:20Z" |
159,456 | Bug 159456 [1.5][compiler] Enable compiler warning for raw type reference by default | 3.3M2 The compiler should diagnose references to raw types as a warning by default. | verified fixed | 9308405 | ["org.eclipse.jdt.ui.tests/test", "plugin/org/eclipse/jdt/testplugin/TestOptions.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-10-03T15:00:45Z" | "2006-10-02T14:40:00Z" |
149,467 | Bug 149467 [JUnit] Junit 3.8.x support is not up to date | Eclipse 3.2 ships with support for both JUnit 3.8.x and JUnit 4.x. The former is based on JUnit 3.8.1, while the current version is 3.8.2 (which is a bug-fix release). Please update the 'org.junit' plugin from version 3.8.1 to version 3.8.2. | resolved fixed | 95182f7 | ["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerInitializer.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerInitializer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-09-28T09:46:00Z" | "2006-07-03T15:20:00Z" |
158,375 | Bug 158375 [actions] Poor performance in FormatAllAction.runOnMultiple with single file. | My plugin generates java source files into a project and is using org.eclipse.jdt.ui.actions.FormatAllAction.runOnMultiple(ICompiliationUnit[]) to format the generated files. I have discovered that if the ICU[] contains a single entry, then the file is opened in an editor and formatted. This has two pretty serious side effects. 1. the user must save the changes manually. 2. performance is very slow. I solved #1 by adding a call to ICU.commitWorkingCopy, but there is no mention of needing to do this in the javadocs for FormatAllAction.runOnMultiple. In my case, I was able to solve #2 if more than one package fragment is being formatted. I am able to collect the ICU[] for each package fragment into a single ICU[]. This avoids the ICU.length == 1 test from opening an editor. To me, this seems to be a bug. The fact that runOnMultiple behaves differently if it has only one ICU to deal with is bad enough, but that extra step of opening the file in an editor creates a lot of overhead and slows the method down considerably. runOnMultiple has the potential for being very useful for utility plug-in, but it should have constant behavior for all cases. I would think that if the user wants the file open in an editor, they should do that themselves. | resolved fixed | b851bb8 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-09-25T10:21:54Z" | "2006-09-22T18:33:20Z" |
158,274 | Bug 158274 Compile error in HEAD of AptConfigurationBlock | null | resolved fixed | ef47a25 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-09-22T10:06:29Z" | "2006-09-22T10:13:20Z" |
157,639 | Bug 157639 [package explorer] First opening of PackageExplorer takes long (during startup) | I rebooted my machine, started Eclipse with a large set of plugins. I noticed startup stalling in PDE core for about 20 seconds (felt like that). During warm startups the wait time is about 5-6s. I narrowed it down to PackageExplorer triggering ProblemView triggering JavaCore triggering initialization of all containters. My target platform has ~3,000 plugins, and PDE took a long time to scan them. My suggestion is to sping off line 40 below in a separate job instead of running on the same thread. Here is a stack trace: 96 org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) 95 org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runInitializer(PreferenceServiceRegistryHelper.java:275) 94 org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:130) 93 org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:337) 92 org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:162) 91 org.eclipse.core.internal.preferences.DefaultPreferences.loadDefaults(DefaultPreferences.java:231) 90 org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:227) 89 org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307) 88 org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:543) 87 org.eclipse.core.internal.preferences.DefaultPreferences.node(DefaultPreferences.java:149) 86 org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getDefaultPreferences(PreferenceForwarder.java:138) 85 org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getString(PreferenceForwarder.java:644) 84 org.eclipse.pde.internal.core.ExternalModelManager.getPluginPaths(ExternalModelManager.java:130) 83 org.eclipse.pde.internal.core.PluginModelManager.initializeTable(PluginModelManager.java:433) 82 org.eclipse.pde.internal.core.PluginModelManager.findEntry(PluginModelManager.java:169) 81 org.eclipse.pde.internal.core.RequiredPluginsInitializer.initialize(RequiredPluginsInitializer.java:38) 80 org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) 79 org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) 78 org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470) 77 org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169) 76 org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073) 75 org.eclipse.jdt.internal.core.JavaModelManager.determineIfOnClasspath(JavaModelManager.java:808) 74 org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:697) 73 org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:626) 72 org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1383) 71 org.eclipse.jdt.internal.ui.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:44) 70 org.eclipse.core.internal.runtime.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:63) 69 org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:256) 68 org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:66) 67 org.eclipse.jdt.internal.ui.filters.NamePatternFilter.select(NamePatternFilter.java:62) 66 org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isFiltered(ProblemTreeViewer.java:187) 65 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.isFiltered(PackageExplorerPart.java:301) 64 org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:174) 63 org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1900) 62 org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2487) 61 org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:754) 60 org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:731) 59 org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) 58 org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705) 57 org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892) 56 org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1288) 55 org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323) 54 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:402) 53 org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1277) 52 org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250) 51 org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1542) 50 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.createPartControl(PackageExplorerPart.java:636) 49 org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332) 48 org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197) 47 org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) 46 org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) 45 org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525) 44 org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) 43 org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) 42 org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) 41 org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) 40 org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144) 39 org.eclipse.ui.internal.PartStack.createControl(PartStack.java:620) 38 org.eclipse.ui.internal.PartStack.createControl(PartStack.java:532) 37 org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:562) 36 org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:244) 35 org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:815) 34 org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2436) 33 org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2616) 32 org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) 31 org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2597) 30 org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1982) 29 org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857) 28 org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805) 27 org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681) 26 org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1414) 25 org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679) 24 org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650) 23 org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529) 22 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 21 org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473) 20 org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) 19 org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702) 18 org.eclipse.ui.internal.Workbench.init(Workbench.java:1085) 17 org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847) 16 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) 15 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 14 org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) 13 org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) 12 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 11 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 10 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 9 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 8 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 7 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 6 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 5 java.lang.reflect.Method.invoke(Method.java:615) 4 org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) 3 org.eclipse.core.launcher.Main.basicRun(Main.java:280) 2 org.eclipse.core.launcher.Main.run(Main.java:977) 1 org.eclipse.core.launcher.Main.main(Main.java:952) | verified fixed | 1cfe07a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/NamePatternFilter.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2006-09-21T16:25:07Z" | "2006-09-18T14:33:20Z" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.