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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
86,177 | Bug 86177 [implementation][preferences] crash with non-"system default" foreground/background colors | This happened with a clean install of 3.1M5a, on a fresh workspace. 1. Change the background and foreground colors to be not "system default" Window -> Preferences -> General -> Editors -> Text Editors Select Background color and uncheck "System Default" Select Foreground color and uncheck "System Default" 2. Go to the Java syntax coloring page and click "OK" Window -> Preferences -> Java -> Editor -> Syntax Coloring Click OK. An error dialog will show up saying, "An error has occurred." You can't go back to eclipse, and you're forced to kill eclipse. The error log has this stack trace: !ENTRY org.eclipse.ui 4 4 2005-02-22 13:22:33.31 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-02-22 13:22:33.31 !MESSAGE Argument not valid !STACK 0 java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:2823) at org.eclipse.swt.SWT.error(SWT.java:2762) at org.eclipse.swt.SWT.error(SWT.java:2733) at org.eclipse.swt.graphics.TextStyle.<init>(TextStyle.java:73) at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:437) at org.eclipse.swt.custom.StyledTextRenderer.drawLine(StyledTextRenderer.java:114) at org.eclipse.swt.custom.StyledText.performPaint(StyledText.java:5748) at org.eclipse.swt.custom.StyledText.handlePaint(StyledText.java:5129) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4791) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1078) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3076) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3480) at org.eclipse.swt.internal.win32.OS.RedrawWindow(Native Method) at org.eclipse.swt.widgets.Control.update(Control.java:2907) at org.eclipse.swt.widgets.Display.update(Display.java:3382) at org.eclipse.jface.window.Window.runEventLoop(Window.java:724) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319) at org.eclipse.jface.preference.PreferenceDialog$12.handleException(PreferenceDialog.java:890) at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:697) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1017) at org.eclipse.core.runtime.Platform.run(Platform.java:757) at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:833) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:220) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.buttonPressed(WorkbenchPreferenceDialog.java:246) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66) at org.eclipse.jface.action.Action.runWithEvent(Action.java:1003) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:557) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:507) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:421) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871) | verified fixed | 6dcb0c5 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSourceViewer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-24T15:14:09Z" | "2005-02-22T19:20:00Z" |
85,713 | Bug 85713 Signature.getTypeSignatureKind does not like wildcard types | 20050217 Signature.getTypeSignatureKind throws an IllegalArgumentException when a signature for wild card is passed. Are signatures for wild cards not considered as type signatures? | verified fixed | af8a479 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/JavaElementLabelsTest.java", "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 | "2005-02-24T14:00:55Z" | "2005-02-17T14:20:00Z" |
84,924 | Bug 84924 Move instance method should allow to move to declaring class | I20050209-0800 Move instance method should allow to move to the method's declaring class. I had code like this (somewhat more complicated, actually the method was a static method which I have moved to A): class A { void m(A a) { a.hashCode(); } } The refactoring didn't allow me to move A#m(A) to parameter 'A a'. I don't see why this is not allowed. Removing "&& !Bindings.equals(declaring, binding)" from MoveInstanceMethodProcessor#computeTargetCategories(..) worked fine (apart from an error message that a method 'm' already exists). | resolved fixed | f8550fe | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-24T11:38:00Z" | "2005-02-10T18:26:40Z" |
86,326 | Bug 86326 Java editor should override getOrientation() | M5 Java editors are unreadable in RTL so we should make them always LTR. | resolved fixed | bc9bd7e | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-24T11:24:17Z" | "2005-02-23T17:33:20Z" |
85,245 | Bug 85245 too many new lines for created getters | 20050215 - for class testCase, create getters and setters for name - the method create have two new lines between the getter and setter. The astrewrite wouldn't add these new new lines (it probes the existing new lines in the same file) | resolved fixed | 6bf68c3 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/AddGetterSetterOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-24T11:17:42Z" | "2005-02-15T12:20:00Z" |
86,441 | Bug 86441 Source>Generate Delegate Methods selects all methods per default [code manipulation] | Since version 3.1M5, Source>Generate Delegate Methods has a different behaviour concerning the boxes that are checked by default. It now checks *all* methods from the source class. The previous behaviour was to check only those methods that had no delegate method already. If I now click OK, all checked methods are created, even those that exist already. | resolved fixed | aae7150 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-24T11:07:55Z" | "2005-02-24T07:26:40Z" |
85,299 | Bug 85299 Cannot copy or move enum constants (IFields) | I20050215-0800 Copying and moving enum constants (IFields, e.g. in the Outline) does not work. The problem is that clients of ASTNodeSearchUtil.getFieldDeclarationNode(IField, CompilationUnit) and ASTNodeSearchUtil.getFieldDeclarationFragmentNode(IField, CompilationUnit) assume they get a field that is not an enum constant. Enum constants map to EnumConstantDeclaration AST nodes, and clients need to either handle them separately or else ensure they only work with non-enum fields. The clients in ReorgPolicyFactory and TypedSource need to be updated. | resolved fixed | 2a0ece8 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/TypedSource.java", "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 | "2005-02-24T10:35:11Z" | "2005-02-15T17:53:20Z" |
86,152 | Bug 86152 Cannot "Generate Delegate Methods..." | I have this snippet and I would expect that I may create delegate methods for the member. However no methods of the member are presented for choice. Tested with 3.1M5a. ----- public class DelegateException { Exception _exception; public DelegateException(Exception exception) { _exception = exception; } } | closed fixed | 41ab16c | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-23T11:11:14Z" | "2005-02-22T16:33:20Z" |
71,354 | Bug 71354 [painting] IAE in StyledText.getBidiSegments upon revert | null | verified fixed | d3ef571 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSourceViewer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-22T09:55:30Z" | "2004-08-04T06:13:20Z" |
85,832 | Bug 85832 [projection] Folding: Select All doesn't correctly unfold header comment | Build I20050217-2000 (i.e. possible M5 candidate) To replicate: 1) make sure "code folding" preferences are at their default values (i.e. I am working in a fresh workspace with all preferences at defaults) 2) open a class, that has a header comment, in an editor (i.e. almost any eclipse class - make sure the header comment is folded) (the file I opened was PaintView in project org.eclipse.swt.examples.paint) 3) type ctrl+A to select all 4) type backspace to unfold the selection 5) notice that the topmost line in the file (the first header comment line) is not selected (in my file, this is the /********************** line) Another way to see this: - repeat steps 1 to 3 for another java file - now type ctrl+C to copy the selected text - paste it into a Windows Notepad or an email message, etc - notice that the first line of code is missing | verified fixed | 8d03c7a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/DefaultJavaFoldingStructureProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-21T19:33:51Z" | "2005-02-18T15:20:00Z" |
85,239 | Bug 85239 Extract Constant should be disabled on switch-case constant | I20050209-0800 enum Color { RED, BLUE(), YELLOW() {}; public static final Color fColor= RED; } class ColorUser { void use() { Color c= Color.fColor; switch (c) { case RED : //extract constant "RED" break; default : break; } } } | resolved fixed | 0895429 | ["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test23_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test23_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/cannotExtract/A_testFail17.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractConstantTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-21T16:34:31Z" | "2005-02-15T12:20:00Z" |
62,876 | Bug 62876 Extract constant should suggest name in more cases [refactoring] | I200405190010 For example if I select "new Money(21, "USD")" and then extract this to a constant no name is suggested | resolved fixed | c9e9df6 | ["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/nameGuessing/testGuessStringLiteral2.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractConstantTests.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractTempWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/TempNameProcessor.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/VariableNamesProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-21T14:39:51Z" | "2004-05-19T12:33:20Z" |
85,945 | Bug 85945 Test failure in N-build in JavaElementLabelsTest.testTypeLabelAnonymousInAnonymous | N20050221-0010 I corrected the bug in JavaElementLabels 1.4 -> 1.5. Please verify the fix. Content not as expected: is org.test.new Object() {...}.xoo().new Serializable() {...} Differs at pos 9: .test.^new Ob expected: org.test.Outer.foo(...).new Object() {...}.xoo().new Serializable() {...} expected:<...Outer.foo(...)....> but was:<......> junit.framework.ComparisonFailure: Content not as expected: is org.test.new Object() {...}.xoo().new Serializable() {...} Differs at pos 9: .test.^new Ob expected: org.test.Outer.foo(...).new Object() {...}.xoo().new Serializable() {...} expected:<...Outer.foo(...)....> but was:<......> at org.eclipse.jdt.testplugin.StringAsserts.assertEqualString(StringAsserts.java:72) at org.eclipse.jdt.ui.tests.core.CoreTests.assertEqualString(CoreTests.java:55) at org.eclipse.jdt.ui.tests.core.JavaElementLabelsTest.testTypeLabelAnonymousInAnonymous(JavaElementLabelsTest.java:223) ... | resolved fixed | 4375077 | ["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 | "2005-02-21T10:39:37Z" | "2005-02-21T10:00:00Z" |
49,449 | Bug 49449 Extract Constant Refactoring: remember 'qualify constant' state [refactoring] | It would be useful if the state of the 'Qualify Constant references...' checkbox was remembered between invocations of the extract constant refactoring. Better yet, determine what the state of the checkbox should be based on where the extracted literal is extracted from. ie., if its in a static block/method, then the checkbox is unchecked, if its in an instance method, then its checked. Channing | resolved fixed | 175c68c | ["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantWizard.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-18T18:55:12Z" | "2004-01-01T12:26:40Z" |
85,845 | Bug 85845 Preference for adding method comments is project-specific even though Code Templates are not | I20050217-2000 - in a workspace with Preferences > Java > Code Style > Code Templates: "Automatically add comments" disabled, create a new java project - open the project's properties dialog and go to Java Code Style > Code Templates - enable project-specific settings and enable "Automatically add comments", then disable project-specific settings and press OK - now, content assist to override methods inserts a doc comment here: public class C { void add() {} } class D extends C { add //content assist to override add() } | resolved fixed | c34047c | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-18T17:38:13Z" | "2005-02-18T18:06:40Z" |
85,385 | Bug 85385 New JProject wizard should check whether linked folders exist | I20050215-2300 The new source page on the New Java Project wizard allows to create linked folders to locations that don't exists. This leads to various problems and .log entries later. | resolved fixed | c382d3e | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/LinkFolderDialog.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T16:35:05Z" | "2005-02-16T10:33:20Z" |
85,383 | Bug 85383 Package Explorer: Build > Remove from Build path applied to JAR removes whole library | I20050215-2300 1. in Package Explorer select a JAR from a library 2. Build > Remove from Build path ==> removes whole library | resolved fixed | 2ebf2b3 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/RemoveFromClasspathOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T16:29:17Z" | "2005-02-16T10:33:20Z" |
85,717 | Bug 85717 [quick fix] 5.0 types suggested in 1.4 project | 20050217 In statements like buf2.append("xxx"); //$NON-NLS-1$ Enum and Annotation are suggested for the unresolved buf | resolved fixed | d1033f1 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.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 | "2005-02-17T16:27:09Z" | "2005-02-17T17:06:40Z" |
85,377 | Bug 85377 Call Hierarchy has no context help | I20050215-2300 The new Help view shows a generic help message when the Call Hierarchy is active. What's strange, is that the message is different from the generic message you get when the ASTView or the Progress View is active. | resolved fixed | c46a063 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewer.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 | "2005-02-17T14:40:43Z" | "2005-02-16T10:33:20Z" |
85,415 | Bug 85415 InvocationTargetException when renaming annotation attribute | 20050216 @Annot1(value="1") public class B<T> { } @interface Annot1 { String value(); } org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: Search for method declaration did not find original element at org.eclipse.jface.util.Assert.isTrue(Assert.java:180) at org.eclipse.jdt.internal.corext.refactoring.rename.RippleMethodFinder2.getAllRippleMethods(RippleMethodFinder2.java:136) at org.eclipse.jdt.internal.corext.refactoring.rename.RippleMethodFinder2.getRelatedMethods(RippleMethodFinder2.java:123) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.initializeMethodsToRename(RenameMethodProcessor.java:162) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.checkFinalConditions(RenameMethodProcessor.java:258) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameVirtualMethodProcessor.checkFinalConditions(RenameVirtualMethodProcessor.java:91) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:165) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:188) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111) | verified fixed | 0be0286 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T14:15:26Z" | "2005-02-16T16:06:40Z" |
85,694 | Bug 85694 [preferences][navigation] correct editor-specific context menus | I20050215-2300 (m5 test pass) - open the preferences from the context menu in a) the java editor b) the properties file editor -> the java editor does not show the spelling page -> the properties file does not show the properties editor preference page fix is easy: change AbstractDecoratedTextEditor.collectContextMenuPreferencePages to include the spelling page, remove the obsolete entry from JavaEditor, and add the properties file editor page in PropertiesFileEditor. | verified fixed | d001dfc | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T13:55:04Z" | "2005-02-17T14:20:00Z" |
85,549 | Bug 85549 [projection] Incorrect folding in CU without terminating linebreak | I20050215-2300 - Have a CU with contents "package copying; public class Class { }" (no linebreak here) - collapse class folding -> a "}" remains on the last line. Expected: last line is empty - set caret to end of text and press Enter -> after reconciling, there are two boxes with dots. Expected: only one box. => Folding at the end of file is only correct if the file ends with at least two empty lines. | resolved fixed | 61753a5 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/DefaultJavaFoldingStructureProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T10:20:18Z" | "2005-02-16T21:40:00Z" |
85,371 | Bug 85371 Imported new classes not in open type dialog | I20050215-2300 0. start a workspace which has org.eclipse.help imported as binary project (not linked) 2. import org.eclipse.help again from I20050215-2300 3. open type ==> only IContext is available but there should also be an IContext2 which has been added in I20050215-2300 I've seen this already once this week. | verified fixed | 6684ec9 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T10:07:30Z" | "2005-02-16T07:46:40Z" |
85,327 | Bug 85327 NPE in OverrideCompletionProposal.updateReplacementString | eclipse.buildId=I200411300800 java.version=1.4.2_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en Framework arguments: -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -clean -showlocation - nl en I have the code below. I placed the cursor in the spot indicated in the code and hit Ctrl+Space. I used the arrow keys to select "dragStart" and pressed return. Nothing was insterted and the error below was in the log. public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setLayout(new RowLayout()); Label label1 = new Label(shell, SWT.BORDER); Label label2 = new Label(shell, SWT.BORDER); DragSource dragSource = new DragSource(label1, DND.DROP_COPY); dragSource.setTransfer(new Transfer[] {TextTransfer.getInstance(), FileTransfer.getInstance()}); dragSource.addDragListener(new DragSourceAdapter() { // !!! PUT CURSOR BELOW THIS LINE }); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.java.OverrideCompletionProposal.updateReplacem entString(OverrideCompletionProposal.java:98) at org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProposal.apply (JavaTypeCompletionProposal.java:114) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal.apply (JavaCompletionProposal.java:568) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal (CompletionProposalPopup.java:420) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.selectProposalWith Mask(CompletionProposalPopup.java:367) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey (CompletionProposalPopup.java:750) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKe y(ContentAssistant.java:622) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey (TextViewer.java:414) at org.eclipse.swt.custom.StyledTextListener.handleEvent (StyledTextListener.java:55) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:659) at org.eclipse.swt.custom.StyledText.handleKeyDown (StyledText.java:5039) at org.eclipse.swt.custom.StyledText$7.handleEvent (StyledText.java:4786) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:879) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:875) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1181) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3121) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3481) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1619) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2540) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:150) 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:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871) | resolved fixed | febee6d | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T10:06:54Z" | "2005-02-15T20:40:00Z" |
85,544 | Bug 85544 [projection] AFE when folding a method after editing multi-line modifiers | I20050215-2300 public class Collapse { @SuppressWarnings("all") //1 @Deprecated() void foo(Integer i) { } } - folding is correct (triangle on line //1, displayed line when folded contains method name) - insert "public " (no quotes) before @SuppressWarnings -> folding is wrong: triangle still on line //1, displayed line when folded is: @Deprecated() ..., which is wrong. The wrong folding persists while the editor is not closed. - save, close, and reopen editor -> folding is correct again - delete "public " and delete line " @Deprecated()" (Ctrl+D) - collapsing the folding now results in this AFE: Error 2005-02-16 21:10:51.421 Assertion failed: caption line is greater than the last folded line org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: caption line is greater than the last folded line at org.eclipse.jface.text.Assert.isTrue(Assert.java:189) at org.eclipse.jface.text.source.projection.ProjectionViewer.computeCollapsedRegions(ProjectionViewer.java:1116) at org.eclipse.jface.text.source.projection.ProjectionViewer.processChanges(ProjectionViewer.java:1198) at org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWithProjectionAnnotationModel(ProjectionViewer.java:917) at org.eclipse.jface.text.source.projection.ProjectionViewer.processCatchupRequest(ProjectionViewer.java:818) at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.processModelChanged(ProjectionViewer.java:110) at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.modelChanged(ProjectionViewer.java:102) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:452) at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:106) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:452) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:418) at org.eclipse.jface.text.source.AnnotationModel.modifyAnnotation(AnnotationModel.java:724) at org.eclipse.jface.text.source.projection.ProjectionAnnotationModel.toggleExpansionState(ProjectionAnnotationModel.java:86) at org.eclipse.jface.text.source.projection.ProjectionRulerColumn.mouseClicked(ProjectionRulerColumn.java:74) at org.eclipse.jface.text.source.AnnotationRulerColumn$3.mouseUp(AnnotationRulerColumn.java:299) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:136) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150) 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:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871) | verified fixed | 771a4da | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/DefaultJavaFoldingStructureProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T10:02:14Z" | "2005-02-16T18:53:20Z" |
85,658 | Bug 85658 NPE in InferTypeArguments with cast to primitive type | I20050217-0010 Infering generic type arguments for JUnit 3.8.1 fails with the NPE below. The problem is simply a missing null-check in the constraints generation. I'd like to submit the fix for M5, since the test case might be a showcase at EclipseCon. java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsConstraintsSolver.getChosenType(InferTypeArgumentsConstraintsSolver.java:216) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsConstraintsSolver.findCastsToRemove(InferTypeArgumentsConstraintsSolver.java:177) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsConstraintsSolver.solveConstraints(InferTypeArgumentsConstraintsSolver.java:62) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsRefactoring.checkFinalConditions(InferTypeArgumentsRefactoring.java:151) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111) | verified fixed | 0bc72d2 | ["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InferTypeArgumentsTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintCreator.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/CastVariable2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T08:57:53Z" | "2005-02-17T08:46:40Z" |
85,591 | Bug 85591 [preferences] indexOutOfBoundsException in the Text Editors preference page on loss of selection | null | resolved fixed | a7420e1 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorAppearanceConfigurationBlock.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-17T08:40:02Z" | "2005-02-16T21:40:00Z" |
84,338 | Bug 84338 Annotation type member removal issues | (3.1M4) The testcase is MyAnnotationType.java with the following contents: package package1.packageTp1; /** * MyAnnotationType annotation type. */ @interface MyAnnotationType { int field2 = 0; String method1(); } Select "method1" in the Outline view and try to delete it. All attempts fail. Deletion via setting the CU's buffer contents (IBuffer.setContents, IBuffer.save) does not fire correct JDT delta, only "MyAnnotationType(cu) [*]" comes in, no "method1 [-]". Running the DeleteRefactoring on "method1" ends in this: org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: Search for method declaration did not find original element at org.eclipse.jface.util.Assert.isTrue(Assert.java:180) at org.eclipse.jdt.internal.corext.refactoring.rename.RippleMethodFinder2.getAllRip pleMethods(RippleMethodFinder2.java:136) at org.eclipse.jdt.internal.corext.refactoring.rename.RippleMethodFinder2.getRelate dMethods(RippleMethodFinder2.java:123) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.initial izeMethodsToRename(RenameMethodProcessor.java:162) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.checkFi nalConditions(RenameMethodProcessor.java:258) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameVirtualMethodProcessor. checkFinalConditions(RenameVirtualMethodProcessor.java:91) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFin alConditions(ProcessorBasedRefactoring.java:153) | resolved fixed | 012b822 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ASTNodeDeleteUtil.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-15T16:55:57Z" | "2005-02-03T17:00:00Z" |
85,267 | Bug 85267 NPE in JavaElementResourceMapping when replacing changed package with latest from HEAD | I20050215-0800 - Remove InferTypeArgumentsTCModel.java from package org.eclipse.jdt.internal.corext.refactoring.generics - select the package and choose 'Replace With > Latest from HEAD' Error 2005-02-15 16:24:50.909 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.JavaElementResourceMapping$PackageFragmentResourceMapping.accept(JavaElementResourceMapping.java:186) at org.eclipse.team.internal.ccvs.ui.actions.UncommittedChangesDialog.matchesFilter(UncommittedChangesDialog.java:103) at org.eclipse.team.internal.ccvs.ui.actions.UncommittedChangesDialog.getMatchingMappings(UncommittedChangesDialog.java:94) at org.eclipse.team.internal.ccvs.ui.actions.UncommittedChangesDialog.<init>(UncommittedChangesDialog.java:50) at org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithTagAction$1.<init>(ReplaceWithTagAction.java:37) at org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithTagAction.getPromptingDialog(ReplaceWithTagAction.java:37) at org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithTagAction.checkOverwriteOfDirtyResources(ReplaceWithTagAction.java:54) at org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithRemoteAction$1.run(ReplaceWithRemoteAction.java:35) at org.eclipse.team.internal.ccvs.ui.repo.RepositoryManager.run(RepositoryManager.java:659) at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$2.run(CVSAction.java:339) at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$3.run(CVSAction.java:348) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:345) at org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithRemoteAction.execute(ReplaceWithRemoteAction.java:40) at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:114) at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:234) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:557) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:507) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:421) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2909) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2542) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150) 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:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871) | verified fixed | e41478a | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JavaElementResourceMapping.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-15T15:42:59Z" | "2005-02-15T15:06:40Z" |
85,243 | Bug 85243 Invalid string pattern while searching on working set | Using 3.1 M4 build. Open editor on org.eclipse.jdt.internal.compiler.ast.Expression class and select computeConversion method. 1) Search for declarations in project => you get 5 instances in Search View: OK 2) Create a working set "jdt-core" with org.eclipse.jdt.core project 3) Search for declarations in working set "jdt-core" => you get 0 instances: KO (I expect same result than search in project as scope is identical) Looking at what happens, in step 1) SearchPattern is created using a IJavaElement, so there's no problem. But step 3) creates a SearchPattern using following string: "computeConversion(Scope, Scope, Scope)" which does not match the selected method! Debugging jdt-ui code, problems is in for loop of PatternStrings#getUnqualifiedMethodSignature(IMethod, boolean) method: String typeSig= Signature.toString(types[0]); should be String typeSig= Signature.toString(types[i]); instead... | resolved fixed | f36e009 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/PatternStrings.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-15T14:20:07Z" | "2005-02-15T12:20:00Z" |
85,100 | Bug 85100 Java Class wizard does not generate all necessary methods | Build: I-20050209 Open the Class wizard, and make sure the 'Inherited Abstract Methods' is checked. Create a new class that implement org.eclipse.jface.viewers.ITableLabelProvider. The newly created class will have compilation errors as it is missing some methods. It appears as though only the methods declared by ITableLabelProvider were generated for the class. ITableLabelProvider subclasses IBaseLabelProvider. I would expect that methods declared on the latter should also be generated. | resolved fixed | 44f12bc | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-15T09:38:16Z" | "2005-02-13T04:46:40Z" |
84,298 | Bug 84298 Add enabled in SuperInterfaceSelectionDialog when no selection | Version: 3.1.0 Build id: I20050201-0800 The "Add" button in the Super Interfaces Selection dialog of the new class wizard is enabled when there is no selection in the dialog. 1. Open the new Class Wizard 2. Press "Add..." in the interface block 3. The Super Interface Selection dialog will show with the Add and cancel buttons enabled. Only the cancel button shuld be enabled. SuperInterfaceSelectionDialog need to override updateButtonsEnabledState to set the state of the add button. protected void updateButtonsEnableState(IStatus status) { super.updateButtonsEnableState(status); Button addButton = getButton(ADD_ID); if (addButton != null && !addButton.isDisposed()) addButton.setEnabled(!status.matches(IStatus.ERROR)); } | resolved fixed | a310c9c | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/SuperInterfaceSelectionDialog.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-14T19:49:37Z" | "2005-02-03T03:06:40Z" |
77,636 | Bug 77636 Code Formatter Profile Editor should be more fault-tolerant [formatter] | 200411022000 The Code Formatter Profile Editor should be more fault-tolerant. Especially on 'White Space' and 'Line Wrapping' tabs, it is very easy to mess things up by changing many settings at once with a single click at the wrong spot. Two possible solutions came to my mind: (1) The dialog could support an undo/redo-stack (via keybindings and/or via additional buttons on the bottom row) (2) The dialog could offer an 'Apply' button, with which the user could save the changes done so far. The current workaround for this is to leave the dialog via OK and then re-enter it, but that's cumbersome when you want to do a pass over all options. | resolved fixed | 04e8d45 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog.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/WhiteSpaceTabPage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-14T19:35:05Z" | "2004-11-03T13:53:20Z" |
84,983 | Bug 84983 [typing] imports disappear | I20050209-0800 + JDT UI from HEAD 1. open a CU with several imports 2. enable folding (ensure imports are folded) 3. remove code so that first import is no longer needed 4. run Organize Imports ==> all imports are gone 5. close and re-open the editor ==> imports are back | resolved fixed | 21436e8 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/folding/DefaultJavaFoldingStructureProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-14T16:00:25Z" | "2005-02-11T13:53:20Z" |
83,500 | Bug 83500 Can't restore a secondary top level from key | Example: package p; public class TwoTypes { } class SecondType { } - create key for SecondType. - try to restore it using ASTParser.createASTs. - null is returned This is type can be used outside of CU TwoTypes.java it should be possible to restore that key. Problem seems to be in NameLookup#seekTypesInSourcePackage Jerome, this PR is important for use for the new canAssign implementation we did to overcome the contest limitations of ITypeBinding#isAssignmentCompatible | verified fixed | 7b437f0 | ["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InferTypeArgumentsTests.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-14T09:16:00Z" | "2005-01-23T14:20:00Z" |
82,461 | Bug 82461 [5.0] Unconventional formatting of annotations in ASTRewrite | 20050104: Adding a MarkerAnnotation ast node to a method declaration with visibility modifiers results in unconventional formatting of the modifier ast node list. Example: public int foo(); Adding marker annotation @Override results in: @Override public int foo(); The formatting should be: @Override public int foo(); | resolved fixed | 27b8176 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/NewLinesTabPage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T17:34:38Z" | "2005-01-10T12:26:40Z" |
81,407 | Bug 81407 [5.0][navigation] Mark occurrences could highlight statically imported fields and methods | 200412160010: When clicking on a static import for a field or method, all occurrences of that member should be highlighted. Same also for static star imports. | resolved fixed | c1d860f | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T17:08:40Z" | "2004-12-16T15:13:20Z" |
81,983 | Bug 81983 [preferences] Disabling and enabling folding on small file takes forever | 3.1 M4 Using enable/disable folding on a small CU takes forever. This is caused by the recent change to apply the preference to all Java editors. In another (hidden) window (Debug) I had StyledText open which (understandably) took long to react on the preference change. Non-visible editor's should not react to this change until they become visible. | verified fixed | 4910ceb | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T15:28:21Z" | "2004-12-29T08:46:40Z" |
84,986 | Bug 84986 Overlapping text edits in inline method | I20050209-0800 + zrh-plugins from 20050211_1043 Tried to inline method "getInitializer()" in InlineConstantRefactoring rev 1.53. Caused by: org.eclipse.text.edits.MalformedTreeException: Overlapping text edits at org.eclipse.text.edits.TextEdit$InsertionComparator.compare(TextEdit.java:118) at java.util.Collections.indexedBinarySearch(Collections.java:322) at java.util.Collections.binarySearch(Collections.java:310) at org.eclipse.text.edits.TextEdit.computeInsertionIndex(TextEdit.java:757) at org.eclipse.text.edits.TextEdit.internalAdd(TextEdit.java:742) at org.eclipse.text.edits.TextEdit.addChild(TextEdit.java:332) at org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.createChange(InlineMethodRefactoring.java:278) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:117) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1695) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111) | resolved fixed | 689eb0b | ["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestSurroundingCallers.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_out/TestSurroundingCallers.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/TextChangeCompatibility.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineMethodRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T14:51:21Z" | "2005-02-11T13:53:20Z" |
84,980 | Bug 84980 NPE when inlining constructor of InlineTargetCompilationUnit | I20050209-0800 + zrh-plugins from 20050211_1043 Tried to inline constructor "InlineTargetCompilationUnit(ICompilationUnit, SearchMatch[], Expression, ICompilationUnit)" on line 575 of InlineConstantRefactoring.java rev 1.52 java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.code.CallInliner.addNewLocals(CallInliner.java:579) at org.eclipse.jdt.internal.corext.refactoring.code.CallInliner.perform(CallInliner.java:470) at org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.checkFinalConditions(InlineMethodRefactoring.java:233) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1695) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111) | resolved fixed | 3b589a3 | ["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestConstructor2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_out/TestConstructor2.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T14:10:58Z" | "2005-02-11T11:06:40Z" |
81,178 | Bug 81178 [refactoring] disable extract method on case constants | 20041215 It's currently possible to extract an method from a case expression which result in something like: private void foo(int e) { switch (e) { case foo(): break; } } | verified fixed | aca62cb | ["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test195.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T11:51:48Z" | "2004-12-15T17:00:00Z" |
84,915 | Bug 84915 [5.0][content asssit] Code assist adds unnecessary angle brackets | 20050210 - enable 'fill argument names', disable 'guess' - Map is missing -> do a code assist after Mapm choose java.util.Map -> result is 'Map<K, V><V, W>' package pack1.x.y.z; public class W<V, W> implements Map<V, W>{ } | resolved fixed | d78b55a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T11:12:54Z" | "2005-02-10T18:26:40Z" |
81,426 | Bug 81426 Package Explorer shows nothing after drill into working set, then show projects | I200412160800 - switch Package Explorer to working sets - context menu > Go Into a working set - Show > Projects -> view is empty -> view toolbar button 'Up to Working Sets' does not do anything | resolved fixed | fed5e9e | ["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 | "2005-02-11T10:16:45Z" | "2004-12-16T18:00:00Z" |
82,005 | Bug 82005 "Encapsulate Field" changes the data type of member variable [refactoring] [sef] | Eclipse Version: Version: 3.1.0 Build id: 200412162000 Create this simple class in eclipse - public class TestEncapsulate { String a, b; } 1) Select the Field a 2) Right-click and select Refactor -> Encapsulate Field. 3) Click Ok. 4) The following code is generated - public class TestEncapsulate { String b; private int a; /** * @param a The a to set. */ void setA(String a) { this.a = a; } /** * @return Returns the a. */ String getA() { return a; } } Problems a) The field was changed to a private field even though it was package-private earlier. b) The data type was changed from String to int!!! The encapsulate field works fine when there is only one field delared in one line (String a;) It breaks in the above code for both fields 'a' & 'b'. | resolved fixed | 8f17952 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-11T10:01:01Z" | "2004-12-29T22:40:00Z" |
79,174 | Bug 79174 organize imports bug in 3.1m2 | when organizing imports in class implementing Map<K,V>, can't seem to get rid of "import java.util.Map.Entry" using ctrl-shift-o, yet it still complains that its not needed. so i deleted it manually and it stopped complaining. | resolved fixed | 9b4ba96 | ["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/codemanipulation/OrganizeImportsOperation.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-10T18:57:21Z" | "2004-11-22T13:26:40Z" |
84,807 | Bug 84807 Introduce Factory: strange generation of source code | Example: public class X<T> { public X(T t) { } } class call { void foo() { X<String> x= new X<String>("Eclipse"); } } - select X in "new X<String>("Eclipse"); - introduce factory produces: public class X<T> { public static X<String> createX<String>(String arg1){return new X<String>(arg1);} public X(T t) { } } class call { void foo() { X<String> x= X.createX < String > ("Eclipse"); } } which doesn't compile. | resolved fixed | d729086 | ["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/84807/CtorOfParamType.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/84807/CtorOfParamType_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-10T18:32:12Z" | "2005-02-09T17:26:40Z" |
84,747 | Bug 84747 Widget is disposed error updating ProblemTableViewer | I20050208-0800 I had just done a refactoring that had moved a static method to another class. The refactoring had introduced errors in the moved methods as it referenced private static variables in the original location. I received the warning dialog about these errors but continued. On the next save: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:2839) at org.eclipse.swt.SWT.error(SWT.java:2762) at org.eclipse.swt.SWT.error(SWT.java:2733) at org.eclipse.swt.widgets.Widget.error(Widget.java:393) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:295) at org.eclipse.swt.widgets.Widget.getData(Widget.java:446) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTableViewer.doUpdateItem (ProblemTableViewer.java:75) at org.eclipse.jdt.internal.ui.viewsupport.ResourceToItemsMapper.updateItem (ResourceToItemsMapper.java:73) at org.eclipse.jdt.internal.ui.viewsupport.ResourceToItemsMapper.resourceChanged (ResourceToItemsMapper.java:67) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTableViewer.handleLabelProviderC hanged(ProblemTableViewer.java:123) at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged (ContentViewer.java:74) at org.eclipse.jdt.ui.ProblemsLabelDecorator.fireProblemsChanged (ProblemsLabelDecorator.java:357) at org.eclipse.jdt.ui.ProblemsLabelDecorator.access$0 (ProblemsLabelDecorator.java:352) at org.eclipse.jdt.ui.ProblemsLabelDecorator$1.problemsChanged (ProblemsLabelDecorator.java:332) at org.eclipse.jdt.internal.ui.viewsupport.ProblemMarkerManager$1.run (ProblemMarkerManager.java:176) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2855) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2519) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1622) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1588) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:299) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:227) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:281) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:131) 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.basicRun(Main.java:261) at org.eclipse.core.launcher.Main.run(Main.java:817) at org.eclipse.core.launcher.Main.main(Main.java:801) | resolved fixed | 38ce4a1 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ResourceToItemsMapper.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-10T16:51:50Z" | "2005-02-08T22:00:00Z" |
84,862 | Bug 84862 Advanced syntax highlighting | Is it possible to change ASTProvider.ActivationListener.isJavaEditor() method to be more open for subclasses of CompilationUnitEditor? I know, that it is not API, but SWT Designer and VE use it and, becase their have ID different than two hardcoded in isJavaEditor(), advanced syntax is not highlighted after changes. May be some solution using "instanceof" or "getAdapter()"? | resolved fixed | 47117c0 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-10T09:34:29Z" | "2005-02-10T07:20:00Z" |
84,794 | Bug 84794 Empty error dialog after code assist | I20050208 - Enable 'fill arguments...', disable 'guess filled...' In the following class (that has IDocument on its class path) use code assist to complete 'se' to 'search'. Empty error dialog pops up. Log contains a stack trace public class A { private int addNewInsertEdit(int currPos, String str, IDocument document, int importsEnd) { document.se } } org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.link.LinkedPositionGroup.enforceDisjoint(LinkedPositionGroup.java:142) at org.eclipse.jface.text.link.LinkedPositionGroup.enforceDisjoint(LinkedPositionGroup.java:156) at org.eclipse.jface.text.link.LinkedModeModel.enforceDisjoint(LinkedModeModel.java:300) at org.eclipse.jface.text.link.LinkedModeModel.addGroup(LinkedModeModel.java:411) at org.eclipse.jdt.internal.ui.text.java.ExperimentalProposal.apply(ExperimentalProposal.java:85) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal.apply(JavaCompletionProposal.java:568) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:420) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.selectProposalWithMask(CompletionProposalPopup.java:367) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$19(CompletionProposalPopup.java:363) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$3.widgetDefaultSelected(CompletionProposalPopup.java:328) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:96) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2878) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2516) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1622) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1588) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:299) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:227) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:281) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:131) 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.basicRun(Main.java:261) at org.eclipse.core.launcher.Main.run(Main.java:817) at org.eclipse.core.launcher.Main.main(Main.java:801) | resolved fixed | b109eaf | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-09T18:13:52Z" | "2005-02-09T17:26:40Z" |
83,187 | Bug 83187 IntroduceFactory and J2SE 5.0 | Consider the following cases public class IntroduceFactory<T> { public IntroduceFactory(T t) { } public IntroduceFactory(String ... args) { } } Problems: - creating a factory method for IntroduceFactory(T t) outside of IntroduceFactory class shouldn't be support due to the reference to the type parameter - creating a factory method for IntroduceFactory(String ... args) creates an array based signature. ====================================================================== public enum E { A(1), B(2), C(3); public E(int i) { } } We should disable Introduce factory for constructors on enums. Creating a factory for them doesn't make sense anyway. Annotation shouldn't be affected by introduce factory. Bob, can you fix this for M5, add the corresponding test case and try to come up with other scenarios that might be broken. | resolved fixed | fda6cb4 | ["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/negative/Enum_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Annotation1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Annotation1_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Annotation2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Annotation2_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Annotation3.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Annotation3_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/BoundedTypeParam.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/BoundedTypeParam_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TwoBoundedTypeParams.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TwoBoundedTypeParams_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TwoTypeParams.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TwoTypeParams_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TypeParam.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TypeParam2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TypeParam2_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/TypeParam_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/VarArgsCtor.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/VarArgsCtor_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/WildcardParam.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/WildcardParam_in.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-09T17:19:50Z" | "2005-01-19T13:06:40Z" |
81,059 | Bug 81059 [5.0] Preview on method declaration in annotation with int return value leads to platfrom crash | Using I200412142000 public @interface RequestForEnhancement { int id(); String synopsis(); String engineer() default "[unassigned]"; String date(); default "[unimplemented]"; } On renaming id() to id2 and pressing 'preview', the platform freezes and does no longer respond. | verified fixed | c36d88e | ["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 | "2005-02-09T11:13:59Z" | "2004-12-15T08:40:00Z" |
80,909 | Bug 80909 ReorgMove reorders members on drag'n'drop to another member [reorg] | I200412081200, probably introduced with rev. 1.53 of ReorgPolicyFactory. I thought we had a testcase for this, but obviously we don't (or a wrong one). class Source { int field1; int field2; int field3; void method1() {} void method2() {} } class Target { int targetField; } Select all members of Source in the Outline and drag them onto targetField. Expected: Members are inserted into Target in the original order. Was: Members order is reversed. Works correctly when dropping onto the type Target. The easiest fix is probably to reverse the for-loop over javaElements in ReorgPolicyFactory.CopySubCuElementsPolicy#createChange(..) and ReorgPolicyFactory.MoveSubCuElementsPolicy#createChange(..). | resolved fixed | 1d817c1 | ["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 | "2005-02-09T09:39:43Z" | "2004-12-14T07:40:00Z" |
84,722 | Bug 84722 Don't generate @Override annotations when implementing interface methods | null | resolved fixed | 236e4d1 | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-09T09:08:40Z" | "2005-02-08T19:13:20Z" |
84,657 | Bug 84657 [content assist] CodeAssist failure surfaced to user | When codeassisting at: <|> location below, an error dialog opened reading: "The command for the key you pressed failed". ================================ public class X { public static void main(String[] args) { Comparable<?> c1 = foo("", new Integer(5)); Object o = foo("", 5); } public static <T> T foo(T t1, T t2) { System.out.print("foo:"+t1.getClass().ge<|>+t2.getClass()); return null; } } In .log, following entry got dumped: !ENTRY org.eclipse.ui 4 0 2005-02-08 10:23:59.806 !MESSAGE The command for the key you pressed failed !STACK 0 java.lang.IllegalArgumentException at org.eclipse.jdt.internal.core.util.Util.scanTypeSignature(Util.java:2111) at org.eclipse.jdt.internal.core.util.Util.scanArrayTypeSignature(Util.java:2167) at org.eclipse.jdt.internal.core.util.Util.scanTypeSignature(Util.java:2094) at org.eclipse.jdt.internal.corext.template.java.SignatureUtil.unboundedSignature(SignatureUtil.java:279) at org.eclipse.jdt.internal.ui.text.java.ResultCollector.internalAcceptMethod(ResultCollector.java:269) at org.eclipse.jdt.internal.ui.text.java.ResultCollector.accept(ResultCollector.java:696) at org.eclipse.jdt.internal.codeassist.CompletionEngine.findLocalMethods(CompletionEngine.java:2820) at org.eclipse.jdt.internal.codeassist.CompletionEngine.findMethods(CompletionEngine.java:3329) at org.eclipse.jdt.internal.codeassist.CompletionEngine.findFieldsAndMethods(CompletionEngine.java:1907) at org.eclipse.jdt.internal.codeassist.CompletionEngine.complete(CompletionEngine.java:760) at org.eclipse.jdt.internal.codeassist.CompletionEngine.complete(CompletionEngine.java:1205) at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable.java:119) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:287) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:280) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcessor.internalComputeCompletionProposals(JavaCompletionProcessor.java:361) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcessor.computeCompletionProposals(JavaCompletionProcessor.java:334) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:250) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:247) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:206) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:201) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1319) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:180) at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:188) at org.eclipse.ui.internal.commands.Command.execute(Command.java:130) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:445) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:724) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:767) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:536) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:479) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:781) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:879) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:875) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1181) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3121) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3449) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1587) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2513) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1585) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1551) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:290) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:227) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:276) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:131) 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.basicRun(Main.java:261) at org.eclipse.core.launcher.Main.run(Main.java:817) at org.eclipse.core.launcher.Main.main(Main.java:801) The command for the key you pressed failed | resolved fixed | a2e2d7a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodProposalInfo.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuesser.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-08T17:48:02Z" | "2005-02-08T08:06:40Z" |
84,194 | Bug 84194 [content assist] Code assist in import statements insert at the end | Build: I-20050201 Open any Java file that contains > 1 import statements. Let's say the first import statement reads: import org.eclipse.core.runtime.*; delete the '*;' from the end and try to use code assist to insert IRunnableWithProgress for example. You will see that upon pressing Enter to select, the text gets inserted several lines down under all the import statements. the cursor is now in a random position also. | resolved fixed | d89a280 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalResultCollector.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-08T17:46:45Z" | "2005-02-01T23:20:00Z" |
77,582 | Bug 77582 Move CompilationUnit/Type refactoring does not update static imports | I200411022000 It instead adds normal imports. Starting with: import static test.Test1.foo1; import static test.Test1.foo2; and moving Test1 to package test2 results in: import static test.Test1.foo1; import static test.Test1.foo2; import test2.Test1.foo1; import test2.Test1.foo2; | resolved fixed | 93d0197 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/MoveCuUpdateCreator.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-08T17:25:09Z" | "2004-11-03T11:06:40Z" |
81,712 | Bug 81712 NPE during refactoring | Build: 3.1 M4 The following NPE was logged during refactoring (renaming a file). The file was not part of the Java build path (renamed "forms.tld" to "form.tag"). The JST/WTP were installed. After the operation the file was renamed successfully but the refactoring dialog was still opened. I also noted that the was exception prior to this NPE which might prevented the refactoring dialog from closing. Thus, the NPE was probably logged when I clicked on "OK" (again and again ;). Should the dialog provide a better error handling? I'll attach the log with all traces related to the refactoring operation. Error 2004-12-21 07:04:48.781 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.changes.RenameResourceChange.getCoreRenameFlags(RenameResourceChange.java:79) at org.eclipse.jdt.internal.corext.refactoring.changes.RenameResourceChange.perform(RenameResourceChange.java:68) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:262) 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:76) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:700) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3672) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3629) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.perform(DynamicValidationStateChange.java:79) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:262) at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:231) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1694) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:279) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.access$4(UIPerformChangeOperation.java:1) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$1.run(UIPerformChangeOperation.java:64) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:141) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:279) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:282) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:539) at org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.performFinish(PreviewWizardPage.java:175) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:605) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:406) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:396) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.activate(UserInterfaceStarter.java:56) at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter.activate(RenameUserInterfaceStarter.java:113) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameResourceAction.run(RenameResourceAction.java:64) at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:109) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694) | resolved fixed | f76e6ff | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/RenameResourceChange.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-08T16:34:40Z" | "2004-12-21T06:20:00Z" |
68,525 | Bug 68525 [Workbench] label in type hierarchy view not wrapped | 3.0rc3 the 'All types of the current hierarchy .....' does not wrap although it is a very long string and i have to max the view to read it | resolved fixed | 5b90038 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-08T15:49:24Z" | "2004-06-24T18:00:00Z" |
81,173 | Bug 81173 Rename Type Parameter should rename reference in @param tag | Rename Type Parameter should rename reference in @param tag. /** * @param <ELEMENT> the element */ public class A<ELEMENT> { ELEMENT e; } | resolved fixed | a687ea9 | ["org.eclipse.jdt.ui.tests.refactoring/resources/RenameTypeParameter/test14/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/RenameTypeParameter/test14/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RenameTypeParameterTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-08T08:44:10Z" | "2004-12-15T17:00:00Z" |
76,158 | Bug 76158 misspelled constant 'DIALOG_BASED_UESR_INTERFACE' in RefacoringWizard | The constant DIALOG_BASED_UESR_INTERFACE in the public class org.eclipse.ltk.ui.refactoring.RefactoringWizard should read DIALOG_BASED_USER_INTERFACE. UESR --> USER | resolved fixed | add2fdf | ["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ConvertAnonymousToNestedWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractInterfaceWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractTempWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/InlineConstantWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/InlineTempWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceFactoryWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInnerToTopWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveMembersWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/PromoteTempWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/UseSupertypeWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/code/InlineMethodWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameRefactoringWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/sef/SelfEncapsulateFieldWizard.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T17:15:22Z" | "2004-10-13T12:20:00Z" |
81,980 | Bug 81980 Unexpected unresolved enum quick fix suggestions [quick fix] [5.0] | Although the create field and create constant in my enum type suggestions for the quick fix in the code listed below compiles and works fine. It is not quite what I expected for the use of enumerated types. public class EnumQuickFixBug implements Runnable { private State state; private enum State {begin, end}; public void run() { state = State.begin; // Try quick fixing the line below state = State.middle; state = State.end; } public static void main(String args[]) { EnumQuickFixBug bugs = new EnumQuickFixBug(); bugs.run(); System.out.println("Done"); } } I expected to declaration of the enum type to change to something like: private enum State {begin, end, middle}; but instead it did something like this: private enum State {begin, end; public static State middle;}; | resolved fixed | d2d5be8 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.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/NewVariableCompletionProposal.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 | "2005-02-07T15:13:33Z" | "2004-12-29T06:00:00Z" |
82,581 | Bug 82581 [misc] Javadoc double-click strategy wrong for non-tags | I20050111-0800 Use an e-mail address inside Javadoc as test case. | resolved fixed | 8232223 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavadocDoubleClickStrategy.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T14:10:55Z" | "2005-01-11T16:13:20Z" |
72,331 | Bug 72331 [1.5][Generalize Type Refactoring] Prevent refactoring of formal generic type parameters | The generalize type refactoring is not applicable to formal generic type parameters | resolved fixed | cb7182c | ["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/negative/A_testEnum_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/negative/A_testEnum_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/negative/A_testTypeParameter_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/negative/A_testTypeParameter_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_test4TypeParameters_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_test4TypeParameters_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNestedParametricHashtable_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNestedParametricHashtable_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNestedParametricType_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNestedParametricType_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNestedRawParametricHashtable_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNestedRawParametricHashtable_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNonParametricTypeWithParametricSuperType_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNonParametricTypeWithParametricSuperType_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNonRawComment_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testNonRawComment_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParameterDeclWithOverride_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricHashtable_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricHashtable_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricTypeWithNonParametricSuperType_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricTypeWithNonParametricSuperType_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricTypeWithParametricSuperType_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricTypeWithParametricSuperType_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testRawComment_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testRawComment_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testRawSubType_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testRawSubType_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testReorderTypeParameters_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testReorderTypeParameters_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testUnboundTypeParameter_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testUnboundTypeParameter_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testUnrelatedTypeParameters_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testUnrelatedTypeParameters_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeTypeRefactoringTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeContentProvider.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T13:58:39Z" | "2004-08-20T08:20:00Z" |
82,260 | Bug 82260 ResultCollector: remove dependency to internal J Core interface | I20050104-1600 Summary says it all. | resolved fixed | bff26e0 | ["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeCompletionTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T13:56:38Z" | "2005-01-05T18:33:20Z" |
84,498 | Bug 84498 NPE attempting to rename a method parameter | N20050202-0010 Selected a method parameter Ctrl-1 > Select Rename in File java.lang.NullPointerException at org.eclipse.jdt.internal.corext.dom.Bindings.getFieldDeclaration (Bindings.java:1219) at org.eclipse.jdt.internal.corext.dom.LinkedNodeFinder$BindingFinder.getDeclarati on(LinkedNodeFinder.java:285) at org.eclipse.jdt.internal.corext.dom.LinkedNodeFinder$BindingFinder.visit (LinkedNodeFinder.java:265) at org.eclipse.jdt.core.dom.SimpleName.accept0(SimpleName.java:148) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.QualifiedName.accept0 (QualifiedName.java:171) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.InfixExpression.accept0 (InfixExpression.java:367) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.ForStatement.accept0(ForStatement.java:226) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.IfStatement.accept0(IfStatement.java:189) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.MethodDeclaration.accept0 (MethodDeclaration.java:503) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.TypeDeclaration.accept0 (TypeDeclaration.java:486) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.CompilationUnit.accept0 (CompilationUnit.java:291) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.internal.corext.dom.LinkedNodeFinder.findByBinding (LinkedNodeFinder.java:57) at org.eclipse.jdt.internal.corext.dom.LinkedNodeFinder.findByNode (LinkedNodeFinder.java:72) at org.eclipse.jdt.internal.ui.text.correction.LinkedNamesAssistProposal.apply (LinkedNamesAssistProposal.java:90) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal (CompletionProposalPopup.java:420) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.selectProposalWith Mask(CompletionProposalPopup.java:367) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey (CompletionProposalPopup.java:750) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKe y(ContentAssistant.java:622) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey (TextViewer.java:407) at org.eclipse.swt.custom.StyledTextListener.handleEvent (StyledTextListener.java:55) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:659) at org.eclipse.swt.custom.StyledText.handleKeyDown (StyledText.java:5039) at org.eclipse.swt.custom.StyledText$7.handleEvent (StyledText.java:4786) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:879) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:875) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1181) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3121) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3450) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1587) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2514) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1585) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1551) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:290) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:227) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:281) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:131) 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.basicRun(Main.java:261) at org.eclipse.core.launcher.Main.run(Main.java:817) at org.eclipse.core.launcher.Main.main(Main.java:801) | resolved fixed | 6a46e3f | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/Bindings.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T13:22:44Z" | "2005-02-04T23:33:20Z" |
84,556 | Bug 84556 New type wizard generates uncompilable code | HEAD: the package declaration is located after the import declarations Steps to reproduce: - Create class HashedMap which extends Map (don't use the default package) - Set options to implement methods and constructors | resolved fixed | db65076 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T13:03:02Z" | "2005-02-07T12:40:00Z" |
84,533 | Bug 84533 Refactoring does not do anything... | Build: I-20050202 1. Create a new Hello world plugin project. Call it 'com.example.xyz' and accept all defaults. 2. Close the manifest editor for the newly created plugin.xml to take PDE out of the equation. 3. Open the plugin.xml in a plain text editor. 4. Right-click on the 'com.example.xyz' project and choose to rename it to 'com.example.xyz.bla' with textual matches in plugin.xml files. 5. In the preview, uncheck the 'plugin.xml - com.example.xyz). All its children are now unchecked 6. Check the second match in the plugin.xml file only (ie. the one for the 'class' attribute. 7. click OK. NOTHING HAPPENS! | verified fixed | 8816399 | ["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/Change.java", "org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/CompositeChange.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/ChangeElement.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/ChangeElementTreeViewer.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/DefaultChangeElement.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PseudoJavaChangeElement.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/TextEditChangeElement.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-07T11:22:02Z" | "2005-02-07T04:20:00Z" |
81,414 | Bug 81414 unhelpful generated JUNIT run configuration name for source folder unit-test runs | If you rightclick source folders and run unit tests, a Junit run configuration is created for that run. The name of this configuration is: "test (%NR)" where %nr is an incrementing number. I suggest the following run configuration name: "junit %project-name %source- folder-name" so for the project myXml and folder: src/test the generated name would be "junit myXml src/test" Cheers, Erik | resolved fixed | f52c412 | ["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchShortcut.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-06T20:04:22Z" | "2004-12-16T15:13:20Z" |
81,266 | Bug 81266 [working sets] rename 'select working sets' in working set mode? | 20041215 When in the 'Show working sets' mode, you still have the action 'Show working copy...'. It opens a dialog 'Configure working sets'. Double clicking an entry select a working copy node. Wouldn't it be better to rename it to 'Configure working sets' (only when in the working copy mode) and drop the selection behaviour? | resolved fixed | 0d62a40 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-06T17:18:49Z" | "2004-12-15T19:46:40Z" |
81,196 | Bug 81196 Can't search for References, ... to an ITypeParameter [search] | null | resolved fixed | 9d09a91 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindDeclarationsAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindDeclarationsInHierarchyAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindDeclarationsInProjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindDeclarationsInWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindImplementorsAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindImplementorsInProjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindImplementorsInWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReadReferencesAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReadReferencesInHierarchyAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReadReferencesInProjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReadReferencesInWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesInHierarchyAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesInProjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesInWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindWriteReferencesAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindWriteReferencesInHierarchyAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindWriteReferencesInProjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindWriteReferencesInWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WorkingSetFindAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-04T13:26:39Z" | "2004-12-15T17:00:00Z" |
40,243 | Bug 40243 inline method: loses comments [refactoring] | 20030715 inline method loses comments that are places before call sites. example: package p; public class A { private void helper1(int startLine, int startColumn, int endLine, int endColumn, boolean replaceAll, boolean makeFinal, String tempName) throws Exception{ helper1(startLine, startColumn, endLine, endColumn, replaceAll, makeFinal, tempName, tempName); } private void helper1(int startLine, int startColumn, int endLine, int endColumn, boolean replaceAll, boolean makeFinal, String tempName, String tempName2) { } public void test0() throws Exception{ // regression test for bug XYZ helper1(4, 16, 4, 17, false, false, "temp"); } } inline the first helper1 the all-important (for me) comment is gone! | verified fixed | b986fbc | ["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestArray.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestFieldReference.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLiteralReferenceRead.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLiteralReferenceWrite.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLocalReferenceLoop.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLocalReferencePrefix.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLocalReferenceRead.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLocalReferenceRead2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLocalReferenceUnused.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestLocalReferenceWrite.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestOneRead.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUnused1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUnused2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUnused3.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUsed1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUsed2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUsed3.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestParameterNameUsed4.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestTwoReads.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestVarargs.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestVarargs2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestVarargs3.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestVarargs4.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestVarargs5.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestWrite.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/call_in/TestParenthesis.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/call_out/TestParenthesis.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestNoCast.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/enum_in/TestAnonymousEnum.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/enum_in/TestBasic.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/expression_in/TestConditionalExpression.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestClassInstance.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestMethodInstance1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestMethodInstance2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestSubClass1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestSubClass2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/import_in/TestStaticImport.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/import_in/TestStaticImport2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestBlocks.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestFieldInType.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestLocalInType.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestSameLocal.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestSameType.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestSameTypeAfter.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestSameTypeInSibling.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/nameconflict_in/TestSwitchStatement.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/receiver_in/TestFieldReceiver.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestBasic1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestBasic2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestCatchClause.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestEmptyBody.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestInitializer.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestLabeledStatement.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestPrimitiveArray.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestSuper.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_in/TestTypeArray.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/AbstractSelectionTestCase.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/SurroundWithTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/NoCommentSourceRangeComputer.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-04T11:56:15Z" | "2003-07-16T18:26:40Z" |
81,250 | Bug 81250 [quick fix] make static quick fix does not change anything | 20041215 Quick fix on 'foo' doesn't do anything public abstract class VarArgTest { public static String print12(String key, String... args) { foo(args); return key; } protected abstract <A, B> List foo(String[] args); } | resolved fixed | 0b1aee4 | ["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/dom/Bindings.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.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/TypeMismatchSubProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-03T22:06:36Z" | "2004-12-15T17:00:00Z" |
81,100 | Bug 81100 Code formatter page is too large on new workspace [formatter] | Using I200412142000 1. Start eclipse with a fresh workspace. 2. Go to the code formatter page 3. Click on show Note: the page uses the full height of the screen. It would be nice to have a a 'resonable' and limited size. The large size might come from the white space tab where the preview table is very large. | resolved fixed | db89705 | ["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 | "2005-02-03T15:30:57Z" | "2004-12-15T11:26:40Z" |
74,160 | Bug 74160 QuickFix 'Create Method in other CU' doesn't use compound undo [quick fix] | null | resolved fixed | 44b14a7 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeCorrectionProposal.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-03T14:31:15Z" | "2004-09-17T11:20:00Z" |
71,546 | Bug 71546 CVS decoration not updated for jars after a commit | When committing a jar that is in the classpath, the CVS decoration is not updated in the package view. The decoration is first updated when closing the package view an opening it again. | resolved fixed | 77c0bcc | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ResourceToItemsMapper.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-03T14:13:07Z" | "2004-08-06T08:13:20Z" |
44,285 | Bug 44285 Search does not like anonymous types [search] | 20031007 smoke 1. Open AboutDialog.java 2. In the editor select the method 'actionPerformed' from the anonymous ActionListener. 3. Press CTRL + H 4. The search dialog shows: junit.awtui.AboutDialog.1..actionPerformed(ActionEvent) Looks weird. | resolved fixed | 183e0b0 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/PrettySignature.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-03T10:43:32Z" | "2003-10-07T09:46:40Z" |
84,269 | Bug 84269 [implementation] Leak: Java Editor preference page: listener in SmartTypingConfigurationBlock | N20050202-0010 The SmartTypingConfigurationBlock adds a property change listener to the JavaPlugin combined preference store. This listener is not removed --> results in leakage for each open close of the Java preference pages. Test case: Window>Preferences>Java>Editor For each open close the state associated with the SmartTypingConfigurationBlock is leaked. | resolved fixed | b0604f1 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SmartTypingConfigurationBlock.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-03T10:17:31Z" | "2005-02-02T21:33:20Z" |
82,950 | Bug 82950 Extract local fails on switch statement [refactor] | I20050112-1200 case IJavaElement.METHOD: { final IMethod methodReferenced= (IMethod) referenced; final ICompilationUnit referencedUnit= methodReferenced.getCompilationUnit(); switch (referencingType) { case IJavaElement.COMPILATION_UNIT: final ICompilationUnit unit= (ICompilationUnit) referencing; if (referencedUnit != null && referencedUnit.equals(unit)) keyword= ModifierKeyword.PRIVATE_KEYWORD; else if (referencedUnit != null && referencedUnit.getParent().equals(unit.getParent())) keyword= null; break; case IJavaElement.TYPE: final IType type= (IType) referencing; if (methodReferenced.getDeclaringType().equals(type)) keyword= ModifierKeyword.PRIVATE_KEYWORD; else { final ITypeHierarchy hierarchy= getTypeHierarchy(type, new SubProgressMonitor (monitor, 1)); final IType[] types= hierarchy.getSupertypes(type); IType superType= null; for (int index= 0; index < types.length; index++) { superType= types[index]; if (superType.equals(methodReferenced.getDeclaringType())) { keyword= ModifierKeyword.PROTECTED_KEYWORD; return keyword; } } } if (referencedUnit != null && referencedUnit.equals(type.getCompilationUnit())) { if (methodReferenced.getDeclaringType().getDeclaringType() != null) keyword= null; else keyword= ModifierKeyword.PRIVATE_KEYWORD; } else if (referencedUnit != null && referencedUnit.getParent().equals (type.getCompilationUnit().getParent())) keyword= null; break; case IJavaElement.PACKAGE_FRAGMENT: final IPackageFragment fragment= (IPackageFragment) referencing; if (methodReferenced.getDeclaringType().getPackageFragment().equals(fragment)) keyword= null; break; default: Assert.isTrue(false); } break; - Extract "type.getCompilationUnit()" | resolved fixed | 128df45 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-02T16:17:42Z" | "2005-01-17T11:06:40Z" |
83,593 | Bug 83593 Rename of enum type does not update constructor / throws ClassCastException | I20050118-1015 + jdt.core v_532b ICompilationUnit#rename(..) of an enum type does not update constructors. For consistency with rename of a class, enum constructors should be updated too. After uncommenting the enum constant TURQUOISE, renaming Color yields the ClassCastException below. public enum Color { PINK, // TURQUOISE(1) { // int getNumber() { // return fNumber; // } // } ; Color c; int fNumber; public Color() { } public Color(int num) { fNumber= num; } } java.lang.ClassCastException: org/eclipse/jdt/core/dom/EnumConstantDeclaration incompatible with org/eclipse/jdt/core/dom/ClassInstanceCreation at org.eclipse.jdt.internal.core.util.DOMFinder.visit(DOMFinder.java:89) at org.eclipse.jdt.core.dom.AnonymousClassDeclaration.accept0(AnonymousClassDeclaration.java:139) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.EnumConstantDeclaration.accept0(EnumConstantDeclaration.java:291) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.EnumDeclaration.accept0(EnumDeclaration.java:288) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:291) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.internal.core.util.DOMFinder.search(DOMFinder.java:72) at org.eclipse.jdt.internal.core.SourceRefElement.findNode(SourceRefElement.java:99) at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.updateTypeName(CopyResourceElementsOperation.java:648) at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.updatedContent(CopyResourceElementsOperation.java:575) at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processCompilationUnitResource(CopyResourceElementsOperation.java:233) at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processElement(CopyResourceElementsOperation.java:373) at org.eclipse.jdt.internal.core.MultiOperation.processElements(MultiOperation.java:162) at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processElements(CopyResourceElementsOperation.java:391) at org.eclipse.jdt.internal.core.MultiOperation.executeOperation(MultiOperation.java:90) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:710) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1703) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:754) at org.eclipse.jdt.internal.core.JavaModel.rename(JavaModel.java:303) at org.eclipse.jdt.internal.core.CompilationUnit.rename(CompilationUnit.java:1092) at org.eclipse.jdt.internal.corext.refactoring.changes.RenameCompilationUnitChange.doRename(RenameCompilationUnitChange.java:64) at org.eclipse.jdt.internal.corext.refactoring.AbstractJavaElementRenameChange.perform(AbstractJavaElementRenameChange.java:67) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:262) 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:76) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:710) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1703) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3582) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3539) at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.perform(DynamicValidationStateChange.java:79) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:262) at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:231) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1703) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1723) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:279) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.access$4(UIPerformChangeOperation.java:1) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$1.run(UIPerformChangeOperation.java:70) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2787) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2458) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:151) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:301) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:282) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:539) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:605) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:406) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:396) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2810) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2455) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.activate(UserInterfaceStarter.java:56) at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter.activate(RenameUserInterfaceStarter.java:113) at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java:114) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:178) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:131) at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:116) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:188) at org.eclipse.ui.internal.commands.Command.execute(Command.java:130) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:445) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:724) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:767) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:536) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:479) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:758) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:832) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:857) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Control.traverse(Control.java:2765) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2606) at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:786) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2624) at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:3230) at org.eclipse.swt.widgets.Display.filterMessage(Display.java:772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1575) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1541) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:287) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:274) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.basicRun(Main.java:255) at org.eclipse.core.launcher.Main.run(Main.java:811) at org.eclipse.core.launcher.Main.main(Main.java:795) | verified fixed | 79363df | ["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RenameTypeTests.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T19:20:34Z" | "2005-01-25T10:46:40Z" |
81,421 | Bug 81421 Closing a project with open editors leaves stale elements in Package Explorer's working set layout | I20041216-0800 Closing a project with open editors leaves stale elements in Package Explorer's working sets mode. This only affects CUs not normal resources. | resolved fixed | ad555ea | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/HistoryWorkingSetUpdater.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T18:50:00Z" | "2004-12-16T18:00:00Z" |
84,004 | Bug 84004 OpenCloseWorkingSetAction actions visible when no selection | Version: 3.1.0 Build id: I20050125-0800 When there is no selection in the package explorer (when you have collapsed a tree item for example) the context menu contains actions for "open project", "open projects" and "close projects". The only one that does anything is "open project", although it shouldn't be visible. OpenCloseWorkingSetAction#getProjects (both of them) are returning an empty array and the actions are enabled if the election is != null. Forcing the getProjects methods to return null when the list is empty fixed the problem for me. ie: if (selection.isEmpty()) return null; for the one that takes a structured selection and if (set.getElements().length == 0) return null; for the one taht takes a working set | resolved fixed | 35d2583 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/OpenCloseWorkingSetAction.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T18:23:58Z" | "2005-01-30T07:26:40Z" |
81,140 | Bug 81140 [nls tooling] Too many false positives when navigating from a key in properties file editor to Java editor | I200412142000 Currently properties key references are determined by a text search. The text search results should be filtered, such that the final results contain only matches from string partitions. | verified fixed | 163e4ef | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertyKeyHyperlink.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T17:04:12Z" | "2004-12-15T14:13:20Z" |
77,502 | Bug 77502 Change method signature dialog displays error status on unchanged settings [refactoring] | 200411010800: Steps to reproduce - Invoke change method signature on a method with a parameter - Click on the parameter type until the table cell is in edit mode - Leave without any changes -> Status dialog is showing an error status | resolved fixed | 6349992 | ["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T15:09:50Z" | "2004-11-02T18:26:40Z" |
82,507 | Bug 82507 Jar creation wizard omits directory entries | Below is email from the customer working on WSAD. I have recreated this behaviour on Eclipse 2.1.1 and 3.0 on Windows 2000 I have viewed the jar files in hex and validated that the Java jar command actually puts additional entries in the .jar compared to Eclipse/WSAD. Both the customer and I believe the Java JAR spec does not address this issue. That is why I have marked it as an enhancement. Customer would like an option to control the creation of directory entries. Here is a more detailed problem description Unzip the attached file somewhere (such as C:\junk). (See attached file: images.jar) Then: C:\junk>jar cvf images1.jar images or C:\junk>jar cvf images2.jar images/ They give the same results, as shown by: C:\junk>jar tvf images1.jar or C:\junk>jar tvf images2.jar 0 Mon Jan 10 09:30:36 CST 2005 META-INF/ 71 Mon Jan 10 09:30:36 CST 2005 META-INF/MANIFEST.MF 0 Mon Jan 10 09:29:58 CST 2005 images/ 144 Tue Jun 22 14:45:42 CDT 2004 images/blank.png 251 Tue Jun 22 14:45:42 CDT 2004 images/file.png 229 Tue Jun 22 14:45:42 CDT 2004 images/foldericon.png 148 Tue Jun 22 14:45:42 CDT 2004 images/I.png 232 Tue Jun 22 14:45:42 CDT 2004 images/openfoldericon.png 152 Tue Jun 22 14:45:42 CDT 2004 images/T.png Note the existence of the directory entries and the order of the files (the OS-native order for Windoze). Now try: C:\junk>jar cvf images3.jar images/* and dump the results: C:\junk>jar tvf images3.jar 0 Mon Jan 10 09:31:14 CST 2005 META-INF/ 71 Mon Jan 10 09:31:14 CST 2005 META-INF/MANIFEST.MF 144 Tue Jun 22 14:45:42 CDT 2004 images/blank.png 251 Tue Jun 22 14:45:42 CDT 2004 images/file.png 229 Tue Jun 22 14:45:42 CDT 2004 images/foldericon.png 148 Tue Jun 22 14:45:42 CDT 2004 images/I.png 232 Tue Jun 22 14:45:42 CDT 2004 images/openfoldericon.png 152 Tue Jun 22 14:45:42 CDT 2004 images/T.png ! The META-INF/ directory entry is present, but not images/ Order is still OS-native. Now use WSAD to export this same directory structure as a jar file. Here's what I see when I dump it: C:\junk>jar tvf images-ibm.jar 25 Mon Jan 10 09:38:32 CST 2005 META-INF/MANIFEST.MF 148 Mon Jan 10 09:37:18 CST 2005 images/I.png 152 Mon Jan 10 09:37:18 CST 2005 images/T.png 144 Mon Jan 10 09:37:18 CST 2005 images/blank.png 251 Mon Jan 10 09:37:18 CST 2005 images/file.png 229 Mon Jan 10 09:37:18 CST 2005 images/foldericon.png 232 Mon Jan 10 09:37:18 CST 2005 images/openfoldericon.png Now the META-INF/ directory entry is gone too, and the order looks more like you'd see in UNIX. My bottom line: there may not be a specification for this, but there are times when it matters. In particular, as indicated originally, we have an internal application that has fairly wide use at our company and it requires entries for directories -- even if the directories are empty. WSAD/JAD should include options for retaining or deleting directory entries. I came across some 3rd party ant tasks and other wrappers of the jarring process that include a filesOnly() method to specifically remove directory entries or a KEEP_FILE_ORDER flag that, if true, prohibits re-ordering of entries and deletion of directory entries. | resolved fixed | 6918e0c | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarPackageData.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T13:15:27Z" | "2005-01-10T20:46:40Z" |
84,021 | Bug 84021 StackOverflow in TypeVariable#getPrettySignature(..) for recursive type variable definition | I20050126-0800 StackOverflow in TypeVariable#getPrettySignature(..) for recursive type variable definition. E.g. try to print the return type of Collections.min(..), which is "<T extends Object & Comparable<? super T>>". The problem is that "T" in "<? super T>" is not just printed as "T", but it is erroneously expanded - infinitely. The bounds of a type variable should only be printed when the type variable declaration is printed (and not for references). | resolved fixed | 4f99622 | ["org.eclipse.jdt.ui.tests.refactoring/resources/TypeEnvironment/TestProject/signature/TestTypeVariables.java", "org.eclipse.jdt.ui.tests.refactoring/resources/TypeEnvironment/TestProject/signature/TestWildcardTypes.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/typeconstraints/PrettySignatures.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/typeconstraints/TypeEnvironmentTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ArrayType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ExtendsWildcardType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/GenericType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/NullType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ParameterizedType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/PrimitiveType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/RawType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/StandardType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/SuperWildcardType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeVariable.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/UnboundWildcardType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/VoidType.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/WildcardType.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T13:15:17Z" | "2005-01-31T08:26:40Z" |
84,070 | Bug 84070 IAE in new Java Project wizard when giving name of folder without a linked folder location | I20050126-0800 + ZRH-plugins from 20050128 - New workspace, New Java Project wizard, use project as source folder - Click Next, click toolbar icon "Link additional Source to Project" - Press tab and enter a "Folder name" without specifying a "Linked folder location" On each keystroke, the log gets one of these: !ENTRY org.eclipse.ui 4 0 2005-01-31 19:10:31.90 !MESSAGE Path must include project and resource name: /Proj !STACK 0 java.lang.IllegalArgumentException: Path must include project and resource name: /Proj at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60) at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1541) at org.eclipse.core.internal.resources.Container.getFolder(Container.java:136) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.LinkFolderDialog.createFolderHandle(LinkFolderDialog.java:428) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.LinkFolderDialog.access$3(LinkFolderDialog.java:425) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.LinkFolderDialog$Validator.validateLinkedResource(LinkFolderDialog.java:299) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.LinkFolderDialog$Validator.update(LinkFolderDialog.java:218) at java.util.Observable.notifyObservers(Observable.java:142) at java.util.Observable.notifyObservers(Observable.java:98) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.LinkFolderDialog$FolderNameField.fireEvent(LinkFolderDialog.java:102) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.LinkFolderDialog$FolderNameField.dialogFieldChanged(LinkFolderDialog.java:106) at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField.doModifyText(StringDialogField.java:130) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField.access$0(StringDialogField.java:126) at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField$1.modifyText(StringDialogField.java:108) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:187) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847) at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2019) at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3150) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3027) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3449) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1509) at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:127) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3109) at org.eclipse.swt.widgets.Text.windowProc(Text.java:1742) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3449) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1585) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2513) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries$10.run(ClasspathModifierQueries.java:622) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:147) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28) at org.eclipse.swt.widgets.Display.syncExec(Display.java:3202) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries$9.doQuery(ClasspathModifierQueries.java:617) at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.createLinkedSourceFolder(ClasspathModifier.java:104) at org.eclipse.jdt.internal.corext.buildpath.LinkedSourceFolderOperation.run(LinkedSourceFolderOperation.java:60) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierAction.run(ClasspathModifierAction.java:56) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:460) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2877) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2515) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2877) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2515) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1584) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1550) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:288) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:225) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:274) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.basicRun(Main.java:255) at org.eclipse.core.launcher.Main.run(Main.java:811) at org.eclipse.core.launcher.Main.main(Main.java:795) | resolved fixed | 7e2b2b1 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/LinkFolderDialog.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-02-01T09:35:53Z" | "2005-01-31T19:33:20Z" |
83,397 | Bug 83397 Problem with inheritance from Generics [code generation] | Hi, I used the class wizard to create a new class (HashMapTest) that extends HashMap, with "Constructors from superclass" selected. The wizard created this constructor: public HashMapTest(Map< ? extends K, ? extends V> arg0) { super(arg0); } the compiler gives errors that K and V cannot be resolved into types. The same occur with methods whether created by the wizard or not. I am using the 3.1M4 stable build with Sun J2SE 5.0. Compiler compliance is set to 5.0 default. Good luck Roger | resolved fixed | 3f00cc5 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewAnnotationWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewClassWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewEnumWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewInterfaceWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-31T11:07:04Z" | "2005-01-21T15:06:40Z" |
83,952 | Bug 83952 Unconventional order of add-remove-edit buttons in Change Method Signature | I20050126-0800: The order of the buttons in the parameters tab is currently: Add Edit... Up Down Remove The 'Remove' button should be placed directly after the 'Add' button | resolved fixed | 42eee5f | ["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg01_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg01_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg02_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg02_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg03_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg03_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg04_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg04_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg05_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg05_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg06_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg06_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg07_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg07_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/cannotModify/A_testFailVararg01.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/cannotModify/A_testFailVararg02.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/cannotModify/A_testFailVararg03.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/cannotModify/A_testFailVararg04.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/cannotModify/A_testFailVararg05.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JdtFlags.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/TypeContextChecker.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-31T10:45:47Z" | "2005-01-28T16:33:20Z" |
83,523 | Bug 83523 Refactoring: Create package in move dialog is blocking | 20050124 - Select a compilation unit, choose Refactor -> Move - In the dialog select a source folder and press 'Create folder...' - Enter a package name and press ok - Blocked dialog shows up. 'Operation blocked by background work', but no background operation visible It seems the operation blocked itself out. The 'create package' has been started in the model context thread and tries to get a lock which is taken by the refactoring operation - The blocking dialog could be improved: Blocking has nothing to do with a background work here - Running a modal context thread should better automatically transfer the locks/scheduling rules of the caller thread. | verified fixed | 3929403 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-28T11:06:53Z" | "2005-01-24T09:46:40Z" |
83,729 | Bug 83729 Enum constructor: should have private method icon | null | resolved fixed | baab00a | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-27T18:05:11Z" | "2005-01-26T17:20:00Z" |
81,098 | Bug 81098 Quick Fix 'Change workspace compliance settings to 5.0' with project specific settings [quick fix] | M4 test pass. The Quick Fix 'Change workspace compliance settings to 5.0' does not make much sense when the project already has project specific settings. Either the Quick Fix should not appear when the project overrides workspace settings, or the user should be asked whether the project should take over workspace settings. | resolved fixed | bcb235f | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-27T09:52:48Z" | "2004-12-15T11:26:40Z" |
83,697 | Bug 83697 [misc] Inline tags are not rendered when in the content of a block tag | Version: 3.1.0 Build id: I20050125-0800 The javadoc manual states that is possible to use inline tags (eg {@link}) in the content of block tags (such as @param). This simple case renders as "foo {@link String bar}" when it should be "foo bar": /** * @param foo {@link String bar} */ public void fred(String foo){} | resolved fixed | b00d5c6 | ["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaDoc2HTMLTextReaderTester.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDoc2HTMLTextReader.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-26T16:22:08Z" | "2005-01-26T11:46:40Z" |
81,181 | Bug 81181 [5.0] [refactoring] change method signature on enum constructor | 20041215 changing the signature of the 'Enu' contructor results in a NPE public enum Enu { A(1, 3), B(1, 3), C(1, 3); public Enu(int i, int j) { } } java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring$DeclarationUpdate.getFullTypeName(ChangeSignatureRefactoring.java:1827) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring$DeclarationUpdate.checkIfDeletedParametersUsed(ChangeSignatureRefactoring.java:1799) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring$DeclarationUpdate.updateNode(ChangeSignatureRefactoring.java:1448) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring.createChangeManager(ChangeSignatureRefactoring.java:991) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring.checkFinalConditions(ChangeSignatureRefactoring.java:604) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:188) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:105) } | resolved fixed | 4a3e8d8 | ["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testEnum01_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testEnum01_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testEnum02_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testEnum02_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testEnum03_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testEnum03_out.java", "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/structure/ChangeSignatureRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-26T12:18:17Z" | "2004-12-15T17:00:00Z" |
80,098 | Bug 80098 newTypeHierarchy(IRegion,...) should not be constrained to an IJavaProject | As Dirk has discussed with Philippe and Jerome, we need API to build a supertypes hierarchy on an arbitrary IRegion that crosses project boundaries. This API is required for the new implementation of the RippleMethodFinder. Currently, IJavaProject has methods newTypeHierarchy(IRegion, IProgressMonitor) newTypeHierarchy(IRegion, WorkingCopyOwner, IProgressMonitor) , whose Javadocs promise exactly that. The only sore point is that these methods have to be called on an IJavaProject, and it is not clear to me what the role of the receiver project is. If the methods don't depend on the receiver project, then the methods should be moved to JavaCore. If they do depend, then - that dependency should be explained in the methods' Javadocs, and - we request new methods on JavaCore which build the supertypes hierarchy on types from an arbitrary IRegion. | verified fixed | 0751ec4 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-25T11:49:20Z" | "2004-12-03T13:20:00Z" |
82,242 | Bug 82242 JavaElementImageProvider gives wrong adornments for annotations/enums | I20050104-1600 In general, the JavaElementImageProvider also shows "implicit" element modifiers. Here's an example showing where types and members are missing adornments: class C { } interface MyInt { int X= 12; } @interface MyTag { // missing "default access" adornment int X= 12; // missing "static final" adornment } enum MyEnum { // missing "default access" adornment RED // missing "static final" adornment ; public static final MyEnum ROUGE= RED; } | resolved fixed | 9f331be | ["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/MemberFilter.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-24T18:28:05Z" | "2005-01-05T15:46:40Z" |
73,535 | Bug 73535 [1.5][model] Method to validate type parameter names missing in JavaConventions | Build I200409011200: For consistency, class JavaConventions should provide a method to syntactically validate the name of a type parameter | verified fixed | b881b70 | ["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-24T14:38:23Z" | "2004-09-09T11:40:00Z" |
20,644 | Bug 20644 [hovering] Javadoc hover cannot handle link tag | null | resolved fixed | 019de7c | ["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaDoc2HTMLTextReaderTester.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDoc2HTMLTextReader.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-24T14:10:52Z" | "2002-06-19T12:33:20Z" |
83,476 | Bug 83476 NPE setting inclusion/exclusion filters for build path [build path] | Version: 3.1.0 Build id: I20050118-1015 When you "remove" an inclusion or exclusion filter a NPE is thrown when you try to edit the filter. 1. Open java build path properties 2. select libraries tab 3. select an inclusin or exclusion filter 4. press the remove button 5. press the edit button (nothing happens, NPE logged) 6. Exit dialog (error about setting build path) java.lang.NullPointerException at org.eclipse.jdt.internal.ui.wizards.buildpaths.TypeRestrictionDialog.createListContents(TypeRestrictionDialog.java:140) at org.eclipse.jdt.internal.ui.wizards.buildpaths.TypeRestrictionDialog.<init>(TypeRestrictionDialog.java:119) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.showExclusionInclusionDialog(LibrariesWorkbookPage.java:387) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.editAttributeEntry(LibrariesWorkbookPage.java:380) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.editEntry(LibrariesWorkbookPage.java:332) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:222) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$0(LibrariesWorkbookPage.java:203) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:163) 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:380) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(TreeListDialogField.java:376) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(TreeListDialogField.java:343) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2810) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2455) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:169) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2810) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2455) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1575) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1541) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:287) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:274) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:255) at org.eclipse.core.launcher.Main.run(Main.java:811) at org.eclipse.core.launcher.Main.main(Main.java:795) | resolved fixed | 860ef4c | ["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 | "2005-01-24T09:27:24Z" | "2005-01-22T02:13:20Z" |
83,440 | Bug 83440 NullPointerException in refactoring preview dialog | When refactoring a private member class into a top-level class using "Move Member Type to New File...", in the preview dialog, clicking on the name of the class in the preview (to see the detailed changes), or any member of that class nested under it in the tree, causes a NullPointerException. A test case that fails on my machine: public class TestClass { private class TestClass2 { private String x; private int y; } } Doing TestClass2 -> Refactor -> Move Member Type to New File... -> Preview -> Continue -> Open tree to TestClass2 and selecting it or any member variable causes the following NullPointerException: java.lang.NullPointerException at org.eclipse.ltk.core.refactoring.TextChange.getPreviewContent(TextChange.java:599) at org.eclipse.ltk.internal.ui.refactoring.TextChangePreviewViewer.setInput(TextChangePreviewViewer.java:184) at org.eclipse.ltk.internal.ui.refactoring.PseudoJavaChangeElement.feedInput(PseudoJavaChangeElement.java:73) at org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.showPreview(PreviewWizardPage.java:376) at org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.access$2(PreviewWizardPage.java:355) at org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage$2.selectionChanged(PreviewWizardPage.java:346) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:161) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1667) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:935) at org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(CheckboxTreeViewer.java:268) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:961) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:209) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:204) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:364) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.startRefactoring(ConvertNestedToTopAction.java:210) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.run(ConvertNestedToTopAction.java:166) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694) | resolved fixed | b538789 | ["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/TextChange.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-23T17:59:49Z" | "2005-01-21T20:40:00Z" |
82,536 | Bug 82536 Surround with doesn't use OLD ast rewrite anymore | therefore the following // SurroundWithTryCatchRefactoring still uses modifying rewrite - pass in a copy ASTParser parser= ASTParser.newParser(ASTProvider.AST_LEVEL); parser.setSource(cu); parser.setResolveBindings(true); parser.setFocalPosition(selectedNode.getStartPosition()); CompilationUnit newRoot= (CompilationUnit) parser.createAST(null); could be removed form LocalCorrectionsSubProcessor | resolved fixed | 9d09640 | ["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java"] | JDT | https://github.com/eclipse-jdt/eclipse.jdt.ui | eclipse-jdt/eclipse.jdt.ui | java | null | null | null | "2005-01-23T11:29:32Z" | "2005-01-11T10:40:00Z" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.