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
198,424
Bug 198424 [Extract Class] Generates incorrect Parameter
Use Extract Class on junit.runner.TestCaseClassLoader and generate alle Getters and Setters for all fields. The initialization of field private String[] defaultExclusions= { "junit.framework.", "junit.extensions.", "junit.runner." }; will fail because the array creation needs to be inserted
resolved fixed
7dcfdc1
["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayInitializer/in/ArrayInitializer.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayInitializer/out/ArrayInitializer.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayInitializer/out/ArrayInitializerParameter.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-31T16:46:13Z"
"2007-07-31T16:40:00Z"
197,933
Bug 197933 [extract class] removes import that is still used
20070726 - Import JUnit 3.8.1 source - In VectorTest, extract a class 'Vectors' that contains the two fiels 'fFull' and 'fEmpty' - the created class has 'java.util.Vector' removed, which is still referenced in the code
resolved fixed
f042b50
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringCoreMessages.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-31T16:30:27Z"
"2007-07-26T08:53:20Z"
198,392
Bug 198392 [extract class] IAE when extracting class
20070731 - checkout org.eclipse.compare in source - invoke extract class on 'hunk' and select all fields (with getter and setter) java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.ASTNode$NodeList.add(ASTNode.java:1247) at java.util.AbstractList.add(AbstractList.java:91) at org.eclipse.jdt.internal.corext.refactoring.structure.ParameterObjectFactory.createFieldWriteAccess(ParameterObjectFactory.java:366) at org.eclipse.jdt.internal.corext.refactoring.structure.ExtractClassRefactoring.replaceReferences(ExtractClassRefactoring.java:567) at org.eclipse.jdt.internal.corext.refactoring.structure.ExtractClassRefactoring.updateReferences(ExtractClassRefactoring.java:512) at org.eclipse.jdt.internal.corext.refactoring.structure.ExtractClassRefactoring.checkFinalConditions(ExtractClassRefactoring.java:338) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:119) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
resolved fixed
8d854de
["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testControlBodyUpdates/in/ControlBodyUpdates.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testControlBodyUpdates/out/ControlBodyUpdates.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/GetterSetterUtil.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-31T15:17:34Z"
"2007-07-31T13:53:20Z"
34,934
Bug 34934 [dnd] not consistent
RC2 Drag support is not consistent for all JDT UI views: package explorer: support file, resource and selection transfer type hierarchy: only selection transfer is supports. Hence non DnD from type hierarchy to workbench parts (e.g the editor, navigator) or to another application. Java outliner: same as type hierarchy browsing perspective: no file transfer hence no DnD to another application.
resolved fixed
3c4dfdb
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDragSupport.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropSupport.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java", "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
"2007-07-31T15:10:37Z"
"2003-03-13T18:26:40Z"
197,951
Bug 197951 [pull up] selecting members triggers a long operation
3.3. - select class which implements an interface - execute pull up - select a member to pull up Observe: this triggers a long op which IMO makes the refactoring hard to use. In my workspace I waited 1 minute for the operation to return.
verified fixed
0554db2
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-31T10:44:40Z"
"2007-07-26T11:40:00Z"
71,065
Bug 71065 [dnd] Package Explorer should support PluginTransfer method
The package explorer support two transfer drop method : LocalSelectionTransfer FileTransfer It could useful to support PluginTransfer. Plugin developers could then use the 'org.eclipse.ui.dropActions' extension point.
resolved fixed
63c6348
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PluginTransferDropAdapter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-31T08:38:43Z"
"2004-07-29T11:20:00Z"
128,785
Bug 128785 [dnd] DnD of a member makes file dirty
3.2 M5 1. have class C { int i1; int i2; int i3; } 2. make it dirty 3. in the Package Explorer or Outline view drag and drop a field inside C ==> I'm requested that the file is saved (OK, can live with that since it is doing a refactoring behind the scenes. Now the action is performed and the file is left dirty, which is not normal refactoring behavior: it should be non-dirty.
resolved fixed
e969eaa
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/IReorgPolicy.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-31T08:29:42Z"
"2006-02-21T11:06:40Z"
197,985
Bug 197985 [reorg] Introduce IReorgDestination and ReorgDestinationFactory
null
resolved fixed
180570c
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ValidateEditTests.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/CopyTest.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MoveTest.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MultiMoveTest.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/reorg/AbstractMoveCompilationUnitPrefTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/IReorgDestination.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/IReorgDestinationValidator.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/IReorgPolicy.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgDestinationFactory.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DestinationContentProvider.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.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/ReorgMessages.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/JdtViewerDropAdapter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ViewerInputDropAdapter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetDropAdapter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-30T11:51:48Z"
"2007-07-26T17:13:20Z"
168,515
Bug 168515 Search view's open strategy is broken
3.3 M4 1. import JUnit 2. do a Java reference search for TestCase 3. in the Search view double click on TestRunner (the parent of the matches in rerunTest) ==> NOT OK: the Java editor opens but nothing is selected (caret is at 0) EXPECTED: class TestRunner gets selected 4. now click on the rerunTest ==> match is selected (OK) 5. double click on TestRunner again ==> NOT OK: nothing happens EXPECTED: class TestRunner gets selected This is pretty painful if you simply want to go the type where matches are found.
resolved fixed
5f8f425
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchEditorOpener.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-30T09:46:23Z"
"2006-12-19T09:20:00Z"
196,305
Bug 196305 [ccp] PE renders file as folder if folder was overriden by file
null
verified fixed
4578473
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-30T09:23:02Z"
"2007-07-12T14:20:00Z"
197,934
Bug 197934 [extract class] slow response in UI
20070726 - Import org.eclipse.compare in source - In 'Hunk', invoke 'extract class' - quickly try to deselect all check boxes. There's a considerable delay until a checkbox is unchecked. What is computed while this is done?
resolved fixed
00da8bb
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-26T13:36:41Z"
"2007-07-26T08:53:20Z"
197,722
Bug 197722 5 failures in Eclipse Automated tests in org.eclipse.ltk.core.refactoring when using IBM Java 6.0
Build ID: I20070625-1500 Steps To Reproduce: 1. Set up and run Eclipse with IBM Java 6.0 and its libraries to run the Eclipse Automated Test suite. 2. Observe 5 failures in org.eclipse.ltk.core.refactoring tests.history, particularly testWriteDescriptor0..4. More information: There are also 8 failures in org.eclipse.jdt.ui.tests that appear to be caused by the same problem. I have tracked these errors down to an issue in with the method RefactoringHistorySerializationTests where a descriptor is converted to an XML stream, with the output property "indent" set to "yes". The code in compareWrittenDescriptor assumes that the javax transform method will produce a fixed XML ouput, being identical to the string that is passed into the routine for comparison. However, the "indent" property is more of a suggestion to the transform method. According to the W3C xslt specification, which defines this property: "If the indent attribute has the value yes, then the xml output method may output whitespace in addition to the whitespace in the result tree (possibly based on whitespace stripped from either the source document or the stylesheet) in order to indent the result nicely;..." As a result of having set the indent attribute to yes, the javax library in IBM Java 6.0 inserts whitespace (newlines in this case) slightly differently than earlier JRE's. In order that the comparison be made reliable, I'd suggest setting the indent property to "no", and then removing the newlines from the expected result strings. The indent property is set in: org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryManager.class
verified fixed
0300b9a
["org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/history/RefactoringHistorySerializationTests.java", "org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/RefactoringSessionTransformer.java", "org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/history/RefactoringHistoryManager.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-26T13:02:10Z"
"2007-07-24T20:46:40Z"
197,791
Bug 197791 [navigation] NPE when using Show In > ... in Java editor on repository file
I20070724-0800 NPE when using Show In > ... in Java editor on repository file (old revision from CVS history): !ENTRY org.eclipse.ui 4 0 2007-07-25 15:25:43.546 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72) at org.eclipse.jface.viewers.StructuredSelection.<init>(StructuredSelection.java:66) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$6.getSelection(JavaEditor.java:1804) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.show(PackageExplorerPart.java:1338) at org.eclipse.ui.internal.ShowInAction.run(ShowInAction.java:74) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3688) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3299) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
verified fixed
d049ce5
["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
"2007-07-25T15:56:17Z"
"2007-07-25T13:26:40Z"
197,626
Bug 197626 [clean up] Clean Up configuration dialog talks about save actions
HEAD - Source > Clean Up - Use custom Profile > Configure => "Custom Clean Ups" dialog shows message "x of 27 save actions activated" I'm in a clean up context, so I should not see the term "save action".
resolved fixed
59d7390
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpSaveParticipantConfigurationModifyDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpSaveParticipantPreferenceConfiguration.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpSelectionDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/SaveActionSelectionDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpModifyDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CodeFormatingTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CodeStyleTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/MemberAccessesTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/MissingCodeTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/UnnecessaryCodeTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-25T09:46:46Z"
"2007-07-24T09:40:00Z"
36,343
Bug 36343 [typing] comments entering - moves text out of comment scope
I've got non-javadoc comment in front of a method: // text I want to convert it to java-doc: /**<here press enter to move rest of the text to next line> text Result is: /** * */text Which is not what I've expected. I understand that if I start typing "/**" in front of method declaration, I'd probably would not like to have it commented. But I'd never start typing this way - if I don't like something to be commented, I'd create a new line first...
resolved fixed
8cc7fc7
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocAutoIndentStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-24T08:10:52Z"
"2003-04-10T13:06:40Z"
197,483
Bug 197483 [refactoring] NPE when on Apply Script
I20070717-1020 Given: P01 file 1. Select 'file' 2. Refactor>Apply Script... Is: java.lang.NullPointerException at org.eclipse.ltk.internal.ui.refactoring.scripting.ApplyRefactoringScriptWizard.init(ApplyRefactoringScriptWizard.java:153) at org.eclipse.ltk.ui.refactoring.actions.ApplyRefactoringScriptAction.showApplyScriptWizard(ApplyRefactoringScriptAction.java:57) at org.eclipse.ltk.ui.refactoring.actions.ApplyRefactoringScriptAction.run(ApplyRefactoringScriptAction.java:89) at org.eclipse.jdt.internal.ui.refactoring.actions.ApplyRefactoringScriptAction.run(ApplyRefactoringScriptAction.java:50) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3689) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3300) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:158) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
resolved fixed
e5bfaf7
["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/scripting/ApplyRefactoringScriptWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-23T13:47:53Z"
"2007-07-23T14:13:20Z"
197,481
Bug 197481 [dnd] Refactoring script for copy folder generates 'null' folder
I20070717-1020 Given: P01 + folder1 + folder + folder2 1. Copy folder to folder2 2. Delete copy 3. Refactor>Create Script... 4. Select 'Copy Folder' refactoring 5. Select 'Clipboard' 6. Create 7. Refactor>Apply Script... 8. Clipboard 9. Finish Is: P01 + folder1 + folder + folder2 + null Should: P01 + folder1 + folder + folder2 + folder
resolved fixed
a663a90
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/LoggedNewNameQueries.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-23T13:43:29Z"
"2007-07-23T14:13:20Z"
197,142
Bug 197142 [reorg] NPE on move classes
I20070717-1020 Given: package p; public class A {} class C {} package q; public class D {} 1. Select types A and C 2. Refactor>Move... 3. Select CU D 4. OK Is: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.reorg.DeleteChangeCreator.createDeleteChange(DeleteChangeCreator.java:83) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$MoveSubCuElementsPolicy.createChange(ReorgPolicyFactory.java:1828) at org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor.createChange(JavaMoveProcessor.java:158) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:234) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
resolved fixed
8130c79
["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
"2007-07-19T14:29:24Z"
"2007-07-19T13:00:00Z"
197,102
Bug 197102 [dnd] Import not moved on member move
I20070717-1020 Given: package test; import java.util.List; public class E01 { List l; } package test; public class E02 {} 1. Open both CUs in editor 2. Select Editor for E01 3. Move 'l' per DnD from E01 to E02 Is: Import is moved, great 4. Save all 5. Move 'l' per DnD from E02 to E01 Is: Import is not moved Should: Be moved It only works if the drag source is shown in the active editor, very strange...
resolved fixed
962f06f
["org.eclipse.jdt.ui.tests.refactoring/resources/Move/testDestination_fieldWithImportMoveAcross/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/Move/testDestination_fieldWithImportMoveAcross/in/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/Move/testDestination_fieldWithImportMoveAcross/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/Move/testDestination_fieldWithImportMoveAcross/out/B.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MoveTest.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
"2007-07-19T13:32:01Z"
"2007-07-19T10:13:20Z"
170,182
Bug 170182 [dnd] Relocating a method via outline-view causes an import to be removed
Given the following file: <QUOTE> import java.util.ArrayList; import java.util.HashMap; import java.util.Set; public class A { private HashMap<String, Integer> hashMap = new HashMap<String, Integer>(1); public Set<String> getStrings() { return hashMap.keySet(); } public void setInts(Integer integer, String str) { hashMap.put(str, integer); } public A(ArrayList<String> strings) { for (String ip : strings) { hashMap.put(ip, new Integer(1)); } } public Integer getInts(String fromIpAddress) { return hashMap.get(fromIpAddress); } } <UNQUOTE> When I drag the constructor, via the "outline" view, and drop it as the first among methods, the "import java.util.ArrayList;" line is removed (subsequently causing a compilation error). Thanks, Amit
resolved fixed
22a2dbf
["org.eclipse.jdt.ui.tests.refactoring/resources/Move/testDestination_fieldWithImport/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/Move/testDestination_fieldWithImport/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MoveTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-19T13:14:01Z"
"2007-01-11T10:06:40Z"
196,075
Bug 196075 [build path] Creation of a New Project Outside the Workspace is Incomplete
Problem Description ------------------- I separate my workspaces and codelines. In other words, my actual code and corresponding projects do not live directly in the workspace directory. Eclipse 3.2 allows the complete creation of a Java project outside the workspace. "Complete creation" means automatically specifying the pre-configured source directory (e.g., "src/java") and properly assigning the JRE System library to the project. Eclipse 3.3 does not seem to allow this. It creates the project structure outside the workspace, but does not automatically specify the pre-configured source directory and more importantly fails to assign the JRE System library. Steps to Reproduce ------------------ 1. Create a Java project (junk-3.3) that will not live directly in the workspace. 2. Choose the "Create project from existing source" option. In my environment, there is no directory called "junk-3.3". 3. Outside the workspace directory, create the junk-3.3 directory by pressing "Make New Folder." 4. Verify the fully qualified path in the Directory text box does not live under the workspace directory. 5. Press next. Normally my configured source folder "src/java" would appear under junk-3.3. It does not. However, my configured default output folder "ide-build" does automatically appear (I did not change it for this example). 6. Add "src/java" manually. Again, normally this would have been done automatically. If I don't add the source folder here, it doesn't get added to the project. 7. Press finish. The JRE System Library /is not added/ automatically. I have to add it manually. 8. Create a new project that will live in the workspace. 9. Press next. In my case, the pre-configured "src/java" source folder automatically appears, as well as the default output folder ("ide-build"). 10. The project is created. The JRE System Library /is added/ automatically.
resolved fixed
b537433
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardSecondPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-17T17:19:38Z"
"2007-07-10T20:40:00Z"
189,638
Bug 189638 [build path] New project wizard does not remove created folders on cancel
null
resolved fixed
004ef7b
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardSecondPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-17T17:14:42Z"
"2007-05-29T12:00:00Z"
195,848
Bug 195848 Add Java Exception Breakpoint dialog should use JavaUI#createTypeDialog(..)
null
verified fixed
f603edc
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredTypesSelectionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-17T15:33:33Z"
"2007-07-09T16:53:20Z"
196,788
Bug 196788 [ccp][dnd] Can drop a IPackageFragmentRoot onto another root
I20070710-1416 Given: P01 + src1 + src2 1. Drag and drop with copy source folder src1 onto source folder src2 Is: A copy of src1 is added to P01 Should: Drop should not be enabled (only onto project)
resolved fixed
0c1c48f
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/CopyTest.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
"2007-07-17T10:30:00Z"
"2007-07-17T08:13:20Z"
55,875
Bug 55875 [ccp] [dnd] Copy/Move internal JAR not working in some scenarios
I200403240010 Reorg: Move (and Copy) internal JAR not possible if the target doesn't contain a source folder or of the folder is on the Java build path Expected: 1. it should allow to drop it in any container 2. it should add the JAR to the Java build path and define an exclusion filter
resolved fixed
1ba4553
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/CopyTest.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
"2007-07-17T10:05:29Z"
"2004-03-24T12:06:40Z"
196,093
Bug 196093 [rename] rename packages deletes files if subpackages are available and to rename, too.
Build ID: M20070212-1330 Steps To Reproduce: 1. Create package a.b.c with Class C1 2. Create package a.b.c.d.e with Class C2 3. Open the refactoring dialog in the package explorer on a.b.c and rename it to a.b.c.d (and check the "rename subpackages"-option. Expected result: Two packages: a.b.c.d with file C1 and a.b.c.d.d.e and file C2 Real result: One package: a.b.c.d.d.e WITH ONLY C2!!
verified fixed
3db3772
["org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail11/in/q/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail11/in/q/p1/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testFail2/in/r/p1/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testToEmptyPack/in/r/p1/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/testToEmptyPack/out/fred/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RenamePackageTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringCoreMessages.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/RenamePackageChange.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameModifications.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenamePackageWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-17T08:20:51Z"
"2007-07-10T23:26:40Z"
147,781
Bug 147781 [content assist] Ctrl+Shift+Space does not use proposal kinds settings
The Ctrl+Shift+Space context information seems to use all the proposal computer available rather than the currently selected list of proposal kinds. In the case of Mylar this means that users see two duplicated lists of entries, since the Mylar proposal kinds extend and enhance the JDT kinds.
resolved fixed
46210cc
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-17T08:03:29Z"
"2006-06-19T20:46:40Z"
196,631
Bug 196631 [extract superclass] "Choose Types" modality and OK button enablement
Build ID: N20070714-0010 I decided to put it in one bug, because I'm not sure whether the first part is a valid bug. Anyways, I think the fix will be trivial. Steps To Reproduce: 1. Open a class 2. Select "Extract Superclass" from the "Refactor" menu 3. Click "Add..." button next to a table with types to extract a superclass from => As I said, I'm not sure is it a feature or a bug, but the "Choose Type" dialog is not modal. Moreover, "OK" button is enabled even when there is no type selected.
resolved fixed
c2a24cb
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractSupertypeMemberPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-16T14:48:28Z"
"2007-07-16T12:46:40Z"
196,646
Bug 196646 [organize imports] import broken with * groups
3.3 Exported import order that contain a 'unmatched' imports group can't be imported anymore.
verified fixed
1fcd6cd
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizeConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-16T14:07:00Z"
"2007-07-16T12:46:40Z"
67,124
Bug 67124 [ccp] [dnd] Minor Copy/Paste issues
In RC2, I get a copy/paste failure in the following specific and rare situation: 1) I have a java file in a java project 2) I have the file open in a Java editor and it is dirty 3) I tried to copy and past the file to a non-java project I got an error stating that the operation couldn't be performed because the file is unsaved. I would expect instead to be prompted to save the file before proceeding. Also, if I perform the above but in step 3 chose a java package, the paste takes place without a prompt to save the dirty editor.
resolved fixed
90d2135
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/CopyTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/CopyCompilationUnitChange.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/CopyResourceChange.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-16T13:50:19Z"
"2004-06-14T21:53:20Z"
196,510
Bug 196510 [quick fix] No quickfix for warning "Statement unnecessarily nested within else clause." when if statement is the action statement of a while statement
Build ID: I20070625-1500 Steps To Reproduce: In a method like this: boolean foo (int i) { while (i < 100) if (i == 42) return true; else i = i + 3; return false; } ...Eclipse 3.3 displays a warning on the line "i = i + 3;", saying "Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally" and shows a Quick Fix icon - but does not offer a quick fix. More information: When the if statement is nested inside another control statement, it is not possible to turn the else part into a separate statement, unless you introduce a block around the if statement. I cannot find an option in Preferences to suppress this warning. So, a couple of bugs: 1) Warning on a reasonable and common construct 2) Quick fix icon with no quick fix 3) No way to suppress warning
resolved fixed
066f129
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java", "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
"2007-07-16T12:46:13Z"
"2007-07-13T20:53:20Z"
196,340
Bug 196340 [override method] Can OverrideMethodsAction.createRunnable make available 'save compilation unit' to users who want to save the file
Build ID: Eclipse 3.2 Steps To Reproduce: Can OverrideMethodsAction.createRunnable make available 'save compilation unit' to users who want to save the file Currently we see that OverrideMethodsAction.createRunnable sets save=false in the AddUnimplementedMethodsOperation constructor There is no way to save the contents of the class after the operation runs, I think this is a bug/unnecessary limitation, After the operation runs, it does not save the contents in the file so it appears as if the operation did not work. Right now I have 2 ways to get it to work 1. Use OverrideMethods... Then I can get that code to work is to have the file open in a editor, run the runnable/operation that dirties the file, and call IWorkbenchPage.saveEditor(IEditorPart, false); This solution is hacky. 2. Or use AddUnimplemented.... directly, that means I am using internal API More information:
resolved fixed
5c7f802
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-16T12:01:30Z"
"2007-07-12T17:06:40Z"
196,446
Bug 196446 [nls tooling] NLS hyperlink navigation and java 5 static imports
*Overview Description: If the static import feature is used, the NLS hyperlink navigation(Ctrl+click) for NLS field doesn't work anymore . -Expected result : Opens the .properties file and select the referenced key. -Actual result : Opens the Message.java class and selects the referenced field. *Steps to Reproduce : Let's say you have a class org.nls.Messages that extends org.eclipse.osgi.util.NLS and that defines two keys that are translated in the messages.properties file. import static org.nls.Messages.*; import org.nls.Messages; public class Test { String myString1 = Test_0; /* uses static import*/ String myString2 = Messages.Test_1; /* classic access */ } If you click (Ctrl+click) on "Test_1" ("Messages.Test_1"), the messages.properties file is opened and the referenced key is revealed. If you click (Ctrl+click) on "Test_0", the Messages.java (wich extends NLS) file is opened and the referenced field is revealed. - Also Occurs on eclipse 3.2.1. valere.
resolved fixed
aa9c9be
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHintHelper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-16T09:37:26Z"
"2007-07-13T12:33:20Z"
196,303
Bug 196303 [ccp] No question ask if overriding empty folder
I20070710-1416 Given: P01 + bar + foo bar 1. Drag and drop file 'bar' onto 'P01' Is: No warning that this will override folder bar Should: Ask if ok to override
resolved fixed
19bb3a4
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MoveTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-16T08:25:48Z"
"2007-07-12T14:20:00Z"
196,334
Bug 196334 [refactoring] RefactoringSearchEngine2 allows null monitor, but does not handle them
the search method allow null as progressmonitor, but do not handle the null correctly
resolved fixed
6c8dc5f
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-12T16:44:48Z"
"2007-07-12T14:20:00Z"
79,318
Bug 79318 [ccp] replacing directory with a file of the same name containing this very file will delete file and directory
Scenario: There is a directory/folder named "bar" somewhere in the workspace. This directory contains a file also called "bar". The package explorer is used. Problem: When trying to move the file "bar" one level up, Eclipse will show a dialog stating that there already is a file named "bar" in this directory and asking the user if he really wants to overwrite it. (This is correct so far.) If the user clicks "Yes" Eclipse will run into an exception and will show this error dialog: "An exception has been caught while processing the refactoring 'Move'. Reason: Resource /MyProject/bar/bar does not exist." (No entry in .log is created.) There are two buttons: "Undo" and "Abort". No matter what button is clicked, both the directory "bar" and the file "bar" are lost. Presumably Eclipse/JDT deletes/overwrites the directory "bar" before the file "bar" could be read. Possible solutions: * Don't allow the user to move a file that is inside a folder with the same name, so that the file would overwrite the containing directory. * Or: First make a "backup" copy of the file before replacing the directory with this file. (This bug only affects the Package Explorer. The Navigator view does not allow to move files if the containing directory would be replaced.)
resolved fixed
2bd2ec6
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MoveTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-12T15:20:24Z"
"2004-11-23T17:13:20Z"
189,284
Bug 189284 [clean up] Clean Up wizard allows to Finish with 0 or >1 selected profiles
null
resolved fixed
5244c8f
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-11T16:45:32Z"
"2007-05-26T09:00:00Z"
188,864
Bug 188864 Cleanup CodeFormatterUtil
3.3 RC1. CodeFormatterUtil is internal and hence we should clean it up so that there's only reformat and format. We should ensure that all our code that formats goes through the CodeFormatterUtil and not go directly to JDT Core (like e.g. the comment formatter currently does).
resolved fixed
0d0faf6
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeFormatterUtilTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/AddGetterSetterOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/CodeFormatterUtil.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/SnippetPreview.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentFormattingStrategy.java", "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/GetterSetterCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaFormattingStrategy.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodDeclarationCompletionProposal.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
"2007-07-11T12:47:17Z"
"2007-05-24T09:46:40Z"
195,817
Bug 195817 [extract interface] bug with enhanced for loop
null
resolved fixed
fac7484
["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test104/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test104/in/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test104/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test104/out/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test104/out/I.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test105/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test105/in/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test105/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test105/out/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test105/out/I.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test106/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test106/in/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test106/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test106/out/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test106/out/I.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test107/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test107/in/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test107/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test107/out/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test107/out/I.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractInterfaceTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-10T17:16:36Z"
"2007-07-09T11:20:00Z"
195,423
Bug 195423 [content assist] computes type hierarchy when filtering prefixes
null
resolved fixed
05d7a02
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodDeclarationCompletionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-10T14:04:22Z"
"2007-07-04T17:26:40Z"
190,987
Bug 190987 [build path] Project can add itself as class folder
null
verified fixed
c485aaf
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-10T11:59:51Z"
"2007-06-05T10:40:00Z"
195,808
Bug 195808 [projection] ProjectionViewer: Toggling between segmented and projection mode can fail
null
resolved fixed
f21bb55
["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
"2007-07-10T10:30:37Z"
"2007-07-09T11:20:00Z"
195,828
Bug 195828 [api] Promote private Constants for Introduce Parameter Object Refactoring to API
Some action constants are still at the wrong place, because of the API freeze.
resolved fixed
23f9550
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IntroduceParameterObjectAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IJavaEditorActionDefinitionIds.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/JdtActionConstants.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefactorActionGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T17:18:15Z"
"2007-07-09T14:06:40Z"
153,689
Bug 153689 [hashcode/equals] Generated hashCode() and equals() wizard should use {} on if statements
null
resolved fixed
cb20274
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateHashCodeEqualsTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T15:41:51Z"
"2006-08-13T06:20:00Z"
191,804
Bug 191804 [build path] Setting Compiler Compliance Level to 1.4 Problem with JDK 6
Build ID: M20070212-1330 Steps To Reproduce: 1. Install JDK 6 Update 2 2. Use it as default JRE (Preferences > Java > Installed JREs) 3a. Modify "Compiler Compliance Level" to JDK 1.4 (Preferences > Java > Compiler) 3b. (Optional) Set Project "Compiler Compliance Level" also to JDK 1.4 (just to make sure) 5. Use JDK 6 specific constructs like Arrays.copyOfRange 6. No errors will be generated by IDE even if you clean/rebuild project More information:
resolved fixed
4d5d5e6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T12:14:25Z"
"2007-06-09T06:20:00Z"
193,482
Bug 193482 [working sets] Working Set Assignments dialog does not use dialog font for checkbox
I20070615-1200 Working Set Assignments dialog does not use dialog font for checkbox "Show only Package Explorer working sets".
verified fixed
f2b85cf
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/ConfigureWorkingSetAssignementAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/SimpleWorkingSetSelectionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T10:47:51Z"
"2007-06-20T09:00:00Z"
176,293
Bug 176293 [hashcode/equals] Generate Equals/HashCode for a non-static inner class ignores outer class
Build ID: M20060921-0945 Steps To Reproduce: 1. Create an outer class and a (non-static) inner class 2. give the outer class a few fields and the inner class as well. 3. Create equals/hashCode for the outer class (optional, but does not help) 4. Create equals/hashCode for the inner class Actual result: equals/hashCode ignore that the outer class exists - neither the outer class's fields nor its equals() method is called. If the inner class does not have any fields on its own, creating equals/hashcode is impossible. Expected result: Either the fields of the outer class or the outer instance itself (or its equals method) is listed in the field selector dialog. Workaround: Refactor the inner class to toplevel first, then you can select the (now explicit) outer class field.
resolved fixed
f158c96
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateHashCodeEqualsTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T10:10:48Z"
"2007-03-03T19:26:40Z"
191,862
Bug 191862 [clean up] use modifier "final" where possible removes annotations
The "Use modifier 'final' where possible" removes all annotations in fields. To reproduce this bug, just create a simple class with some annotation in a field and do the clean up task. Example: public static class OutjectionTestClass { @SuppressWarnings("unused") @Out private int x = 5; private int w = 3; public int getW() { return w; } }
verified fixed
d332cde
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/ModifierRewrite.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/VariableDeclarationRewrite.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T09:51:18Z"
"2007-06-10T21:13:20Z"
70,410
Bug 70410 [spell checking] Hardcoded paths make copy of workspace unusable and eventually corrupt the original one
R3.0 I copied an existing workspace but had several problems due to hard coded paths in files. One of them was caused by the fact that user defined spell checking dictionary can only be stored as full local path instead of relative workspace location where applicable. The very bad thing about this is that it points into my original workspace and I then can get very strange behavior and even modify/corrupt the original workspace. I think it should be possible to copy an existing workspace and then use it without running into various problems.
resolved fixed
d235827
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-09T09:26:47Z"
"2004-07-20T10:40:00Z"
195,547
Bug 195547 [preferences] Code formatter preference page > Line Wrapping: 'Show invisible characters' removes wrap line
N20070705-0010 Code formatter preference page > Line Wrapping: Toggling 'Show invisible characters' removes the gray vertical line in the preview that shows where the formatter wraps.
resolved fixed
8fd5107
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-05T16:34:47Z"
"2007-07-05T15:40:00Z"
191,297
Bug 191297 [hashcode/equals] Incorrect generation of the equals method when it already exists and the class extends Object.
Build ID: M20070212-1330 Steps To Reproduce: 1. Create a class Foo with one attribute "int i;" 2. Implements the method equals like this : " public boolean equals(Object o) { return i == ((Foo)o).i; }" 3. Create a test class or a JUnit test to test the method equals. (i.e : "assert new Foo().equals(new Foo())"). 4. Run the test : the method equals return true. 5. Now use the function "Source > Generate hashCode() and equals()...". You'll get a warning because the method equals already exists. 6. Run the test : the method equals return false. More information: The bug is due to the call to super.equals(obj) : in the class Object the implementation of equals is : "return this == obj" which returns true only if we call the method equals with the same references. If there's no method equals in the class and then we use the function "Source > Generate hashCode() and equals()..." then it works because there is no call to super.equals(obj). Actually it is replaced with "if (obj == null)" .
verified fixed
e399d10
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-05T16:07:14Z"
"2007-06-06T17:13:20Z"
195,432
Bug 195432 [quick fix] Java access restriction quickfix should be taken over by PDE
3.3 final While tweaking some import/export in manifest I ended up with the following error "Access restriction: The type Picker is not accessible due to restriction on required project org.eclipse.equinox.prov.director". This is fine and I understand why, however the quick fix being proposed in this case is not acceptable since it propose to open the java build path property page to configure acccess rule. Why is it unacceptable? Because we go great length with bells and whistle and communication effort to tell people not to tweak their classpath manually and the first thing we tell them in the quick fix to do otherwise.... Instead I would have expected the quick fix to tell me to add the import that I was missing.
resolved fixed
862ae7c
["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
"2007-07-05T09:36:07Z"
"2007-07-04T17:26:40Z"
193,969
Bug 193969 [move static members] Uncompilable class after Moving Members
Build ID: M20070212-1330 Steps To Reproduce: 1. Open the project contained in the jar file. 2. Select I1 and I2 in class BugMoveMember via the PackageExplorer and refactor -> Move. Type "NewType" as destination. 3. Class NewType become un-compilable because of import problems and uncorred extends for inner interface I2. More information: The probleme is located in "isMovedMember(IBinding binding)" in class MoveStaticMemberAnalyzer. A possible solution is : protected boolean isMovedMember(IBinding binding) { if (binding == null) return false; for (IBinding element : fMembers) { // Bug if (binding.getKind() == IBinding.TYPE) { ITypeBinding tBinding = (ITypeBinding) binding; ITypeBinding raw = tBinding.getErasure(); if (raw.isEqualTo(element)) { return true; } } // if (Bindings.equals(element, binding)) return true; } return false; }
resolved fixed
e3c7b29
["org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test62/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test62/in/B.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test62/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test62/out/B.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/MoveMembersTests.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/Bindings.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-03T16:28:38Z"
"2007-06-22T13:46:40Z"
193,312
Bug 193312 [introduce parameter object] Scriptable refactoring not implemented
The current introduce parameter object does not create a valid script.
resolved fixed
b366583
["org.eclipse.jdt.core.manipulation/refactoring/org/eclipse/jdt/core/refactoring/IJavaRefactorings.java", "org.eclipse.jdt.core.manipulation/refactoring/org/eclipse/jdt/core/refactoring/descriptors/IntroduceParameterObjectDescriptor.java", "org.eclipse.jdt.core.manipulation/refactoring/org/eclipse/jdt/internal/core/refactoring/descriptors/JavaRefactoringDescriptorUtil.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterObjectTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringCoreMessages.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/IntroduceParameterObjectContribution.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-02T16:52:31Z"
"2007-06-19T13:33:20Z"
194,913
Bug 194913 [quick fix] Create field doesn't honor array
Using Eclipse Version: 3.3.0 Build id: I20070503-1400 If you have something like the following snippet in your editor, and run the "Create field 'foo'" quick fix, it should create an array field. public class Test { public void foo(int i) { foo[i] = "bar"; } } But instead, it creates the following: public class Test { private String foo; public void foo(int i) { foo[i] = "bar"; } }
resolved fixed
92f6e17
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-02T12:26:07Z"
"2007-06-29T12:26:40Z"
148,011
Bug 148011 [quick fix] 'create method': wrong result type on array indexing
In my code I reference method 'foo()' which does not already exist. So I open the quick assist context menu (CTRL+1) on that reference and choose the 'create method' entry. There is a use case when this action produces a method stub with a wrong result type: When the method reference is followed by an array indexing: void f() { int i = nonExistingMethodReturningIntegerArray()[0]; } Here the new method should return an int _array_, but using quick assist results in the following method stub (some additional code parts due to template customization): /** * TODO: Description * @return */ private int nonExistingMethodReturningIntegerArray() { // TODO: implementation throw new UnsupportedOperationException("not yet implemented"); } Of course, after this action, the method reference in the caller method 'f()' shows an error: "the type of the expression must be an array type but is resolved to int" Bye, Michael Schneider
resolved fixed
189aa0e
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedMethodsQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-07-02T12:20:19Z"
"2006-06-21T11:40:00Z"
194,643
Bug 194643 [change method signature] does not persist types with whitespaces correctly in Scriptable Refactoring
null
resolved fixed
615b357
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RefactoringTest.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/structure/ChangeSignatureRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-28T15:53:00Z"
"2007-06-27T16:00:00Z"
194,636
Bug 194636 [change method signature] does not create a valid refactoring script if a parameter is added
1. Run Change Method signature on junit.samples.money.MoneyBag.contains(Money) 2. Add a second parameter String with name test and default value "Hallo" 3. Create a Refactoring Script 4. Undo the refactoring 5. Apply the refactoring script Aplly will fail because the added parameter is persisted incorrectly: parameter2=" -1 String test false"
resolved fixed
cc2bff0
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-28T10:44:51Z"
"2007-06-27T16:00:00Z"
194,574
Bug 194574 [api][spell checking] Source viewer: Ignoring or adding word does not remove squiggles
3.3 RC4 Ignoring or adding word to dict does not remove squiggles if the source viewer is not inside a text editor.
resolved fixed
2093bfe
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssistContext.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/AddWordProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaSpellingProblem.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/WordIgnoreProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-27T09:34:11Z"
"2007-06-27T10:26:40Z"
193,798
Bug 193798 [hovering] " does not exist" when hovering over non-Javadoc'd method from fake CU
null
resolved fixed
51c2db6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavadocContentAccess.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-22T13:23:40Z"
"2007-06-21T18:20:00Z"
193,795
Bug 193795 [implementation] JavadocHover logs incomplete message
HEAD I just had a bunch of useless messages in my log: !ENTRY org.eclipse.jdt.core 4 969 2007-06-21 19:04:12.500 !MESSAGE does not exist Using a magic spell, I found that JavadocHover is the culprit. Please replace JavaPlugin.log(ex.getStatus()); with JavaPlugin.log(ex);
resolved fixed
a665aae
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-22T13:18:00Z"
"2007-06-21T18:20:00Z"
193,729
Bug 193729 [api] Need to disable source folder field in NewPackageCreationWizard through OpenNewPackageWizardAction.
This defect relates to 133719 to make a new requrest for OpenNewPackageWizardAction. The latest comment from Martin Aeschlimann: "We can also add API to OpenNewPackageWizardAction so it can be configured with a NewPackageWizardPage.(similar to the type actions, see for example OpenNewInterfaceWizardAction.setConfiguredWizardPage(NewInterfaceWizardPage). If that's what you want, please open a new bug." More information:
resolved fixed
1860b00
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewPackageCreationWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewPackageWizardAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-22T09:17:19Z"
"2007-06-21T15:33:20Z"
182,108
Bug 182108 [api] Add action constants for IDEActionFactory and ActionFactory IDs
We have added action constants for most ActionFactory IDs but not for all. We currently directly refer to ActionFactory and IDEActionFactory for those actions: ActionFactory.REFRESH IDEActionFactory.ADD_BOOKMARK IDEActionFactory.ADD_TASK
resolved fixed
097b381
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-21T12:44:19Z"
"2007-04-12T09:26:40Z"
190,700
Bug 190700 [convert local] NPE in PromoteTempToFieldRefactoring.checkTempTypeForLocalTypeUsage
java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:268) at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:909) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:944) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:919) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.checkInitialConditions(RefactoringWizardOpenOperation.java:166) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.access$0(RefactoringWizardOpenOperation.java:162) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:154) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:49) at org.eclipse.jdt.ui.actions.ConvertLocalToFieldAction.run(ConvertLocalToFieldAction.java:86) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:272) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3349) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2953) at org.eclipse.jdt.internal.ui.actions.QuickMenuAction.run(QuickMenuAction.java:75) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:821) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:879) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:568) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1100) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1494) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1556) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1551) at org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(Control.java:2090) at org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(Composite.java:580) at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:2071) at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:1925) at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3805) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2937) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.code.PromoteTempToFieldRefactoring.checkTempTypeForLocalTypeUsage(PromoteTempToFieldRefactoring.java:398) at org.eclipse.jdt.internal.corext.refactoring.code.PromoteTempToFieldRefactoring.checkInitialConditions(PromoteTempToFieldRefactoring.java:317) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:81) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) @@@@ This happens if the class has a compile error: import java.util.Date; class Test { void a() {} void a() { Date date = new Date(2006, 5, 3); } } Try to refactor "date" into a field.
verified fixed
244ce17
["org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/PromoteTempToField/canPromote/A_testDeclaringMethodBindingUnavailable01_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/PromoteTempToFieldTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-19T14:32:56Z"
"2007-06-03T19:46:40Z"
190,982
Bug 190982 [introduce parameter object] clean up refactoring activation code
I20070605-0010 The code in RefactoringExecutionStarter.startIntroduceParameterObject(IMethod, Shell) does too much work outside of the refactoring. We should move the initialization code from IntroduceParameterObjectRefactoring's constructor to checkInitialConditions(..) and just abort with fatal RefactoringStatus.
resolved fixed
dd08df7
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterObjectTests.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/structure/ChangeSignatureRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ParameterObjectFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-19T13:02:47Z"
"2007-06-05T07:53:20Z"
169,407
Bug 169407 [quick fix] reimplement serial version quick fix without launching new VM
null
resolved fixed
081b605
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SerialVersionQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java", "org.eclipse.jdt.ui/serial", "support/org/eclipse/jdt/internal/ui/text/correction/SerialVersionComputer.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionComputationHelper.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionDefaultProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashOperation.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionLaunchConfigurationDelegate.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-19T12:23:36Z"
"2007-01-03T10:26:40Z"
191,349
Bug 191349 [change method signature] error with nodeType=8;
Build ID: eclipse.buildId=I20070517-1700 Steps To Reproduce: While refactoring method signature (I changed type of the only parameter), I got the following error (in the beginning of pasted description there is my own code): java.lang.Exception: Cannot update found node: nodeType=8; { } [5685, 2825]: { int type; IASTAttributesNode attributesNode = null; ASTCommandLineNode lineNode = null; ASTTextNode textNode = null; int state = 3; ASTInlineFileNode inlineFileNode = new ASTInlineFileNode(); inlineFileNode.setParentComponent(((IASTNode)fComponentStack.peek()); try { IToken token = consume(IToken.tLBRACE); inlineFileNode.setOffset(token.getOffset()); while(state < 4) { if(state == 2) // For command line parameters don't break on ;, :, - ... occurrence token = LASymplified(1); else token = LA(1); type = token.getType(); if(state == 3) { state = 0; if(null != lineNode) inlineFileNode.addSubNode(lineNode); lineNode = new ASTCommandLineNode(); lineNode.setOffset(token.getOffset()); lineNode.setParent(inlineFileNode); // lineNode.setParentComponent((IASTComponentNode)(fNodeStack.peek())); } switch(type) { case IToken.tCOMMENT: IASTNode comment = comment(token); if(state == 0) { // Full line comment inlineFileNode.addSubNode(comment); } else { // Comment at the end of the line lineNode.addSubNode(comment); state = 3; } consume(); break; case IToken.tRBRACE: lineNode.addSubNode(newSimpleNode(token)); consume(); state = 4; break; case IToken.tEOL: consume(); state = 3; break; case IToken.tTEXT: case IToken.tFILE: // TODO: should be TEXT but not tFILE if((state < 2) && (LT(2) == IToken.tEQUAL_SIGN)) { lineNode.addEnvironmentSetting(envSetting(':')); // Inline file always on target state = 1; break; } state = 2; textNode = new ASTTextNode(); textNode.setOffset(token.getOffset()); textNode.setText(((ImagedToken)token).getCharImage()); lineNode.addSubNode(textNode); consume(); break; case IToken.tLBRACKET: if(0 == state) { attributesNode = attributes(); lineNode.setAttributes(attributesNode); state = 1; break; } default: case IToken.tERROR: ASTBadNode badNode = new ASTBadNode(); reportProblem("Line in inline file is invalid", SEVERITY_ERROR, token); // badNode.setParent((IASTNode)fNodeStack.peek()); int eol = skipToNewLine(); badNode.setOffsetAndLength(lineNode.getOffset(), eol - lineNode.getOffset() + 1); badNode.setText(fScanner.getData(badNode.getOffset(), badNode.getLength())); inlineFileNode.addSubNode(badNode); lineNode = null; state = 3; break; } } return inlineFileNode; } catch (EndOfFileException eof) { // TODO: add processing throw eof; } } at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring$NullOccurrenceUpdate.updateNode(ChangeSignatureRefactoring.java:2483) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring.createChangeManager(ChangeSignatureRefactoring.java:1310) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureRefactoring.checkFinalConditions(ChangeSignatureRefactoring.java:815) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:118) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) More information:
verified fixed
4a85392
["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAddSyntaxError01_Ref_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAddSyntaxError01_Ref_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAddSyntaxError01_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAddSyntaxError01_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/CompilationUnitRewrite.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-19T12:01:41Z"
"2007-06-06T20:00:00Z"
193,200
Bug 193200 [JUnit] JUnit tabs set mapped resource to null when project closed
The JUnit tabs set the mapped resource every time a configuration is selected in the launch dialog, which is fine except for the closed project filter. If the there exists a unit test mapped to a closed project and you turn the closed project filter off and then select the config, it will no longer be filtered. This is because a null resource mapping is passed through ClosedProjectFIlter. It seems that if the mapped resource is not available maybe the tabs should not remove it? Steps: 1. create a project with a unit test in it 2. run as the unit test from editor or package explorer, etc 3. close the project (config is filtered from everywhere) 4. open launch dialog and turn off the closed project filter 5. select the unit test for the closed project (removes mapping) 6. turn the closed project on. Expected: the config goes back to being filtered Happens: the config shows up everywhere again and throws errors when selected/used
resolved fixed
139ddc0
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitMigrationDelegate.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMigrationDelegate.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-19T08:53:33Z"
"2007-06-18T20:53:20Z"
191,222
Bug 191222 [api] breaking API change: public method removed on OrganizeImportsAction
3.3 RC3 breaking API change: public method removed on OrganizeImportsAction
verified fixed
48bf22f
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-06T16:48:51Z"
"2007-06-06T11:40:00Z"
190,639
Bug 190639 [preferences] Must not load preference pages code when initialize preferences
null
verified fixed
3d40ba8
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-05T07:53:05Z"
"2007-06-02T07:40:00Z"
189,628
Bug 189628 [introduce parameter object] NPE when introducing to overridden method if method from binary using command shortcut
1. Bind IPOR to CTRL-I 2. Invoke IPOR using CTRL-I on toString of: public class TestClass { { toString(); } } java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.structure.ParameterObjectFactory.<init>(ParameterObjectFactory.java:72) at org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectRefactoring.initializeFields(IntroduceParameterObjectRefactoring.java:351) at org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectRefactoring.<init>(IntroduceParameterObjectRefactoring.java:334) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startIntroduceParameterObject(RefactoringExecutionStarter.java:474) at org.eclipse.jdt.internal.ui.actions.IntroduceParameterObjectAction.run(IntroduceParameterObjectAction.java:142) at org.eclipse.jdt.internal.ui.actions.IntroduceParameterObjectAction.run(IntroduceParameterObjectAction.java:117)
verified fixed
df089fb
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-04T16:14:29Z"
"2007-05-29T09:13:20Z"
185,075
Bug 185075 [JUnit] leaking TestRoots with multiple running tests
20070205 - JUnit source - run 'AllTest' several times, repeat clicking 'rerun' button in the JUnit view With the profiler I found that the TestRoots are still in memory - all are still added as ElementChangedListener until the first modification happens - some are still available in the TestRunSession
verified fixed
5008381
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunListenerAdapter.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunListenerAdapter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-04T13:35:45Z"
"2007-05-02T10:00:00Z"
190,781
Bug 190781 Add new artwork
3.3 RC3 New artwork arrived. This should be added to 3.3.
verified fixed
b46d64d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPluginImages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-06-04T13:09:31Z"
"2007-06-04T12:26:40Z"
189,987
Bug 189987 [package explorer] Plug-in Dependencies in Package Explorer does not update
Reproduced on RC1 and I20070529-0010 The Plug-in Dependencies node which reflects the PDE classpath container in a plug-in project does not get updated when an Import-Package header is added/removed from a bundle. Steps to reproduce 1) Start an empty workspace 2) Create a plug-in project with all the defaults called test.exporter 3) Add the package test.exporter as an exported package 4) Create a plug-in project with all the defaults called test.importer 5) Add the following Import-Package header Import-Package: test.exporter 6) Notice that the Plug-in Dependencies do not change in Package Explorer 7) Open properties for the project and notice that the Java Build Path looks correct under Libraries->Plug-in Dependencies. The test.exporter project is listed there. You can also successfully reference the test.exporter.Activator class from the test.importer.Activator class in the test.importer bundle. It seems like the project classpath *is* getting updated correctly but is not accurately reflected in package explorer. Closing and reopening the project gets it back in sync.
verified fixed
519a3f9
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-31T14:27:15Z"
"2007-05-30T18:33:20Z"
189,314
Bug 189314 [rename] stacktrace following renaming of package name
Build ID: I20070517-1700 (I specified "core", as I am forced to specify one - but I don't really know which component is at fault!) Steps To Reproduce: 1.go to rename a package 2.click all the options 3.agree to evreything... I think I got a stacktrace at the time I did the refactoring. The stacktrace below is after I killed and restarted Eclipse. I had re-entered some Java code and went to run it. I put it as critical because currently I can not run that (but I CAN run other Java programs in Eclipse). (By the way do committers have to be female? If gender is not important to the role, you can use "they", "their", & "them" - which refer to one or more of any combination of genders.) More information: Problems occurred when invoking code from plug-in: "org.eclipse.core.commands". org.eclipse.core.runtime.AssertionFailedException: assertion failed: Validation returns a fatal error status. at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109) at org.eclipse.jdt.core.refactoring.descriptors.JavaRefactoringDescriptor.populateArgumentMap(JavaRefactoringDescriptor.java:357) at org.eclipse.jdt.core.refactoring.descriptors.RenameJavaElementDescriptor.populateArgumentMap(RenameJavaElementDescriptor.java:187) at org.eclipse.jdt.core.refactoring.descriptors.JavaRefactoringDescriptor.getArguments(JavaRefactoringDescriptor.java:348) at org.eclipse.jdt.core.refactoring.descriptors.JavaRefactoringContribution.retrieveArgumentMap(JavaRefactoringContribution.java:37) at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryManager.getArgumentMap(RefactoringHistoryManager.java:190) at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService$RefactoringDescriptorStack.checkDescriptor(RefactoringHistoryService.java:176) at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService$RefactoringDescriptorStack.push(RefactoringHistoryService.java:284) at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService$RefactoringDescriptorStack.access$0(RefactoringHistoryService.java:281) at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService$RefactoringOperationHistoryListener.historyNotification(RefactoringHistoryService.java:449) at org.eclipse.core.commands.operations.DefaultOperationHistory$2.run(DefaultOperationHistory.java:929) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.commands.operations.DefaultOperationHistory.notifyListeners(DefaultOperationHistory.java:918) at org.eclipse.core.commands.operations.DefaultOperationHistory.notifyDone(DefaultOperationHistory.java:992) at org.eclipse.core.commands.operations.DefaultOperationHistory.closeOperation(DefaultOperationHistory.java:1359) at org.eclipse.ltk.internal.core.refactoring.UndoManager2.changePerformed(UndoManager2.java:149) at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:258) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:299) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.access$1(UIPerformChangeOperation.java:1) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$1.run(UIPerformChangeOperation.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$2.run(UIPerformChangeOperation.java:84) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:326) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:310) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:553) at org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.performFinish(PreviewWizardPage.java:387) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:619) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:439) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:464) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:142) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:154) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:49) at org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.activate(UserInterfaceStarter.java:60) at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter.activate(RenameUserInterfaceStarter.java:31) at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java:158) at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java:115) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startRenameRefactoring(RefactoringExecutionStarter.java:427) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:194) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:106) at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:104) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:624) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:497) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436) at org.eclipse.equinox.launcher.Main.run(Main.java:1162) at org.eclipse.equinox.launcher.Main.main(Main.java:1137)
verified fixed
38d07a3
["org.eclipse.jdt.core.manipulation/refactoring/org/eclipse/jdt/core/refactoring/descriptors/RenameJavaElementDescriptor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-31T12:34:22Z"
"2007-05-27T12:46:40Z"
189,723
Bug 189723 [spell checking] "Ignore non-letters at word boundaries" appears not to work
If you open a plugin.xml with the text editor lots of properly spelled words are highlighted. For example "<extension>" is flagged as an error even though it's spelled correctly. Similarly for EMF generated code @generated and @model are flagged as an errors, and that appears to be purely because of the @ in front of the word. Isn't that option to ignore non-letters at word boundaries supposed to address these kinds of issues?
verified fixed
126b14f
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellReconcileDictionary.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-30T18:10:44Z"
"2007-05-29T17:33:20Z"
189,672
Bug 189672 [junit] JUnit container source attachment broken for 3.8.2
null
verified fixed
3fd0db8
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/BuildPathSupport.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/BuildPathSupport.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-30T14:20:27Z"
"2007-05-29T14:46:40Z"
189,666
Bug 189666 [extract superclass] NPE when extracting no method
null
verified fixed
0f5c20c
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-30T12:59:52Z"
"2007-05-29T14:46:40Z"
189,620
Bug 189620 [clean up] Bullet list on clean up wizard does not respect dialog font
null
verified fixed
275798d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-30T11:04:51Z"
"2007-05-29T09:13:20Z"
186,975
Bug 186975 [introduce parameter object] don't introduce varargs on reordering
20070515 as seen in test TestVarArgsReordered reordering foo(String[] a, int... is) automatically changes to foo(int[] is, String... a) I think this is too sophisticated as only the user can tell us if a var arg makes sense for 'a'
verified fixed
62b28e9
["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsReordered/out/TestVarArgsReordered.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ParameterObjectFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-25T14:32:36Z"
"2007-05-15T09:06:40Z"
188,910
Bug 188910 [clean up] Clean Up wizard needs too much space/is ugly
I20070524-0010 Very ugly dialog, needs polish. Idea is to - Move tab folder to a dialog - Show bullet list for selected custom clean ups
verified fixed
229d217
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpSaveParticipantConfigurationModifyDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-25T14:25:33Z"
"2007-05-24T12:33:20Z"
185,759
Bug 185759 [introduce parameter object] should test if class already exists
M7 - in the following example use 'Introduce Parameter Object' on 'add' - name the new class E - create it as inner class - the result doesn't compile as 'E' as the new class conflicts with the existing 'E' - The input dialog should make sure that no class exists at the destination with the same name package e; public class A { class E { } public int add(int x, int y) { return x + y; } }
verified fixed
3281ab3
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterObjectWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-25T10:56:06Z"
"2007-05-07T15:00:00Z"
189,083
Bug 189083 [render] colored labels shifted to the right and margin smaller between icon and text
null
verified fixed
f4b79f6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/OwnerDrawSupport.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-25T10:26:13Z"
"2007-05-25T08:00:00Z"
186,334
Bug 186334 [introduce parameter object] wrong names for constructor params
M7 - use introduce parameter object on the folloing method and change field names to 'fX', 'fY' and 'fZ' package p; public class A extends TestCase { private void foo(int x, int y, int z) { } } - the result not only used the field names for the fields, but also for the parameters. The parameters should be unchanged from the original parameters (or we offer to configure this) public class FooParameter { public int fX; public int fY; public int fZ; public FooParameter(int fX, int fY, int fZ) { this.fX = fX; this.fY = fY; this.fZ = fZ; } }
verified fixed
9b0f2ef
["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDelegateCreationCodeStyle/out/TestDelegateCreationCodeStyle.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testSimpleEnclosingCodeStyle/in/TestSimpleEnclosingCodeStyle.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testSimpleEnclosingCodeStyle/out/TestSimpleEnclosingCodeStyle.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterObjectTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ParameterObjectFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-25T08:48:45Z"
"2007-05-10T09:40:00Z"
185,748
Bug 185748 [introduce parameter object] all options in dialog should be persisted
HEAD All options in the Introduce Parameter Object dialog should be persisted when the dialog is closed and restored as defaults when the dialog is opened again. Destination, getters, and setters should be stored, and the delegate settings should be shared with Rename Method and Change Method Signature. See e.g. RenameInputWizardPage.dispose().
verified fixed
714e1e6
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterObjectWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-25T00:13:45Z"
"2007-05-07T12:13:20Z"
174,349
Bug 174349 [open type] Open Type dialog should support '<' and ' ' in combination with camel case
3.3 M5 Currently I can use '<' and ' ' to terminate the search string. This however does not work when entering camel case, e.g. 'DP<'
verified fixed
16a245c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredTypesSelectionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T23:56:33Z"
"2007-02-15T17:20:00Z"
188,485
Bug 188485 [package explorer] image leaked when opening toolbar menu in package explorer
Build: I20070522-0010 1) Open the drop-down menu in the package explorer's tool bar (the little triangle). 2) Hit Esc to close the menu. -> One image is leaked each time. This is the image for the "Window Working Set" item in the menu. The same leak occurs in the menu for the Projects/Packages/Types views in the Java Browsing perspective. While the leak occurs in the JDT UI class WorkingSetMenuContributionItem, I'm logging in platform UI because it looks like the image is correctly disposed in the contribution item's dispose method. Here is a sample stack trace from Sleak: java.lang.Error at java.lang.Throwable.<init>(Throwable.java:56) at org.eclipse.swt.graphics.Device.new_Object(Device.java:787) at org.eclipse.swt.graphics.Image.<init>(Image.java:491) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:289) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:205) at org.eclipse.jdt.internal.ui.workingsets.WorkingSetMenuContributionItem.fill(WorkingSetMenuContributionItem.java:69) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:665) at org.eclipse.ui.internal.ViewPane$PaneMenuManager.update(ViewPane.java:97) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:395) at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:390) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:416) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
verified fixed
37a1047
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/CommonLayoutActionGroup.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetFilterActionGroup.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetShowActionGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T15:58:16Z"
"2007-05-22T21:40:00Z"
184,502
Bug 184502 [Contributions] conflict reported for 2 different contexts
null
verified fixed
114906a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T15:49:19Z"
"2007-04-27T18:53:20Z"
188,915
Bug 188915 [spell checking] Java Editor barely usable with spell check on and no dictionary
null
verified fixed
9366899
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellCheckEngine.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T15:44:15Z"
"2007-05-24T15:20:00Z"
188,914
Bug 188914 [preferences][spell checking] spell checking default dictionary is set to none
Version: 3.3.0 Build id: I20070524-0010 J2RE 5.0 IBM J9 2.3 Windows XP x86-32 build j9vmwi3223-20070201 scenario: - open a brand new workspace - go to Preferences --> General --> Editors --> Text Editors --> Spelling - click the Restore Defaults button - note, dictionary is defaulted to "none" --> what spell checking should I do with no dictionary? --> Should'nt we disable spell checking when no dictionary set? --> should we remove this value from the combo?
verified fixed
a613633
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T15:29:00Z"
"2007-05-24T15:20:00Z"
188,087
Bug 188087 [introduce parameter object] NPE when introducing to overriden method if method from binary
I20070517-1700 Given: package test; import java.util.AbstractList; public class MyList extends AbstractList { public Object get(int index) { return null; } public int size() { return 0; } } 1. Select 'get' 2. Refactor>Introduce Parameter Object... 3. Say 'Yes' on the warning dialog Is: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.structure.ParameterObjectFactory.<init>(ParameterObjectFactory.java:69) at org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectRefactoring.initializeFields(IntroduceParameterObjectRefactoring.java:320) at org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectRefactoring.<init>(IntroduceParameterObjectRefactoring.java:297) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startIntroduceParameterObject(RefactoringExecutionStarter.java:484) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startIntroduceParameterObject(RefactoringExecutionStarter.java:469) at org.eclipse.jdt.internal.ui.actions.IntroduceParameterObjectAction.run(IntroduceParameterObjectAction.java:129) at org.eclipse.jdt.internal.ui.actions.IntroduceParameterObjectAction.run(IntroduceParameterObjectAction.java:120) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:272) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3673) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:497) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436) at org.eclipse.equinox.launcher.Main.run(Main.java:1162) at org.eclipse.equinox.launcher.Main.main(Main.java:1137)
verified fixed
c6262d4
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T14:20:59Z"
"2007-05-21T12:20:00Z"
185,745
Bug 185745 [introduce parameter object] introduces object to method which is not selected
I20070503-1400 Given: package test; public class E1 { public void foo(int x, int y) {} public static void main(String[] args) { new E1().foo(1, 2); } } 1. Select 'foo' in body of 'main' 2. Introduce Parameter Object... Is: A parameter object is introduced to 'main' Should: Introduce it to the selected method, like change method signature does
verified fixed
8efb172
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IntroduceParameterObjectAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T13:02:42Z"
"2007-05-07T12:13:20Z"
188,861
Bug 188861 [perfs] Performance tests with no results should be removed from test suites
null
verified fixed
a55b1df
["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DebuggingPerformanceTestSuite.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/JavaTypingInvocationCountTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/OpenJavaEditorInvocationCountTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/QuickDiffInvocationCountTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/ScrollAnnotatedJavaEditorInvocationCountTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/TextTypingInvocationCountTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T12:50:13Z"
"2007-05-24T09:46:40Z"
187,265
Bug 187265 [refactoring] strange OperationCancelledException in Introduce Indirection
null
verified fixed
396cef7
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java", "org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/PerformChangeOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T12:35:23Z"
"2007-05-16T15:40:00Z"
186,663
Bug 186663 [hashcode/equals] generate hashCode/equals thinks Enums have no hashCode/equals
Build ID: I20070323-1616 Steps To Reproduce: 1. Create an enum (I have them as inner classes which may be a pre-requisite for this bug to surface). Let's call it DbModel.Currency. 2. Create a class someplace else with just 1 field, 'currency', with as type: DbModel.Currency (statically imported). Let's call this class TestClass. 3. Generate hashCode + equals for TestClass (Source menu). Eclipse will complain that the field is 'dangerous' because the type DbModel.Currency does not have a hashCode or equals method. Which is silly, because enums always have hashCode/equals. You can in fact use == to compare them. More information: Aside from the faulty warning, the generated equals code is extremely ugly and needlessly inefficient. enums should be compared to with a straight ==, no null check neccessary. "Currency" had been imported using an import.static statement. Eclipse still reports the full type name (package.parentclass.innerEnumName) though.
verified fixed
c40f0d3
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T12:20:36Z"
"2007-05-12T00:33:20Z"
187,824
Bug 187824 [build path] NPE when restoring invalid project in workspace root
20070517-1700 - create project P in workspace - delete project p, but keep content - with an external editor, change .project of P to be invalid - create a new project, point to 'P' location Root exception: java.lang.NullPointerException at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCore.java:104) at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage.deleteProjectFile(JavaProjectWizardSecondPage.java:297) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage.updateProject(JavaProjectWizardSecondPage.java:202) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage$1$UpdateRunnable.run(JavaProjectWizardSecondPage.java:142) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:68) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
verified fixed
ae7b65b
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardSecondPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T11:10:28Z"
"2007-05-18T14:53:20Z"
188,466
Bug 188466 [render] image appears to need centering when custom draw is used
3.3RC1 On GTK when I turn on JDT's Show Colored Labels preference, the images in the Package Explorer view all shift up to the top of their tree cells. I assume this shift is a result of switching to use custom draw to draw the items once multi-coloured texts are needed. It looks like the images need to be drawn a few pixels down in order to be vertically centered in their cells. A screenshot of this will be attached next, and you'll notice that the image in the selected item touches the top of the selection bar but has a large gap below it. This does not happen on win32 because its item heights are tighter relative to its item's content.
verified fixed
8203374
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/OwnerDrawSupport.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T11:04:05Z"
"2007-05-22T21:40:00Z"
185,694
Bug 185694 [introduce parameter object] Introduce Parameter Object substitutes wrong class
3.3M7 I20070503-1400 public class A { public static void main(String[] args) { method(5, 6); } public static void method(int x, int y) { System.out.println(x + ", " + y); } } Extract a parameter object class Point in a separate CU on x any y and name it point. The result is: public class A { public static void main(String[] args) { method(new Point(5, 6)); } public static void method(java.awt.Point point) { System.out.println(point.x + ", " + point.y); } } The method call no longer matches the signature, which now references java.awt.Point.
verified fixed
8596703
["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDefaultPackagePoint/in/TestDefaultPackagePoint.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDefaultPackagePoint/out/TestDefaultPackagePoint.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDefaultPackagePointTopLevel/in/TestDefaultPackagePointTopLevel.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDefaultPackagePointTopLevel/out/ArrayList.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDefaultPackagePointTopLevel/out/TestDefaultPackagePointTopLevel.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testImportNameSimple/in/TestImportNameSimple.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testImportNameSimple/out/ArrayList.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testImportNameSimple/out/TestImportNameSimple.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterObjectTests.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/structure/ChangeSignatureRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IDefaultValueAdvisor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ParameterObjectFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-24T10:52:38Z"
"2007-05-06T16:46:40Z"
116,023
Bug 116023 [Patch] Create Patch ignores lines at end of file
Build id: I20051108-1011 Steps: 1. Create a java class in a cvs project. Leave a new line (CR) after the last "}" in the file. Create a patch for the file. 2. Remove the newline after the last "}" in the file. Create a patch again. -> Observe: Both(!) patches do not include the new line (CR) at the end of the file. Now, re-apply the patches. In both cases (obviously, since the patch files are identical), a new line (CR) is added after the last "}". I would expect newlines to be exactly the way they were when creating a patch and re-applying it. This is a problem when providing patches with new files for refactoring test cases, as the resulting files do not match anymore.
verified fixed
e30d4b0
["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractSupertype/testBug151683/out/Z.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-23T17:42:05Z"
"2005-11-11T14:40:00Z"
188,130
Bug 188130 BulletListBlock is not read only
I20070517-1700 1. Go to Java>Code Style>Clean Up preference page 2. Set caret into the bullet list 3. Start typing Is: You can edit it Should: Be read only
verified fixed
cadaacb
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/BulletListBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2007-05-23T15:49:18Z"
"2007-05-21T17:53:20Z"