id
int64
1
6.5k
bug_id
int64
2.03k
426k
summary
stringlengths
9
251
description
stringlengths
1
32.8k
report_time
stringlengths
19
19
report_timestamp
int64
1B
1.39B
status
stringclasses
6 values
commit
stringlengths
7
9
commit_timestamp
int64
1B
1.39B
files
stringlengths
25
32.8k
project_name
stringclasses
6 values
3,735
80,952
Bug 80952 NPE in ChangeParametersControl.installParameterTypeContentAssist
I20041214-0800 + ZRH plug-in export Steps: smoke test, extract method test (in AboutDialog.java) --- eclipse.buildId=I20041214-0800 java.version=1.5.0 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -clean -consolelog !ENTRY org.eclipse.ui 4 4 2004-12-14 17:45:48.102 !MESSAGE The command for the key you pressed failed The command for the key you pressed failed Reason: !ENTRY org.eclipse.ui 4 0 2004-12-14 17:45:48.103 !MESSAGE The command for the key you pressed failed !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.installParameterTypeContentAssist(ChangeParametersControl.java:668) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.addCellEditors(ChangeParametersControl.java:564) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.createParameterList(ChangeParametersControl.java:280) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.<init>(ChangeParametersControl.java:211) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.<init>(ChangeParametersControl.java:181) at org.eclipse.jdt.internal.ui.refactoring.code.ExtractMethodInputPage.createControl(ExtractMethodInputPage.java:164) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.createContents(RefactoringWizardDialog2.java:541) at org.eclipse.jface.window.Window.create(Window.java:375) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:983) at org.eclipse.jface.window.Window.open(Window.java:685) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.ui.actions.ExtractMethodAction.run(ExtractMethodAction.java:98) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:188) at org.eclipse.ui.internal.commands.Command.execute(Command.java:130) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:445) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:724) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:767) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:536) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:479) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1067) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:995) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1020) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1005) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1032) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:596) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1886) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:527) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1332) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3241) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:4633) at org.eclipse.swt.widgets.Display.eventProc(Display.java:907) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1095) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2395) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694)
2004-12-14 11:59:53
1,103,040,000
resolved fixed
6314b8e
1,103,050,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java
JDT
3,736
80,891
Bug 80891 Move Member Type fails with anonymous inner class
I have an abstract class (which I will attach) with a static member that is defined with an anonymous class of the same type as the enclosing class. Attempting to Refactor->Move Member Type to New File results in an error, null argument. Here is the relevant snippet. I'm trying to extract the class assigned to LastDay to a separate file. I have my cursor on the second instance of the word Relative DateRange on that line: public abstract class RelativeDateRange { public static final RelativeDateRange LastDay = new RelativeDateRange() // <- This is the inner class I want to extract to its own file. { public Date getStartTime() { Calendar cal = todayMidnight(); // back one day cal.add(Calendar.DAY_OF_YEAR, -1); return cal.getTime(); } public Date getEndTime() { Calendar cal = todayMidnight(); return cal.getTime(); } public String getValue() { return "LastDay"; } public String getLabelKey() { return "dateRange.lastDay"; } }; .... // snip } The trace from the log follows: Caused by: org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: null argument; at org.eclipse.jdt.internal.corext.Assert.isNotNull(Assert.java:105) at org.eclipse.jdt.internal.corext.Assert.isNotNull(Assert.java:83) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.findTypeDeclaration(MoveInnerToTopRefactoring.java:493) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.isInstanceFieldCreationMandatory(MoveInnerToTopRefactoring.java:431) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkInitialConditions(MoveInnerToTopRefactoring.java:250) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:82) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101) Root exception: org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: null argument; at org.eclipse.jdt.internal.corext.Assert.isNotNull(Assert.java:105) at org.eclipse.jdt.internal.corext.Assert.isNotNull(Assert.java:83) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.findTypeDeclaration(MoveInnerToTopRefactoring.java:493) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.isInstanceFieldCreationMandatory(MoveInnerToTopRefactoring.java:431) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkInitialConditions(MoveInnerToTopRefactoring.java:250) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:82) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
2004-12-13 19:06:47
1,102,980,000
resolved fixed
b44cd17
1,103,030,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
JDT
3,737
80,839
Bug 80839 [dom] Need API to control extended source range computation
I20041208 I have started to get rid of the OldASTrewrite however the old version gave me some control over the extended source range used when replacing/deleting nodes. Some refactorings (extract method, surround with try catch) are selection based and the refactoring should honor the selection. For example if a user selects a bunch of method calls with comments and calls extract method all the methods including the comments should be move to the new method even if the extended source range for the call doesn't contain the comments. To achieve this I porpose the following: - the ASTRewrite allows me to set an IExtendedSourceRangeComputer - if present the computation is forwared to this instance - if null is returned the standard extended source range is used.
2004-12-13 12:47:10
1,102,960,000
verified fixed
a813120
1,103,010,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ReplaceRewrite.java
JDT
3,738
79,752
Bug 79752 Need access to type binding of anonymous enumerations
enum XXX { A { void foo() {}}; } - currently there is now API to access the typ[e binding of the anonymous enum created by { void foo() {}} To make anonymous enums more consistent with AnonymousClassDeclaration the EnumConstantDeclaration should have a subnode AnonymousEnumDeclaration. The AnonymousEnumDeclaration would then resolve to a ITypeBinding. As with type declarations there should be an abstract class AbstractAnonymousTypeDeclaration which works as a super class for AnonymousEnumDeclaration and AnonymousTypeDeclaration.
2004-11-30 03:55:38
1,101,800,000
verified fixed
7e9df84
1,102,960,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/enums_in/A_test1150.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/enums_in/A_test1151.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/enums_in/A_test1152.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/enums_out/A_test1150.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/enums_out/A_test1151.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/enums_out/A_test1152.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/validSelection_out/A_test363.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java
JDT
3,739
79,690
Bug 79690 Find declaring node doesn't work for type variables
public class A_test1105 { public <E> void foo(E param) { /*[*/E local= param; foo(local);/*]*/ } } - calling CompllationUnit#findDeclaringNode with the type binding representing E doesn't return the node <E> (e.g. the one in the method declaration)
2004-11-29 13:21:41
1,101,750,000
verified fixed
d78349f
1,102,960,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java
JDT
3,740
77,849
Bug 77849 [1.5][wizard] Java project wizard does only create projects for 1.4
Currently, new java projects default to 1.4 compliance. In order to develop 1.5 projects, the JRE container has to be changed, and the compiler compliance as well, but at two different places in the project properties. The new project wizard already offers a page to choose the JRE container. The compiler compliance however has to be set manually in the project properties afterwards. For consistency, compiler compliance should be configurable in the wizard too, possibly with a warning when using incompatible configurations (like 1.4 compiler compliance and 1.5 JRE, but not vice-versa)
2004-11-04 11:24:12
1,099,590,000
resolved fixed
d5169b7
1,102,960,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ChangeComplianceDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizard.java
JDT
3,741
79,790
Bug 79790 [1.5][search] Need to distinguish between raw and restricted search in the case of instantiated types
I20041130 Code select now return a special IJavaElement when resolving code list List<String>. If we hand such an element over to the search engine we need means to distinguish between searches for List and searches for List<String>. One idea is to add additional flags to SearchPattern.
2004-11-30 12:09:49
1,101,830,000
verified fixed
30ecdfa
1,102,960,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/OpenEditorAtLineAction.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenameTypeTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallerMethodWrapper.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/SearchUtils.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameNonVirtualMethodProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/CreateCopyOfCompilationUnitChange.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceUtil.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchQuery.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java
JDT
3,742
80,784
Bug 80784 NPE in TestHierarchyTab.cacheItems [JUnit]
I20041208 + plug-in export java.lang.NullPointerException at org.eclipse.jdt.internal.junit.ui.TestHierarchyTab.cacheItems(TestHierarchyTab.java:296) at org.eclipse.jdt.internal.junit.ui.TestHierarchyTab.endTest(TestHierarchyTab.java:287) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$6.run(TestRunnerViewPart.java:974) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:150) at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer.java:36) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.team.internal.ccvs.ui.subscriber.WorkspaceSynchronizeParticipant$WorkspaceChangeSetCapability.createChangeSet(WorkspaceSynchronizeParticipant.java:135) at org.eclipse.team.internal.ui.synchronize.actions.ChangeSetActionGroup.createChangeSet(ChangeSetActionGroup.java:424) at org.eclipse.team.internal.ui.synchronize.actions.ChangeSetActionGroup.access$0(ChangeSetActionGroup.java:423) at org.eclipse.team.internal.ui.synchronize.actions.ChangeSetActionGroup$2.run(ChangeSetActionGroup.java:82) at org.eclipse.team.internal.ui.synchronize.actions.ChangeSetActionGroup$5.run(ChangeSetActionGroup.java:408) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:141) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:279) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:263) at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:840) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:874) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:850) at org.eclipse.team.internal.ui.actions.ProgressDialogRunnableContext$1.run(ProgressDialogRunnableContext.java:107) at org.eclipse.team.internal.ui.actions.ProgressDialogRunnableContext.run(ProgressDialogRunnableContext.java:98) at org.eclipse.team.ui.TeamOperation.run(TeamOperation.java:159) at org.eclipse.team.ui.synchronize.SynchronizeModelAction.run(SynchronizeModelAction.java:96) at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:167) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:814) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1549) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:281) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:684) at org.eclipse.core.launcher.Main.main(Main.java:668)
2004-12-12 18:11:02
1,102,890,000
resolved fixed
cf31e67
1,102,940,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestHierarchyTab.java
JDT
3,743
80,037
Bug 80037 remove references to EnumConstandDeclaration#bodyDeclaraions
null
2004-12-02 11:59:59
1,102,010,000
resolved fixed
f21f43d
1,102,930,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java
JDT
3,744
77,649
Bug 77649 'Refactor -> Undo' enabled after consecutive change
I200411022000 Having: package test2; public class A { public C c= new C(); public void foo() { } } package test2; public class B { public void bar() { new A().foo(); } } package test2; public class C { } and: - open all 3 CUs - move A#foo() to C - remove 'a' from 'new A().c.foo(a);' in B - save B - Refactor -> Undo -> lost parenthesis in B because undo did no longer match
2004-11-03 10:33:35
1,099,500,000
resolved fixed
2a8f1e6
1,102,920,000
org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/IUndoManager.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/PerformChangeOperation.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/UndoManager.java
JDT
3,745
79,278
Bug 79278 Selfencapsulate Field does not support annotations [refactoring]
I20041117: Create annotation: public @interface Annotation { int property; } Invoke sef refactoring on "property" -> property is private (illegal modifier in annotations) and accessor is static and has method body. Apart from generating an accessor, sef is not of much value for annotations, so we might disable it.
2004-11-23 09:16:22
1,101,220,000
resolved fixed
5bdbcd5
1,102,900,000
org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/invalid/TestAnnotation.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SefTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelfEncapsulateFieldAction.java
JDT
3,746
78,880
Bug 78880 [refactoring] self encapsulate field: exception on name 'fPackage'
3.0 i have a field called fPackage (prefixes set to 'f') i wanted to encapsulate it. i accepted the default getter setter names, set 'refs in same class - use field direct references' and i got: (seems like the name has something to do with it.) java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:284) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run (RefactoringWizardDialog2.java:282) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.createChange (RefactoringWizard.java:565) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSuccessorPage (RefactoringWizard.java:408) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.computeSuccessorPage (UserInputWizardPage.java:74) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.getNextPage (UserInputWizardPage.java:114) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.previewPressed (RefactoringWizardDialog2.java:429) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.access$3 (RefactoringWizardDialog2.java:427) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2 $1.widgetSelected(RefactoringWizardDialog2.java:563) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run (RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run (RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate (RefactoringStarter.java:40) at org.eclipse.jdt.ui.actions.SelfEncapsulateFieldAction.run (SelfEncapsulateFieldAction.java:159) at org.eclipse.jdt.ui.actions.SelfEncapsulateFieldAction.run (SelfEncapsulateFieldAction.java:142) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:212) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) Caused by: java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:185) at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:1204) at org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring .createSetterMethod(SelfEncapsulateFieldRefactoring.java:496) at org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring .addGetterSetterChanges(SelfEncapsulateFieldRefactoring.java:455) at org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring .checkFinalConditions(SelfEncapsulateFieldRefactoring.java:335) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run (CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run (CreateChangeOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run (WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:101) Root exception: java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:185) at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:1204) at org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring .createSetterMethod(SelfEncapsulateFieldRefactoring.java:496) at org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring .addGetterSetterChanges(SelfEncapsulateFieldRefactoring.java:455) at org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring .checkFinalConditions(SelfEncapsulateFieldRefactoring.java:335) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run (CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run (CreateChangeOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run (WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:101) ---------------------------------------------- eclipse.buildId=I200406251208 java.version=1.4.1_02 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
2004-11-17 14:54:07
1,100,720,000
resolved fixed
003512a
1,102,890,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
JDT
3,747
80,774
Bug 80774 NPE in Quick Fix
I20041208 + latest plug-in export java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getFullyCoveredNodes(AdvancedQuickAssistProcessor.java:735) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getAssists(AdvancedQuickAssistProcessor.java:79) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectAssists(JavaCorrectionProcessor.java:260) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.processAnnotations(JavaCorrectionProcessor.java:210) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.computeCompletionProposals(JavaCorrectionProcessor.java:177) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:250) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeFilteredProposals(CompletionProposalPopup.java:915) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$25(CompletionProposalPopup.java:877) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$8.run(CompletionProposalPopup.java:852) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1549) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:281) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:684) at org.eclipse.core.launcher.Main.main(Main.java:668)
2004-12-12 09:54:10
1,102,860,000
resolved fixed
b2707e2
1,102,890,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
JDT
3,748
77,586
Bug 77586 Build Path inclusion filters: filter language must be explained
null
2004-11-03 06:02:12
1,099,480,000
resolved fixed
9981408
1,102,890,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/TypeRestrictionDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/TypeRestrictionEntryDialog.java
JDT
3,749
68,582
Bug 68582 mass organize import modifies read only files
1. Create a scratch project 2. create 2 files A.java and B.java 3. put unused import in both files. 4. Open file A for editing. 5. make file A read-only 6. open file B for editing. 7. Perform organize imports on the whole project 8. Observe file A is marked as dirty and if you try and save it there is a complaint.
2004-06-25 06:00:21
1,088,160,000
resolved fixed
73570cd
1,102,880,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java
JDT
3,750
66,946
Bug 66946 JavaDoc wizard forgets about options on 3rd page [javadoc]
3.0RC2 The options: - JRE 1.4 source compat. - Save the settings... (the checkbox) - Open generated index file in browser are not remembered in (or reloaded from?) the javadoc.xml when rerunning the wizard.
2004-06-14 10:24:33
1,087,220,000
resolved fixed
9eb47d8
1,102,880,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizard.java
JDT
3,751
66,394
Bug 66394 missing parenthesis in method call [quick fix]
3.0rc1 int f(){ return foo; } private int foo() { return 0; } the reference to foo is no good. there are parantheses missing. amongst the many quick fixes offered, this obvious one is missing.
2004-06-09 15:38:08
1,086,810,000
resolved fixed
a326d45
1,102,880,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
JDT
3,752
66,354
Bug 66354 [quick fix] incorrect placement of new temp decl [quick fix]
3.0rc1 void foo(Object x) { if (x != null) foo= x.toString(); } select foo, choose 'create local variable foo' you get: void foo(Object x) { if (x != null)String foo = x.toString(); } which is somewhat suboptimal :)
2004-06-09 13:21:25
1,086,800,000
resolved fixed
40e025a
1,102,860,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
JDT
3,753
80,715
Bug 80715 ITypeBinding#isAssignmentCompatible(..) doesn't work across binding resolvers
I200412081200 We tried to replace our TypeRules#canAssign(..) method by ITypeBinding#isAssignmentCompatible(..). This resulted in many test failures in UseSupertypeWherePossibleTests and ExtractInterfaceTests. The reason is that isAssignmentCompatible(..) doesn't work corrctly with bindings that are isEqualTo(..), but not identical. E.g. in UseSupertypeWherePossibleTests.testNew7(), we call isAssignmentCompatible with two type bindings for the same type p.B (isEqualTo == true, but not identical) and get false as result. We reverted TypeRules to our old implementation in HEAD.
2004-12-10 13:28:38
1,102,700,000
resolved wontfix
8e81af5
1,102,700,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TypeRules.java
JDT
3,754
77,615
Bug 77615 Move member to new file ignores reference to type parameter [refactoring] [move]
M3 test candidate public class A<T> { static class Inner<X> extends ArrayList<T> { public void foo() { X x= null; } } } - move inner to new file Observe: no error although type parameter T isn't visible in new file.
2004-11-03 09:10:44
1,099,490,000
resolved fixed
9a468a1
1,102,700,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
JDT
3,755
74,627
Bug 74627 [typing] Importing Type leaves linked editing mode
3.1 M2: - use for-loop over collection template to enter linked editing mode - step to "type" - type Set - use quick fix to import java.util.Set Observe: linked edit mode is exited
2004-09-22 13:39:27
1,095,870,000
resolved fixed
77fd1a4
1,102,610,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java
JDT
3,756
77,964
Bug 77964 Compiler settings defaults not compatible with our 'default'
20041105 When starting a fresh workbench, open the compiler preference page. The compliance settings (compliance, classfile comp. source comp, enum and assert) are all initialized with the default provided by JDT core. Unfortunatly the 'default' check box is not checked as the last enum is set to warning. Can you set 'enum' to ignore as default?
2004-11-05 11:40:56
1,099,670,000
resolved fixed
e8cfbd9
1,102,600,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
JDT
3,757
80,573
Bug 80573 Prepare project specific preference options
I200412081200 From Martin's e-mail: I deprecated some methods that access options that will soon be offered per project as well: CodeFormatterUtil.getTabWidth() -> CodeFormatterUtil.getTabWidth(IJavaProject) CodeFormatterUtil.createIndentString(int) -> CodeFormatterUtil.createIndentString(int, IJavaProject) JavaPreferencesSettings.getCodeGenerationSettings() -> JavaPreferencesSettings.getCodeGenerationSettings(IJavaProject) JavaPreferencesSettings.getImportNumberThreshold(IPreferenceStore) -> JavaPreferencesSettings.getImportNumberThreshold(IJavaProject) JavaPreferencesSettings.getImportOrderPreference(IPreferenceStore) -> JavaPreferencesSettings.getImportOrderPreference(IJavaProject) Also make sure to not directly access to the following preference constants: PreferenceConstants.CODEGEN_* PreferenceConstants.ORGIMPORTS_* PreferenceConstants.FORMATTER_COMMENT_* -> Use PreferenceConstants.getPreference(String key, IJavaProject project) to get a JDT.UI preference value using the given project scope DefaultCodeFormatterConstants.* -> Use javaProject.getOption(key, true) to get a preference value using the given scope I fixed most of the references. What is still open: Refactoring:, fix the accesses to the deprecated methods listed above Java Editor, IndentAction, JavaAutoIndentStrategy, ...: Check all accesses to DefaultCodeFormatterConstants, e.g. FORMATTER_TAB_SIZE, FORMATTER_TAB_CHAR to see if the OverlayPreferenceStore is used
2004-12-09 03:53:53
1,102,580,000
resolved fixed
9d9b52d
1,102,590,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IndentAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSourceViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
JDT
3,758
80,455
Bug 80455 [5.0] ITypeBinding.canAssign not aware of type boxing
20041208 With the latest changes for type boxing (in N20041207) our tests for the assign compatibility fail: boolean b= true; Object o; o= b; // valid code, no compiler error but typeBindingOfB.isAssignCompatible(typeBindingOfO) is false
2004-12-08 06:27:25
1,102,510,000
verified fixed
0db53df
1,102,510,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TypeRulesTest.java
JDT
3,759
80,393
Bug 80393 NPE in AllTypesCache.getTypes()
reported by Christof Marti: running performance tests on 3.0 resulted in the following NPE. It seems that AllTypesCache.getAllTypes can return null and that AllTypesCache.getTypes() doesn't check for this. java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.AllTypesCache.getTypes(AllTypesCache.java:246) at org.eclipse.jdt.text.tests.performance.EditorTestHelper.joinBackgroundActivities(EditorTestHelper.java: 243) at org.eclipse.jdt.text.tests.performance.PerformanceTestSetup.setUp(PerformanceTestSetup.java:76) at junit.extensions.TestSetup$1.protect(TestSetup.java:18) at junit.extensions.TestSetup.run(TestSetup.java:23) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestDecorator.run(TestDecorator.java:28) at org.eclipse.jdt.text.tests.performance.CloseWorkbenchDecorator.run(CloseWorkbenchDecorator.java: 31) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:320) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:196) at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:188) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:131) at org.eclipse.test.UITestApplication.run(UITestApplication.java:58) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
2004-12-07 12:56:36
1,102,440,000
resolved fixed
6514fd5
1,102,500,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java
JDT
3,760
80,349
Bug 80349 Extract Local Variable refactoring does not remember final state [refactoring]
I always use final for variables, which are not modified after initialization. When I use Extract Local Variable, I always need to toggle the switch, Eclipse just forgets my previous toggling.
2004-12-07 04:55:17
1,102,410,000
resolved fixed
c762167
1,102,430,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractTempWizard.java
JDT
3,761
78,053
Bug 78053 Package Explorer shouldn't fetch any children on startup. [package explorer]
We have a custom classpath container that reads a properties file in a workspace project. A typical workspace has around 50 projects in it. When Eclipse is started it takes a long time to come up with such a workspace on a ClearCase dynamic view. It is slightly better with snapshot views. During debugging/tracing I noticed that initializing the classpath containers in all projects takes an significant amount of time and that this operation is performed in the main thread which prevents the workbench window from coming up. Thread [main] (Suspended) RequiredCartridgeClassPathContainer(CartridgeClassPathContainer).getClasspathEntries() line: 121 ClasspathEntry.validateClasspathEntry(IJavaProject,IClasspathEntry, boolean, boolean) line: 1022 JavaProject.getResolvedClasspath(IClasspathEntry[], IPath, boolean, boolean, Map) line: 1861 DeltaProcessingState$ProjectUpdateInfo.updateProjectReferencesIfNecessary() line: 98 DeltaProcessingState.performClasspathResourceChange(JavaProject, IClasspathEntry[], IClasspathEntry[], IClasspathEntry[], boolean) line: 223 SetClasspathOperation.updateProjectReferencesIfNecessary() line: 771 SetClasspathOperation.executeOperation() line: 246 SetClasspathOperation(JavaModelOperation).run(IProgressMonitor) line: 700 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1673 SetClasspathOperation(JavaModelOperation).runOperation(IProgressMonitor) line: 744 JavaProject.setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor, boolean, IClasspathEntry[], boolean, boolean) line: 2658 JavaCore$3.run(IProgressMonitor) line: 3433 BatchOperation.executeOperation() line: 34 BatchOperation(JavaModelOperation).run(IProgressMonitor) line: 700 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1673 JavaCore.run(IWorkspaceRunnable, ISchedulingRule, IProgressMonitor) line: 3246 JavaCore.setClasspathContainer(IPath, IJavaProject[], IClasspathContainer[], IProgressMonitor) line: 3416 BeehiveClassPathInitializer.initialize(IPath, IJavaProject) line: 57 JavaModelManager.initializeContainer(IJavaProject, IPath) line: 1261 JavaModelManager.initializeAllContainers(IJavaProject, IPath) line: 1226 JavaModelManager.getClasspathContainer(IPath, IJavaProject) line: 833 JavaCore.getClasspathContainer(IPath, IJavaProject) line: 1184 JavaProject.getResolvedClasspath(IClasspathEntry[], IPath, boolean, boolean, Map) line: 1889 JavaProject.getResolvedClasspath(boolean, boolean, boolean) line: 1799 PackageFragmentRoot.isOnClasspath() line: 805 PackageFragmentRoot.exists() line: 356 PackageFragmentProvider.getChildren(Object) line: 75 PackageExplorerContentProvider.getChildren(Object) line: 127 PackageExplorerPart$PackageExplorerProblemTreeViewer.isExpandable(Object ) line: 260 PackageExplorerPart$PackageExplorerProblemTreeViewer(AbstractTreeViewer) .updatePlus(Item, Object) line: 1587 PackageExplorerPart$PackageExplorerProblemTreeViewer(AbstractTreeViewer) .createTreeItem(Widget, Object, int) line: 382 AbstractTreeViewer$1.run() line: 361 BusyIndicator.showWhile(Display, Runnable) line: 69 PackageExplorerPart$PackageExplorerProblemTreeViewer(AbstractTreeViewer) .createChildren(Widget) line: 342 AbstractTreeViewer$5.run() line: 787 PackageExplorerPart$PackageExplorerProblemTreeViewer(StructuredViewer).p reservingSelection(Runnable) line: 862 PackageExplorerPart$PackageExplorerProblemTreeViewer(AbstractTreeViewer) .inputChanged(Object, Object) line: 777 PackageExplorerPart$PackageExplorerProblemTreeViewer(ContentViewer).setI nput(Object) line: 238 PackageExplorerPart$PackageExplorerProblemTreeViewer(StructuredViewer).s etInput(Object) line: 1059 PackageExplorerPart.createPartControl(Composite) line: 475 PartPane$2.run() line: 137 InternalPlatform.run(ISafeRunnable) line: 616 Platform.run(ISafeRunnable) line: 747 ViewPane(PartPane).createChildControl() line: 133 ViewPane.createChildControl() line: 135 ViewFactory$1.run() line: 351 InternalPlatform.run(ISafeRunnable) line: 616 Platform.run(ISafeRunnable) line: 747 ViewFactory.busyRestoreView(IViewReference) line: 273 ViewFactory$2.run() line: 530 BusyIndicator.showWhile(Display, Runnable) line: 69 ViewFactory.restoreView(IViewReference) line: 528 ViewFactory$ViewReference.getPart(boolean) line: 102 WorkbenchPage$1.propertyChange(PropertyChangeEvent) line: 132 ViewPane(LayoutPart).setVisible(boolean) line: 268 ViewPane(PartPane).setVisible(boolean) line: 317 ViewPane.setVisible(boolean) line: 568 PresentablePart.setVisible(boolean) line: 122 DefaultViewPresentation(DefaultPartPresentation).selectPart(IPresentable Part) line: 1116 ViewStack(PartStack).refreshPresentationSelection() line: 946 ViewStack(PartStack).createControl(Composite, StackPresentation) line: 467 ViewStack(PartStack).createControl(Composite) line: 367 ViewSashContainer(PartSashContainer).createControl(Composite) line: 432 PerspectiveHelper.activate(Composite) line: 155 Perspective.onActivate() line: 732 WorkbenchPage.onActivate() line: 2063 WorkbenchWindow$4.run() line: 1858 BusyIndicator.showWhile(Display, Runnable) line: 69 WorkbenchWindow.setActivePage(IWorkbenchPage) line: 1845 WorkbenchWindow.restoreState(IMemento, IPerspectiveDescriptor) line: 1409 Workbench.restoreState(IMemento) line: 1224 Workbench.access$10(Workbench, IMemento) line: 1185 Workbench$13.run() line: 1096 InternalPlatform.run(ISafeRunnable) line: 616 Platform.run(ISafeRunnable) line: 747 Workbench.restoreState() line: 1029 WorkbenchConfigurer.restoreState() line: 167 IDEWorkbenchAdvisor(WorkbenchAdvisor).openWindows() line: 652 Workbench.init(Display) line: 819 Workbench.runUI() line: 1325 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 254 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 141 IDEApplication.run(Object) line: 96 PlatformActivator$1.run(Object) line: 335 EclipseStarter.run(Object) line: 273 EclipseStarter.run(String[], Runnable) line: 129 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 Main.basicRun(String[]) line: 185 Main.run(String[]) line: 704 Main.main(String[]) line: 688
2004-11-08 05:20:05
1,099,910,000
verified fixed
40d89ad
1,102,350,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JDT
3,762
79,905
Bug 79905 Move inner to top failed for enums
public class A { enum E { } } - try moving E to top java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(Unknown Source) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Unknown Source) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(Unknown Source) at org.eclipse.ui.internal.progress.ProgressManager$3.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(Unknown Source) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(Unknown Source) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.checkInitialConditions(Unknown Source) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.access$0(Unknown Source) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(Unknown Source) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(Unknown Source) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.startRefactoring(Unknown Source) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.run(Unknown Source) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(Unknown Source) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Unknown Source) at org.eclipse.jface.action.Action.runWithEvent(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jdt.internal.ui.actions.QuickMenuAction.run(Unknown Source) at org.eclipse.jface.action.Action.runWithEvent(Unknown Source) at org.eclipse.ui.commands.ActionHandler.execute(Unknown Source) at org.eclipse.ui.internal.commands.Command.execute(Unknown Source) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(Unknown Source) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Unknown Source) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(Unknown Source) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(Unknown Source) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(Unknown Source) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.filterEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Control.traverse(Unknown Source) at org.eclipse.swt.widgets.Control.translateMnemonic(Unknown Source) at org.eclipse.swt.widgets.Composite.translateMnemonic(Unknown Source) at org.eclipse.swt.widgets.Control.translateMnemonic(Unknown Source) at org.eclipse.swt.widgets.Display.translateMnemonic(Unknown Source) at org.eclipse.swt.widgets.Display.filterMessage(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source) at org.eclipse.ui.internal.Workbench.runUI(Unknown Source) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:684) at org.eclipse.core.launcher.Main.main(Main.java:668) Caused by: org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: null argument; at org.eclipse.jdt.internal.corext.Assert.isNotNull(Unknown Source) at org.eclipse.jdt.internal.corext.Assert.isNotNull(Unknown Source) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.findTypeDeclaration(Unknown Source) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.isInstanceFieldCreationMandatory(Unknown Source) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkInitialConditions(Unknown Source) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(Unknown Source) at org.eclipse.core.internal.resources.Workspace.run(Unknown Source) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source) Root exception: org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: null argument; at org.eclipse.jdt.internal.corext.Assert.isNotNull(Unknown Source) at org.eclipse.jdt.internal.corext.Assert.isNotNull(Unknown Source) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.findTypeDeclaration(Unknown Source) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.isInstanceFieldCreationMandatory(Unknown Source) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkInitialConditions(Unknown Source) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(Unknown Source) at org.eclipse.core.internal.resources.Workspace.run(Unknown Source) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
2004-12-01 13:20:18
1,101,930,000
resolved fixed
6cdb86d
1,102,350,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
JDT
3,763
80,251
Bug 80251 AssertionFailedException while creating RefactoringStatusEntry
I200412011139 with ZRH plugin-export from 20041203_0932 I tried to 'Move Member Type to New File'. There was a potential match on the type to be moved to a new file in another CU from another package. After using Organize Import in that CU, such that the type reference resolved, the problem was gone. Reproducible with the following two CUs from different packages by invoking 'Move Member Type To New File' on B: package test; public class A { public static class B { } } package test2; public class C { public void foo() { B b= null; } } java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:303) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.ja va:624) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java :621) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1919 ) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.createChange(Refacto ringWizard.java:565) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSucc essorPage(RefactoringWizard.java:410) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.getStartingPage(Refa ctoringWizard.java:391) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.crea teContents(RefactoringWizardDialog2.java:523) at org.eclipse.jface.window.Window.create(Window.java:375) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:983) at org.eclipse.jface.window.Window.open(Window.java:685) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(R efactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(Ref actoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.ac tivate(RefactoringStarter.java:40) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.startRefactoring( ConvertNestedToTopAction.java:210) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.run(ConvertNested ToTopAction.java:166) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(Select ionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispa tchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContri butionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionC ontributionItem.java:419) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:814) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.jdt.internal.ui.actions.QuickMenuAction.run(QuickMenuActi on.java:77) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:188) at org.eclipse.ui.internal.commands.Command.execute(Command.java:130) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(Workben chKeyboard.java:445) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboar d.java:724) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(Workbe nchKeyboard.java:767) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindi ngs(WorkbenchKeyboard.java:536) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyb oard.java:479) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(Workbenc hKeyboard.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:752) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:813) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:838) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:823) at org.eclipse.swt.widgets.Control.traverse(Control.java:2734) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2575) at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:78 6) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2593) at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:3223) at org.eclipse.swt.widgets.Display.filterMessage(Display.java:766) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2444) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1579) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1550) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav a:282) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:10 2) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct ivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694) Caused by: org.eclipse.ltk.internal.core.refactoring.AssertionFailedException: a ssertion failed: at org.eclipse.ltk.internal.core.refactoring.Assert.isTrue(Assert.java:1 02) at org.eclipse.ltk.internal.core.refactoring.Assert.isTrue(Assert.java:8 9) at org.eclipse.ltk.core.refactoring.RefactoringStatusEntry.<init>(Refact oringStatusEntry.java:108) at org.eclipse.ltk.core.refactoring.RefactoringStatusEntry.<init>(Refact oringStatusEntry.java:93) at org.eclipse.ltk.core.refactoring.RefactoringStatus.addEntry(Refactori ngStatus.java:533) at org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine2$ RefactoringSearchCollector.acceptSearchMatch(RefactoringSearchEngine2.java:93) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.report(Mat chLocator.java:1319) at org.eclipse.jdt.internal.core.search.matching.TypeReferenceLocator.ma tchReportReference(TypeReferenceLocator.java:232) at org.eclipse.jdt.internal.core.search.matching.OrLocator.matchReportRe ference(OrLocator.java:195) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatc hing(MatchLocator.java:1588) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatc hing(MatchLocator.java:1797) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatc hing(MatchLocator.java:1655) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.process(Ma tchLocator.java:1253) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc hes(MatchLocator.java:830) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc hes(MatchLocator.java:869) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc hes(MatchLocator.java:971) at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.locateMatc hes(JavaSearchParticipant.java:94) at org.eclipse.jdt.internal.core.search.SearchBasicEngine.findMatches(Se archBasicEngine.java:196) at org.eclipse.jdt.internal.core.search.SearchBasicEngine.search(SearchB asicEngine.java:382) at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:512 ) at org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine2. searchPattern(RefactoringSearchEngine2.java:311) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopR efactoring.createTypeReferencesMapping(MoveInnerToTopRefactoring.java:671) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopR efactoring.createChangeManager(MoveInnerToTopRefactoring.java:347) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopR efactoring.checkFinalConditions(MoveInnerToTopRefactoring.java:276) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckCo nditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChan geOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1676 ) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run( WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal Context.java:105) Root exception: org.eclipse.ltk.internal.core.refactoring.AssertionFailedException: assertion fa iled: at org.eclipse.ltk.internal.core.refactoring.Assert.isTrue(Assert.java:1 02) at org.eclipse.ltk.internal.core.refactoring.Assert.isTrue(Assert.java:8 9) at org.eclipse.ltk.core.refactoring.RefactoringStatusEntry.<init>(Refact oringStatusEntry.java:108) at org.eclipse.ltk.core.refactoring.RefactoringStatusEntry.<init>(Refact oringStatusEntry.java:93) at org.eclipse.ltk.core.refactoring.RefactoringStatus.addEntry(Refactori ngStatus.java:533) at org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine2$ RefactoringSearchCollector.acceptSearchMatch(RefactoringSearchEngine2.java:93) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.report(Mat chLocator.java:1319) at org.eclipse.jdt.internal.core.search.matching.TypeReferenceLocator.ma tchReportReference(TypeReferenceLocator.java:232) at org.eclipse.jdt.internal.core.search.matching.OrLocator.matchReportRe ference(OrLocator.java:195) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatc hing(MatchLocator.java:1588) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatc hing(MatchLocator.java:1797) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatc hing(MatchLocator.java:1655) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.process(Ma tchLocator.java:1253) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc hes(MatchLocator.java:830) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc hes(MatchLocator.java:869) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc hes(MatchLocator.java:971) at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.locateMatc hes(JavaSearchParticipant.java:94) at org.eclipse.jdt.internal.core.search.SearchBasicEngine.findMatches(Se archBasicEngine.java:196) at org.eclipse.jdt.internal.core.search.SearchBasicEngine.search(SearchB asicEngine.java:382) at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:512 ) at org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine2. searchPattern(RefactoringSearchEngine2.java:311) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopR efactoring.createTypeReferencesMapping(MoveInnerToTopRefactoring.java:671) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopR efactoring.createChangeManager(MoveInnerToTopRefactoring.java:347) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopR efactoring.checkFinalConditions(MoveInnerToTopRefactoring.java:276) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckCo nditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChan geOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1676 ) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run( WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal Context.java:105)
2004-12-06 05:55:28
1,102,330,000
resolved fixed
eaf2d65
1,102,350,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java
JDT
3,764
79,809
Bug 79809 [1.5][dom][javadoc] Need better support for type parameter Javadoc tags
20041130 To document a type parameter, the normal @param tag is used, but with angle brackets. /** * @param <X> */ <X> void foo() { } The AST currently just returns a TagElement with a sigle children Name 'X' and is currently not distinguishable from a normal parameter. Either text elements '<' and '>' are inserted or we use a SimpleType node instead of the SimpleName. The first suggestion would make the accessing of tag names more complicated. The drawback of the second suggestion is that it does not include the source ranges for the open and closing angle brackets, but users can use the scanner as soon as they see the SimpleType instead of the SimpleName. The deluxe solution would be a new node type that includes the bracket and has a simple name.
2004-11-30 14:29:13
1,101,840,000
verified fixed
9cca44b
1,102,350,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/JavadocQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java
JDT
3,765
56,909
Bug 56909 [implementation] Method EditorUtitliy.revealInEditor checks for JavaEditor
In my plugin I have a MultiPageEditor that embeds a Java Editor on one of its pages. When a navigation to a Java method within the scope of my MPE is triggered the editor is correctly opened and switched to the source page, but no navigation to the method is triggered. Instead the cursor is positioned in the first row of the source code. This is due to the instanceOf check in the method EditorUtility.revealInEditor (IEditorPart part, IJavaElement element). It should be replaced by a check for the IGotoMarker interface. That would enable Java source navigation to quite a bunch of editors that have no chance to implement JavaEditor themselfes.
2004-03-31 10:03:06
1,080,750,000
resolved fixed
fe8af7c
1,102,340,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java
JDT
3,766
79,277
Bug 79277 Extract local variable does not handle nested types [refactoring]
200411170800: Steps to reproduce: - Create assignment "Modifier.ModifierKeyword keyword= Modifier.ModifierKeyword.PUBLIC_KEYWORD" - Select rhs expression ->Resulting type is unqualified by enclosing instance
2004-11-23 09:11:49
1,101,220,000
resolved fixed
bea3767
1,102,340,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
JDT
3,767
79,279
Bug 79279 Extract Interface should be disabled on annotations [refactoring]
Title says it all...
2004-11-23 09:19:23
1,101,220,000
resolved fixed
7efb468
1,102,330,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceRefactoring.java
JDT
3,768
77,596
Bug 77596 Refactor: moving a method with vararg parameter changes to a string array parameter
Example: public void bar(String... string) { } Moving this method into another class changes the vararg parameter into a string[]: public void bar(String[] string) { }
2004-11-03 07:23:27
1,099,480,000
resolved fixed
1d05c8a
1,102,330,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
JDT
3,769
77,056
Bug 77056 [1.5] Parameterized collection field creation fails. [quick fix]
null
2004-10-26 16:36:31
1,098,820,000
resolved fixed
48a59e5
1,102,280,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.java
JDT
3,770
79,989
Bug 79989 Should show members of annotation types as public
I20041201 With the following annotation type: public @interface X { int foo(); int bar(); } the members foo() and bar() don't appear public, wherease with the following interface: public interface I { int foo(); int bar(); } the methods foo() and bar() appear public. JavaElementImageProvider#getMethodImageDescriptor(...) checks if the type is an interface. It should also check if the type is an annotation type.
2004-12-02 06:37:29
1,101,990,000
resolved fixed
2f6243f
1,102,090,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/JavaTypeCompletionProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MembersOrderPreferencePage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyLabelProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
JDT
3,771
79,806
Bug 79806 "Create field" QuickFix in Enum constructor throws "Node does not have this property"
I20041130-0800: "Create field" QuickFix in Enum constructor throws "Node does not have this property". package p; enum A { ONE(1); public A(int num) { fNum= num; // Ctrl+1 here } } Error Nov 30, 2004 20:07:01.837 Node does not have this property java.lang.RuntimeException: Node does not have this property at org.eclipse.jdt.core.dom.ASTNode.internalGetChildListProperty(ASTNode.java:1667) at org.eclipse.jdt.core.dom.EnumDeclaration.internalGetChildListProperty(EnumDeclaration.java:204) at org.eclipse.jdt.core.dom.ASTNode.getStructuralProperty(ASTNode.java:1514) at org.eclipse.jdt.internal.ui.text.correction.NewVariableCompletionProposal.doAddField(NewVariableCompletionProposal.java:320) at org.eclipse.jdt.internal.ui.text.correction.NewVariableCompletionProposal.getRewrite(NewVariableCompletionProposal.java:65) at org.eclipse.jdt.internal.ui.text.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:61) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.initializeTextChange(CUCorrectionProposal.java:135) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:181) at org.eclipse.jface.text.contentassist.AdditionalInfoController.computeInformation(AdditionalInfoController.java:221) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:761) at org.eclipse.jface.text.AbstractInformationControlManager.showInformation(AbstractInformationControlManager.java:751) at org.eclipse.jface.text.contentassist.AdditionalInfoController$1.run(AdditionalInfoController.java:173) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1579) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1550) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:282) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694)
2004-11-30 14:11:28
1,101,840,000
resolved fixed
83d50dc
1,101,910,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnimplementedMethodsCompletionProposal.java
JDT
3,772
79,793
Bug 79793 Deadlock in JavaWorkingSetUpdater
null
2004-11-30 12:22:45
1,101,840,000
verified fixed
75e9244
1,101,890,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetUpdater.java
JDT
3,773
79,784
Bug 79784 [preferences] syntax coloring preference page does not reflect configured settings
I20041130-0800-gtk - open the java syntax coloring preference page - note that the real settings are not reflected, neither on the preview nor in the Java editor.
2004-11-30 11:07:19
1,101,830,000
resolved fixed
8410830
1,101,830,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorColoringConfigurationBlock.java
JDT
3,774
79,087
Bug 79087 CME on startup in JavaWorkingSetUpdater.elementChanged()
I200411170800 with ZRH plugin export 20041119_1119 Found the following exception after startup. Show -> Working Sets is enabled in the Package Explorer but I do not remember having opened the Package Explorer before the exception occured. Two editors were opened from the previous sesssion. Error 2004-11-19 17:43:35.407 Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime". java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448) at java.util.AbstractList$Itr.next(AbstractList.java:419) at org.eclipse.jdt.internal.ui.workingsets.JavaWorkingSetUpdater.elementChanged(JavaWorkingSetUpdater.java:117) at org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1426) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1421) at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:1269) at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1248) at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1791) at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:414) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:188) at org.eclipse.core.internal.resources.SavedState.processResourceChangeEvents(SavedState.java:75) at org.eclipse.jdt.core.JavaCore$7.run(JavaCore.java:4115) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1676) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1696) at org.eclipse.jdt.core.JavaCore$6.run(JavaCore.java:4107) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
2004-11-19 12:00:14
1,100,880,000
resolved fixed
f6f9217
1,101,810,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetUpdater.java
JDT
3,775
79,253
Bug 79253 extract generics interface 3.1M3
tried to refactor by extracting interface, and failed to produce correct interface. class was like: "public class GenericOutput<K extends Serializable, V extends Serializable> { " and when i extracted interface, i got: "public class GenericOutput<K extends Serializable, V extends Serializable> implements MyGenericOutput {" ... should have been: "public class GenericOutput<K extends Serializable, V extends Serializable> implements MyGenericOutput<K extends Serializable, V extends Serializable> {" thus, generic interface methods in MyGenericOutput immediately threw compiler errors (generics were stripped out, leaving types like 'K', 'V') thanks! 3.1M3 seems better than 3.1M2... keep up the good work!
2004-11-22 22:57:25
1,101,180,000
resolved fixed
b0dae5e
1,101,750,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceRefactoring.java
JDT
3,776
20,544
Bug 20544 [typing] Auto-indent doesn't work for simple IF statements
if (value == null)<<ENTER_KEY>> should cause the indent level to increase. then I could type: if (value == null) return;
2002-06-18 12:02:08
1,024,420,000
resolved fixed
f41ef87
1,101,740,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaHeuristicScannerTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
JDT
3,777
78,387
Bug 78387 [search] Missing API to specify scope in search engine
Currently, there is no way to pass a search scope to the following methods in SearchEngine: - searchDeclarationsOfAccessedFields - searchDeclarationsOfReferencedTypes - searchDeclarationsOfSentMessages In order to handle visibility issues during refactoring, we must search for all referenced members, but are not interested in occurrences in system libraries. We must be able to either provide an include mask or the search scope itself.
2004-11-11 09:40:17
1,100,180,000
resolved wontfix
023f4f7
1,101,730,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java
JDT
3,778
79,411
Bug 79411 M3: move instance method fails with particular for loop
null
2004-11-24 12:03:32
1,101,320,000
resolved fixed
1904829
1,101,730,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
JDT
3,779
79,584
Bug 79584 [5.0] JavaModel: Method parameter type is not marked as type variable
20041126 - Create the folloing code in a selfhosting workspace and open it in the editor - set a break point in JavaElementLabels.getMethodLabel where the parameter types are printed (change the method name to force a refresh) - The signature of the type parameter is 'QT;' which marks the type as an unresolved type. Should it be a type variable 'TT;'? public interface Test<T> { void foo(T t); }
2004-11-26 13:18:37
1,101,490,000
resolved wontfix
ea18895
1,101,660,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java
JDT
3,780
79,516
Bug 79516 InlineMethodTests#testUseInLocalClass(): source does not compile with 1.5
InlineMethodTests#testUseInLocalClass() uses .../import_in/Provider.java, which does not compile with 1.5 due to this declaration: public void useInLocalClass() { class Local extends File implements Comparable { public Local(String s) { super(s); } public void foo(Map map) { } public int compareTo(Object o) { return 0; } } } Class 'File' already implements 'Comparable<File>', which leads to an error when 'Comparable' is also declared as superinterface. I disabled the test in the migration to running tests with 1.5 level. Dirk, please decide whether you want to adapt the test, and/or leave the original version in an 1.3/1.4 project.
2004-11-25 14:18:41
1,101,410,000
resolved fixed
aa727eb
1,101,410,000
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java
JDT
3,781
79,415
Bug 79415 Failing testcase RefactoringScannerTests#testQualifier
null
2004-11-24 12:31:29
1,101,320,000
resolved fixed
47ff0c9
1,101,380,000
org.eclipse.jdt.ui.tests.refactoring/resources/RefactoringScanner/C.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RefactoringScannerTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/infra/TextRangeUtil.java
JDT
3,782
79,321
Bug 79321 Compiler preference page: disabling default compliance settings should leave 'disallow' combos disabled
I200411230838 and before: - Preferences > Java > Compiler: set compiler compliance level to 5.0 and check 'Use default compliance settings'. - Uncheck it again => the two 'Disallow identifiers...' combos become enabled - they should stay disabled with setting 'Error'. - Set source compatibility to 1.4 and back to 5.0 => 'Disallow ...' are OK now.
2004-11-23 13:00:18
1,101,230,000
resolved fixed
3268ff1
1,101,290,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
JDT
3,783
39,896
Bug 39896 pull up method error when superclass already contains method called by pulled method [refactoring]
I am working out mechanics for a refactoring to the Factory Method for my book on Refactoring to Patterns. I ran into a bug while doing this. I want to pull up a method in a subclass to a superclass. The subclass method needs acess to a field and makes calls to two methods in the subclass. I pull up the field - no problem. I then need abstract versions of the 2 called methods to be pulled up to the superclass. I have to do that manually and I do. Now I should be all set to pull up the original subclass method, since the superclass has everything it needs to be a home to the subclass method. When I try to do this, Eclipse warns me that the pulled method doesn't have acess to one of the methods it needs to call. Yet that method already exists as an abstract method in the superclass. The refactoring tool lets me procees, despite the warnings and everything works fine. The bug is that I got warnings. There should be no warnings as I'm doing something harmless and correct. I can send a code example if it helps.
2003-07-10 16:43:50
1,057,870,000
resolved fixed
42d1f679
1,101,230,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyRefactoring.java
JDT
3,784
79,236
Bug 79236 Move Member Type to New File: Wizard should come up with OK enabled
I200411170800 I have a nonstatic inner class which calls an instance method of the enclosing top-level class. 'Refactor > Move Member Type to New File' presents a wizard which asks for an enclosing instance field name. The name is prefilled. The OK button is disabled, although user input is complete. Workaround: change and then revert the proposed name.
2004-11-22 15:23:11
1,101,150,000
resolved fixed
048bdfc
1,101,220,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInnerToTopWizard.java
JDT
3,785
79,166
Bug 79166 Pasting multiple fields inserts in wrong order
jdt.ui from HEAD, likely caused by conversion of PasteAction to new ast rewrite: public class X { int a= 1, b= a; int e= 1; int f= 2; } class Y { int y= 17; } - select fields a and b in the outline - copy - select y in the outline - paste => order of inserted fields is wrong (a should be first) => same problem when copy-pasting e and f onto y.
2004-11-22 05:12:09
1,101,120,000
resolved fixed
b3c3577
1,101,220,000
org.eclipse.jdt.ui.tests.refactoring/resources/Paste/testPastingTypedResources3/out/A.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
JDT
3,786
78,618
Bug 78618 JUnit 'Failures' list has items with wrong label
200411111200 The JUnit 'Failures' list has items with a wrong label. I'll attach a screenshot.
2004-11-15 10:08:15
1,100,530,000
verified fixed
a0911b1
1,101,220,000
org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java
JDT
3,787
77,621
Bug 77621 Mark implement occurrences sometimes not working
20041103 - Open 'java.awt.ProgressBar' - Select super class 'Canvas' - highlighted is 'paint' Shouldn't 'setBounds' also be highlighted? It is inherited and part of by Canvas. (Defined in Component)
2004-11-03 09:24:09
1,099,490,000
resolved fixed
d6bd5f3
1,101,140,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ImplementOccurrencesFinder.java
JDT
3,788
78,051
Bug 78051 [nls tooling] Properties Editor has no 'Show-In'
20041108 It would be nice if the Properties Editor also would offer a 'Show-In' (Package Explorer and Navigator)
2004-11-08 04:48:01
1,099,910,000
resolved fixed
9235eea
1,101,140,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditor.java
JDT
3,789
79,130
Bug 79130 SerialID Tests commented out after N20041120
null
2004-11-20 11:14:05
1,100,970,000
resolved fixed
0e82098
1,100,970,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/QuickFixTest.java
JDT
3,790
77,950
Bug 77950 Move Instance Method: should adapt Javadocs [refactoring] [move method]
I200411042000 References in Javadocs should be updated when a method is moved. Given: package p; class C { public void caller() { method(new Other()); } /** * Doku * @see #caller() */ public void method(Other arg) { arg.toString(); } } class Other { } - Move method(..) to parameter arg => The MethodRef #caller() must be qualified by C or p.C - From original code, move method(..) to parameter arg, creating a delegate => The MethodRef #caller() in the new method's Javadoc must be qualified by C or p.C. Should also think about whether the javadoc should really be duplicated.
2004-11-05 09:59:54
1,099,670,000
resolved fixed
eb00416
1,100,860,000
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test0/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test0/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test0/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test1/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test1/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test1/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test10/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test10/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test10/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test11/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test11/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test11/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test12/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test12/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test12/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test13/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test13/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test13/out/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test14/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test14/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test14/out/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test15/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test15/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test16/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test16/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test17/in/Shape.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test17/out/Rectangle.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test17/out/Shape.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test18/in/Shape.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test18/out/Rectangle.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test18/out/Shape.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test19/in/Shape.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test19/out/Rectangle.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test19/out/Shape.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test2/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test2/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test2/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test20/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test20/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test20/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test21/out/Second.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test22/out/Second.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test23/out/Second.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test24/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test25/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test27/in/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test27/in/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test27/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test27/out/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test27/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test27/out/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test28/in/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test28/in/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test28/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test28/out/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test28/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test28/out/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test29/in/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test29/in/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test29/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test29/out/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test29/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test29/out/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test3/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test4/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test5/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test6/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test7/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test8/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test8/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test8/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test9/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/cannotMove/testFail13/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/cannotMove/testFail13/in/B.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodRefactoring.java
JDT
3,791
70,891
Bug 70891 [1.5][javadoc] Compiler should accept new 1.5 syntax for @param
null
2004-07-27 07:22:19
1,090,930,000
verified fixed
63fe097
1,100,800,000
org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAll59_out.java
JDT
3,792
78,901
Bug 78901 Restore defaults does not work on Java > Compiler preference page [preferences] [compiler]
I200411170800. I want to go back to default compiler settings, but the "Restore Defaults" button doesn't appear to do anything.
2004-11-17 18:00:55
1,100,730,000
resolved fixed
7c4af9c
1,100,800,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskPreferencePage.java
JDT
3,793
77,622
Bug 77622 Invalid problem report when renaming statically imported field [refactoring] [rename]
I200411022000 Using the following 2 CUs: package test; import static test1.B.PI; public class A { public void foo() { double pi= PI; } } package test1; public class B { public static final double PI= Math.PI; } when renaming the field PI (from decl. and ref.) 2 problems in the refactored source are reported in the dialog before the refactoring is applied. The resulting source does not have these problems.
2004-11-03 09:24:52
1,099,490,000
resolved fixed
98c7c94
1,100,800,000
org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/in/C.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testEnumConst/out/C.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/in/C.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameNonPrivateField/testStaticImport/out/C.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenameNonPrivateFieldTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java
JDT
3,794
78,867
Bug 78867 Using new registry API
Following some rework of the registry, please apply this patch to make use of the new method called getNamespace() on IConfigurationElement. This patch will convert most occurrences of: configurationElement.getDeclaringExtension().getNamespace() into configurationElement.getNamespace()
2004-11-17 13:54:28
1,100,720,000
resolved fixed
7f92b97
1,100,790,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/CoreUtility.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/OpenTypeWizardAction.java
JDT
3,795
78,821
Bug 78821 'Add generated serial version ID' shows "error" message
I200411111200 Edit JRE settings and set 'Default VM Arguments' to "-showversion". Activate an 'Add generated serial version ID' quick fix. => An error dialow appears, saying: "The following problem occurred: " + <output_of_-showversion> Maybe the vm should be started without default vm args.
2004-11-17 04:51:50
1,100,690,000
resolved fixed
d1d816b
1,100,780,000
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/SerialVersionLaunchConfigurationDelegate.java
JDT
3,796
78,159
Bug 78159 JUnit view tab should be in italics while tests are running [JUnit]
3.1M3 While JUnit tests are running, JUnit views should look busy and properly have their tab be rendered in italics.
2004-11-09 07:43:09
1,100,000,000
resolved fixed
a613809
1,100,720,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
JDT
3,797
77,440
Bug 77440 Import not removed when moving static member [refactoring][move]
I200410260800 package p1; import p2.B; public class A { int field= B.VALUE; } --------------------------------------------------- package p2; public class B { public static final int VALUE= 10; } --------------------------------------------------- package p3; public class C { } Move B#Value to p3.C. Observe that the import p2.B in A isn't removed.
2004-11-01 19:14:08
1,099,350,000
resolved fixed
48a96bd
1,100,700,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MovedMemberAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ReferenceAnalyzer.java
JDT
3,798
78,450
Bug 78450 [Performance] PasteAction is making selection slow
The method PasteAction.canOperateOn is invoked on every selection change. This is not required and is extremely slow on many platforms. The PasteAction is checking that there is something on the clipboard that can be pasted on every single selection change event. This is an expensive operation and is entirely unneccessary. The check should be done when the user invokes Ctrl+V or when the user opens the context menu. In addition to being slow, it is not correct. Another application could change the contents of the clipboard invalidating the check performed on selection change. I am not quite sure why the selection has anything to do with pasting other than the fact that on paste, the selection will be replaced. At one time when there was a Paste toolitem in the toolbar, back then it was neccessary to poll the clipboard to toggle the enabling of the toolitem but I do not understand why that was tied to selection. I can change the contents of the clipboard to not contain any valid data using another application and the Paste menu item is still enabled in the context menu of the java editor.
2004-11-11 17:37:02
1,100,210,000
resolved fixed
31af371
1,100,690,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
JDT
3,799
78,733
Bug 78733 ITypeHierarchyViewPart.setInputElement() does not select methods
If you pass an IMethod to the ITypeHierarchyViewPart.setInputElement (IJavaElement element) it does not select the method like the normal "F4" in the Java Editor does. My use case is as follows: Properties p = new Properties(); p.getProperty("foo"); Where Properties is java.util.Properties and you try to "F4" (an action implemented using ITypeHierarchyViewPart) the getProperty method. I'm using Eclipse 3.0.
2004-11-16 10:13:03
1,100,620,000
resolved fixed
c4e8ef1
1,100,680,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyTransferDropAdapter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java
JDT
3,800
78,491
Bug 78491 JUnit tries to execute abstract classes [JUnit]
Starting with 3.1M3 the JUnit component suddenlty tries to execute tests from abstract classes: class abstract AbstractTestCase extends TestCase { public void testDefaultTestHere() {} } class ComponentWithDefaultTest extends AbsractTestCase { public void testComponentSpecificBehaviour() {} } In former releases only the fixtures of ComponentWithDefaultTest were executed, 3.1M3 tries now to instantiate AbstractTestCase and fails obviously.
2004-11-12 05:44:08
1,100,260,000
resolved fixed
978c0d0
1,100,680,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java
JDT
3,801
78,168
Bug 78168 Cannot get preferences when running 'headless' (i.e. through Ant)
I'm a member of the Rational Studio Architect team and have been tasked with ensuring that our transformations can be run through Ant in headless mode. I'm having a problem with our "Uml to Java" transform because it wants to use the code 'templates' defined in the JDT's prefstore when performing its code generation (reasonable, IMO). It does this by trying to use the JDT's 'CodeGeneration' class. However, the jdt.ui plugin (the owner of CodeGeneration class) fails to load. The reason is that the JavaWorkBenchAdapter creates a new instance of the JavaElementImageProvider which has initializer code that does a 'getWorkbench.getSharedImages()' which, through AbstractUIPlugin, calls 'PlatformUI.getWorkbench()' which, in turn, throws an 'IllegalStateException'...we're boned. <soapbox on> BTW, a quick hack shows that out of ALL of eclipse only 4 plugins fail to load in a headless environment: org.eclipse.cdt.debug.ui org.eclipse.cdt.ui org.eclipse.jdt.ui org.eclipse.team.cvs.ui For performance reasons(since plugins load during class instantiations) I'd expect that we'd want the Plugin initialization to be as lightweight as possible. Perhaps changing to a philosophy where ALL plugins (including UI) should at least LOAD headless would not only solve this issue but increase performance as well. Note that in this case we certainly don't need 'shared images' so this initialization is wasted on us. Certainly if we load a UI plugin headless and then attempt to do GUI stuff (i.e. displaying a dialog...) then we shoot ourselves in the foot (at least...;-) and pay the price. <soapbox off>
2004-11-09 10:43:19
1,100,010,000
verified fixed
eb0ba4c
1,100,630,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementAdapterFactory.java
JDT
3,802
78,756
Bug 78756 Properties file editor fails to save plugin.properties
I200411160944 Properties file editor fails to save plugin.properties
2004-11-16 12:51:25
1,100,630,000
resolved fixed
750f2ee
1,100,630,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileDocumentProvider.java
JDT
3,803
78,688
Bug 78688 [1.5] [Generics] Erroneous quick fix results generated for this code. [quick fix]
I had this code which needs fixing where marked. % cat Test.java import java.util.LinkedHashMap; public class Test<K, V> { public void check() { final LinkedHashMap<K, V> data = new LinkedHashMap<K, V>(); final Integer x = data.entrySet(); // this line needs fixing. } } <<<< So I did Ctrl-1 to get the quickfix and selected "Change type of 'x' to 'Set<Map.Entry<K,V>>'" - this gives a drop down of choices .. Set<Map.Entry<K,V>> Collection<Map.Entry<K,V>> Iterable<Map.Entry<K,V>> So I choose Iterable<Map.Entry<K,V>> but notice the code is inserted incorrectly -- I get final Iterable<Entry<K,V x = data.entrySet(); // this line needs fixing. ^^^^^ missing terminating >>
2004-11-15 22:05:09
1,100,570,000
resolved fixed
4ee00c0
1,100,600,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java
JDT
3,804
78,317
Bug 78317 Compare plug-in gets loaded by LocalHistoryActionGroup
null
2004-11-10 13:11:37
1,100,110,000
resolved fixed
46839d2
1,100,600,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistory.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistoryImpl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareWithEditionAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareWithEditionActionImpl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryActionImpl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionActionImpl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithPreviousEditionAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaTextBufferNode.java
JDT
3,805
77,599
Bug 77599 [5.0] Structure comparing of enums does not work
I200411022000 1. Create enum (either as separete file or inside a class): public enum E { A, B, C, D, F, Incomplete } 2. Delete B and save 3. compare ==> no structural difference gets reported
2004-11-03 07:30:24
1,099,490,000
resolved fixed
e142a23
1,100,530,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
JDT
3,806
78,533
Bug 78533 problem with "organize imports" and generic bounds [code manipulation]
In Eclipse 3.1M3, "organize imports" removes imports used only as generic bounds. //example: import java.util.Collection; public interface ErrorDemo { public <T extends Collection> void method(); }
2004-11-12 12:46:05
1,100,280,000
resolved fixed
ea7f844
1,100,530,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java
JDT
3,807
78,496
Bug 78496 ASTFlattener does not serialize EnumConstantDeclarations [code manipulation]
In the class org.eclipse.jdt.internal.corext.dom.ASTFlattener, the code in the method "public boolean visit(EnumDeclaration node)" seems to expect EnumConstantDeclarations, in the "bodyDeclarations" list, but enumeration constants are stored in "enumConstants" list. NaiveASTFlattener works OK, though.
2004-11-12 08:30:03
1,100,270,000
verified fixed
5cdcc39
1,100,520,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
JDT
3,808
78,233
Bug 78233 [search] Cancelling "Open Type" search prevents future searching
Build 20041109 Linux-GTK What I did: 1. Started checking out org.eclipse.jface plugin from CVS. 2. When the checkout completed (but before the build finished), click the Open Type button. 3. A "Searching" progress bar appeared and started cranking away. 4. I got impatient and clicked Cancel. 5. Afterwards, every time I clicked Open Type, the "Searching" dialog appeared and just sat there at 100% progress, doing nothing. Restarting the workbench was the only way I managed to get Open Type working again. I found the following stack dump in the console: org.eclipse.core.runtime.OperationCanceledException at java.lang.Throwable.<init>(Throwable.java) at org.eclipse.core.runtime.OperationCanceledException.<init>(OperationC anceledException. java:22) at org.eclipse.jdt.internal.core.search.matching.InternalSearchPattern.f indIndexMatches(InternalSearchPattern.java) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexM atches(MatchLocator. java) at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternS earchJob.java) at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(Pattern SearchJob.java:64) at org.eclipse.jdt.internal.core.search.processing.JobManager.performCon currentJob(JobManager.java) at org.eclipse.jdt.internal.core.search.SearchBasicEngine.searchAllTypeN ames(SearchBasicEngine.java:509) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEng ine.java:571) at org.eclipse.jdt.internal.corext.util.AllTypesCache.search(AllTypesCac he.java:547) at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacher.doSearc hTypes(AllTypesCache.java:197) at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacher.run(All TypesCache.java:159)
2004-11-09 16:59:23
1,100,040,000
resolved fixed
4855ed1
1,100,520,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java
JDT
3,809
68,546
Bug 68546 PackageExplorer uses deprecated setTitle method [package explorer]
PackeageExplorerPart should use setContentDescription(inputText) rather than setTitle("Package Explorer : " + inputText)
2004-06-24 16:36:03
1,088,110,000
resolved fixed
0a6fd1a
1,100,260,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JDT
3,810
77,320
Bug 77320 Junit performance [JUnit]
We have 2315 unit tests. When run from Eclipse, it's reporting to take ~122 seconds. When run from ant, it reports taking ~25 seconds. The majority of this time is spent with the JUnit view showing "Launching...". This has gotten worse and worse as we add more UTs. I expect Eclipse to be slower than Ant, but not by this much.
2004-10-29 13:56:12
1,099,070,000
resolved fixed
e112c47
1,100,210,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
JDT
3,811
78,087
Bug 78087 [dom] TypeBinding#getJavaElement() throws IllegalArgumentException for parameterized or raw reference to binary type
200411050810 On a raw TypeBinding of 'java.util.Comparable', method getJavaElement() throws the exception below. [Not reproducible in eclipse - client code is not in CVS.] !ENTRY org.eclipse.ui 4 0 2004-11-08 18:35:29.163 !MESSAGE Compilation unit name must end with .java !STACK 0 java.lang.IllegalArgumentException: Compilation unit name must end with .java at org.eclipse.jdt.internal.core.PackageFragment.getCompilationUnit(PackageFragment.java:191) at org.eclipse.jdt.core.dom.TypeBinding.getCompilationUnit(TypeBinding.java:449) at org.eclipse.jdt.core.dom.TypeBinding.getJavaElement(TypeBinding.java:293) at org.eclipse.jdt.core.dom.MethodBinding.getJavaElement(MethodBinding.java:200) at org.eclipse.jdt.internal.corext.dom.Bindings.asUIString(Bindings.java:101) at org.eclipse.jdt.internal.ui.text.correction.UnimplementedMethodsCompletionProposal.getAdditionalProposalInfo(UnimplementedMethodsCompletionProposal.java:266) at org.eclipse.jface.text.contentassist.AdditionalInfoController.computeInformation(AdditionalInfoController.java:221) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:761) at org.eclipse.jface.text.AbstractInformationControlManager.showInformation(AbstractInformationControlManager.java:751) at org.eclipse.jface.text.contentassist.AdditionalInfoController$1.run(AdditionalInfoController.java:173) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2771) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1529) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1500) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:276) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) Compilation unit name must end with .java
2004-11-08 13:00:33
1,099,940,000
verified fixed
6b5001b
1,100,090,000
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/PullUpRefactoring.java
JDT
3,812
77,609
Bug 77609 Move instance method and references in binary types [refactoring] [move]
M3 test candidate public class A { public void foo(B b) { } } - create a class D that references A#foo but put it onto the class path as binary - move A#foo Observe: no complains about the fact that foo is referenced from binary. Since we offer the possibility to generate a delegate we should do so when referenced from binary. I think that other refactorings are affected by this as well. Markus, can you remmeber what the current story is with reference is binaries.
2004-11-03 08:53:52
1,099,490,000
resolved fixed
9bc0d28
1,100,000,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
JDT
3,813
77,618
Bug 77618 Move Inner: dialog issues [refactoring] [move inner]
M3 test candidate The current dialog is a little bit confusing. One idea to improve it is: Case field is required: Field name: [ ] Make final: [ ] OK button is disabled when field name is missing Case field is optional Field name (optional): [ [ Make final [ ] Ok button is always enabled and make final is disabled if name field is empty Comments ?
2004-11-03 09:20:58
1,099,490,000
resolved fixed
a9bdb95
1,099,990,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInnerToTopWizard.java
JDT
3,814
77,577
Bug 77577 outline should not accept dropping folders on it
3.1 M3 test pass The outline view accepts dropping folders using drag & drop: - open the navigator & outline - drag a folder (e.g. part of a class hierarchy) from the navigator to the outline and drop it on a member, for example a method. Expected: the drag is not successful, nothing happens Actual: the folder is moved from the project to the package fragment where the class of the drop target resides. Also, the move cannot be undone via undo -> major for this reason.
2004-11-03 05:30:39
1,099,480,000
resolved fixed
bcb9bf0
1,099,930,000
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/reorg/CopyTest.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/reorg/MoveTest.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
JDT
3,815
77,620
Bug 77620 Move inner: doesn't update instance creation to reflect new type parameters [refactoring] [move inner]
M3 test candidate public class A<T> { class Inner<X> { public void foo() { T t= null; X x= null; bar(); } } void bar() { Inner inner= new Inner<Long>(); } } - move Inner to new file Observe: Inner now has correctly two type parameters. Hoewever the instance creation new Inner<Long>() isn't updated resulting in non compilable code.
2004-11-03 09:23:46
1,099,490,000
resolved fixed
1e30245
1,099,930,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
JDT
3,816
77,716
Bug 77716 [1.5] Augment Raw Collection Clients does not update overwritten methods
I200411022000 Using Augment Raw Collection Clients on the test package with the two CUs A and B augments the list's parameter type in B but not A: package test; import java.util.List; public class A { void test(List list, Integer integer) { } } package test; import java.util.List; public class B extends A { void test(List list, Integer integer) { list.add(integer); } }
2004-11-03 13:26:43
1,099,510,000
resolved fixed
44925d7
1,099,920,000
org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCUInferFromCast/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCUInferFromCast/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuCannotStringDouble/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuCannotStringDouble/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuRippleMethods/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuRippleMethods/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuRippleMethods2/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuRippleMethods2/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuRippleMethods3/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/AugmentRawContainerClients/testCuRippleMethods3/out/A.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/AugmentRawContainerClientsTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/AugmentRawContClConstraintCreator.java
JDT
3,817
77,584
Bug 77584 Can't use 5.0 After Setting Compliance to 5.0
I200411022000 When starting a fresh workspace the "Use default compliance settings" check box is no longer checked (was checked in 2.0 to 3.0.1 - didn't check 1.0). If a user only changes compliance to 5.0 the settings will be incorrect and the project is not usable for 5.0 development. Martin please check whether we did something in the UI. If not, send down to J Core.
2004-11-03 05:58:29
1,099,480,000
resolved fixed
9eefef7
1,099,910,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
JDT
3,818
77,938
Bug 77938 Move Instance Method shows referenced field twice in list [refactoring] [move]
I200411042000 class C { Other fField; void method() { fField.toString(); } } class Other { } - 'Refactor > Move' on method() -> fField is shown twice in the list of possible targets
2004-11-05 07:14:43
1,099,660,000
resolved fixed
07d8c67
1,099,910,000
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/in/TR.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/P.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/TC.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test26/out/TR.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInstanceMethodWizard.java
JDT
3,819
77,222
Bug 77222 Import Selection Dialog Improvements
It is very annoying, when importing List, to have to choose which List I want, especially since I nearly ALWAYS choose java.util.List. Specifically, when doing an Organize Imports, a dialog shows up, and it appears to list all of the List classes in alphabetical order by package name. (I think this dialog will show up in other places, but I'm not sure. I know I also see the same list ina different form with QuickFix- Add Import). I envision a number of different ways this list of classes can be improved, but (1) the simplest to use and maybe implement would be to make sort-order pluggable. I can see two variants on sort order that I might like - 1a) Let the user define preferences based on leading package fragments - java.*, before all others 1b) Sort the list based on frequency of use in the current project. This way, over time, the ones I'm using naturally bubble to the top. (2) An additional possibility would be to allow the user to explictly exclude/hide classes they never use. A number of libraries I use might have their own List, which is public, but it's never intended to be used by the clients of the JAR. If I could, over time, build up this knoweldgebase of classes in libraries that I just do not want to see, or very seldom wish to see, the list could be appropriately resticted.
2004-10-28 13:18:14
1,098,980,000
resolved fixed
2ce9cdc
1,099,910,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeFilter.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoRequestor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SimilarElementsRequestor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocCompletionEvaluator.java
JDT
3,820
77,901
Bug 77901 Java refactor (renaming a class name) missed something [refactoring] [rename]
The Java "refactor" operation for changing the name of a class misses a certain kind of reference to the class: the Java construct Foo.class, which returns the instance of class java.lang.Class for class Foo. 1. Create a valid, complete Java class called "Foo" in a source file Foo.java. 2. In a method of Foo, add this line: Class dummy = Foo.class; 3. Save the Java source file. 4. Right-click on the *.java file in the Package Explorer 5. Choose Refactor > Rename 6. Enter "Bar" as the new class name When you look at the result, you'll see that "Foo.class" was not changed to "Bar.class" as it should have been.
2004-11-04 16:27:57
1,099,600,000
resolved fixed
674cd96
1,099,910,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameInputWizardPage.java
JDT
3,821
77,439
Bug 77439 Pull up: strange change tree [refactoring] [pull up]
I200410260800 package p1; public class Super { } ------------------------------------------------------------ package p1; import p2.B; public class A extends Super { int field= B.VALUE; } ------------------------------------------------------------ package p2; public class B { public static final int VALUE= 10; } Pull up field from A to Super and press preview. Observe that the change tree for A only contains an entry update imports. There should be one for removing/moving field as well.
2004-11-01 19:11:14
1,099,350,000
resolved fixed
7a3a348
1,099,910,000
org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test20/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/PushDown/test21/out/A.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java
JDT
3,822
76,792
Bug 76792 organize imports: not correct: 0 import(s) added. [code manipulation]
Organize imports falsely sums up the total of added and removed imports to display a difference. 0 import(s) added. means that the total of added and removed imports is 0. It would be better if it told the user something like: 1 import(s) removed, 1 import(s) added. The status message is slightly more useful than you might think at first glance, as in the odd case that it does not work (which I can't reproduce) you want to notice this, and a useful status message helps.
2004-10-22 03:49:51
1,098,430,000
resolved fixed
14f5176
1,099,910,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation.java
JDT
3,823
77,771
Bug 77771 RemoteTestRunnerClient doing work after junit shutdown [JUnit]
I am unsure of the exact test case but I would assume I shut down my workspace while running junit tests. java.lang.ClassNotFoundException: The class "org.eclipse.jdt.internal.junit.ui.RemoteTestRunnerClient$8" cannot be loaded because the system is shutting down and the plug- in "org.eclipse.jdt.junit" has already been stopped. at org.eclipse.core.runtime.adaptor.EclipseClassLoader.shouldActivateFor (EclipseClassLoader.java:147) at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass (EclipseClassLoader.java:62) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass (BundleLoader.java:371) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:402) at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass (AbstractClassLoader.java:93) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.eclipse.jdt.internal.junit.ui.RemoteTestRunnerClient.notifyTestRunTerminate d(RemoteTestRunnerClient.java:510) at org.eclipse.jdt.internal.junit.ui.RemoteTestRunnerClient.access$31 (RemoteTestRunnerClient.java:507) at org.eclipse.jdt.internal.junit.ui.RemoteTestRunnerClient$ServerConnection.run (RemoteTestRunnerClient.java:253)
2004-11-03 16:52:32
1,099,520,000
resolved fixed
f93d215
1,099,860,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/RemoteTestRunnerClient.java
JDT
3,824
77,844
Bug 77844 CCE in UnimplementedMethodsCompletionProposal for X implements Set<String>
3.1 M3 Test pass - class X implements Set<String> {} - QuickFix Log: !ENTRY org.eclipse.ui 4 0 2004-11-04 16:45:43.786 !MESSAGE java.lang.ClassCastException !STACK 0 java.lang.ClassCastException at org.eclipse.jdt.core.dom.ASTNode.checkNewChild(ASTNode.java:1865) at org.eclipse.jdt.core.dom.ASTNode$NodeList.add(ASTNode.java:1242) at java.util.AbstractList.add(AbstractList.java:102) at org.eclipse.jdt.internal.ui.text.correction.UnimplementedMethodsCompletionProposal.createNewMethodDeclaration(UnimplementedMethodsCompletionProposal.java:101) at org.eclipse.jdt.internal.ui.text.correction.UnimplementedMethodsCompletionProposal.getRewrite(UnimplementedMethodsCompletionProposal.java:83) at org.eclipse.jdt.internal.ui.text.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:61) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.initializeTextChange(CUCorrectionProposal.java:135) at org.eclipse.jdt.internal.ui.text.correction.UnimplementedMethodsCompletionProposal.getAdditionalProposalInfo(UnimplementedMethodsCompletionProposal.java:259) at org.eclipse.jface.text.contentassist.AdditionalInfoController.computeInformation(AdditionalInfoController.java:221) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:761) at org.eclipse.jface.text.AbstractInformationControlManager.showInformation(AbstractInformationControlManager.java:751) at org.eclipse.jface.text.contentassist.AdditionalInfoController$1.run(AdditionalInfoController.java:173) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2771) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1527) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1498) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:276) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
2004-11-04 11:01:55
1,099,580,000
verified fixed
b400147
1,099,590,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnimplementedMethodsCompletionProposal.java
JDT
3,825
77,839
Bug 77839 Type Restriction filters confusing in container children
20041104 The build path UI shows Type Restriction filters also on container children. But all container implementation don't support the feature, nor the update. It would be better to filter the entries for M3
2004-11-04 10:51:10
1,099,580,000
verified fixed
635a5d0
1,099,580,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java
JDT
3,826
77,641
Bug 77641 Exception in pick out string [quick assist]
M3 test candidate !ENTRY org.eclipse.jdt.ui 4 10001 2004-11-03 15:33:53.254 !MESSAGE Internal Error !STACK 0 java.lang.StringIndexOutOfBoundsException: String index out of range: 18 at java.lang.String.substring(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getPickOutStringProposals(AdvancedQuickAssistProcessor.java:1458) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getAssists(AdvancedQuickAssistProcessor.java:100) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectAssists(JavaCorrectionProcessor.java:260) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.processAnnotations(JavaCorrectionProcessor.java:210) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.computeCompletionProposals(JavaCorrectionProcessor.java:177) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1472) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:251) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:247) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:206) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:201) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1320) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAssistant.showPossibleCompletions(JavaCorrectionAssistant.java:159) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:186) at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:122) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:120) at org.eclipse.jface.action.Action.runWithEvent(Action.java:988) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:188) at org.eclipse.ui.internal.commands.Command.execute(Command.java:130) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:422) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:696) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:739) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:508) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:456) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:748) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:799) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:824) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:809) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:837) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:833) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1096) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3077) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2987) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3361) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1502) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2446) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1527) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1498) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:276) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) Not sure what I did. I tested String s= "Eclipse"; and picked out lip.
2004-11-03 10:09:20
1,099,490,000
verified fixed
de7434b
1,099,560,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
JDT
3,827
77,701
Bug 77701 'enum' declaration entry should not appear in 'Line wrapping' page of code formatter dialog preferences
JDT/Core code formatter does not support alignements for enums. So, it should not exist any entries for 'enum' declaration in code formatter preferences dialog...
2004-11-03 12:35:05
1,099,500,000
verified fixed
a50f2dd
1,099,560,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
JDT
3,828
77,537
Bug 77537 [preferences] Preview window in Preferences->Java->Properties File Editor displays incorrect background color
The properties file editor seems to inherit its background color from the setting in Preferences->Java->Editor->Syntax. However, the preview window in Preferences->Java->Properties File Editor always displays a white background.
2004-11-02 15:58:55
1,099,430,000
verified fixed
68072bc
1,099,500,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSourceViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertiesFileEditorPreferencePage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
JDT
3,829
77,585
Bug 77585 Create Enum wizard: file misses header comment
I200411022000 The file which is created by the New Enum wizard has no header comment. Creating a Class or Interface has header comment.
2004-11-03 06:01:07
1,099,480,000
verified fixed
1cca528
1,099,490,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
JDT
3,830
77,612
Bug 77612 Move instance method: misleading error message
M3 test candidate public class A<X> { public <T> void foo(B b) { X x= null; C c= null; } } - try moving foo Observe: the error message says something about references to parameterized types. Should this say references to non local type parameters
2004-11-03 08:56:52
1,099,490,000
resolved fixed
a44a05b
1,099,490,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
JDT
3,831
77,598
Bug 77598 [nls tooling] NLS hovers / Ctrl+Click not consistent for duplicate keys
20041103 With the following files, the key A.0 is duplicate. - Ctrl + Click: Junps to 'hello' - Hover over "A.0" in class A: shows 'world' public class A { String h= Messages.getString("A.0"); //$NON-NLS-1$ } messages.properties: A.0=hello A.0=world
2004-11-03 07:30:10
1,099,490,000
verified fixed
8ad418c
1,099,490,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
JDT
3,832
77,509
Bug 77509 OperationCanceledException when clicking Cancel while doing organize imports on project
I200411010800 + plug-in export Select Java project with JUnit and start to organize the imports. Click "Cancel" ==> org.eclipse.core.runtime.OperationCanceledException at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:137) at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:87) at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:183) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:95) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1631) at org.eclipse.core.internal.resources.File.setContents(File.java:335) at org.eclipse.core.internal.resources.File.setContents(File.java:439) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.commitFileBufferContent(ResourceTextFileBuffer.java:275) at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.commit(ResourceFileBuffer.java:317) at org.eclipse.jdt.internal.corext.codemanipulation.ImportsStructure.commitDocument(ImportsStructure.java:812) at org.eclipse.jdt.internal.corext.codemanipulation.ImportsStructure.create(ImportsStructure.java:763) at org.eclipse.jdt.internal.corext.codemanipulation.OrganizeImportsOperation.run(OrganizeImportsOperation.java:348) at org.eclipse.jdt.ui.actions.OrganizeImportsAction$3.run(OrganizeImportsAction.java:384) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:145) at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer.java:36) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2771) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:141) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:279) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:263) at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:840) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:874) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:850) at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1042) at org.eclipse.jdt.ui.actions.OrganizeImportsAction.runOnMultiple(OrganizeImportsAction.java:295) at org.eclipse.jdt.ui.actions.OrganizeImportsAction.run(OrganizeImportsAction.java:281) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:988) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:946) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:896) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:810) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:800) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2794) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1527) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1498) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:276) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
2004-11-02 13:44:24
1,099,420,000
resolved fixed
99f12d4
1,099,420,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java
JDT
3,833
77,442
Bug 77442 Move instance method: import not added [refactoring] [move]
I200410260800 package p1; public class A extends Super { } -------------------------------------------------------- package p2; import p1.A; import p3.C; public class B { public static final int VALUE= 10; public void foo(C c) { A a= null; } } ------------------------------------------------------- package p3; public class C { } Move method B#foo to C. Observe: class C is missing an import on A. Tobias, this seems to be a regression. Please try to fix for M3.
2004-11-01 19:20:06
1,099,350,000
resolved fixed
0317cff
1,099,390,000
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test6/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test7/out/B.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
JDT
3,834
76,887
Bug 76887 [content assist] Template validation is case sensitive
Test case: Type SYS Ctrl-Space Type o You are left with no code completions. This differs from the code completion proposals where the prefix matching is not case sensitive. (note this is a problem in both the JDT TemplateProposal and the JFace text TemplateProposal)
2004-10-23 18:39:46
1,098,570,000
verified fixed
a4e5ac0
1,099,390,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/TemplateProposal.java
JDT