issue_id
int64
2.03k
426k
title
stringlengths
9
251
body
stringlengths
1
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
updated_files
stringlengths
29
34.1k
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
unknown
report_datetime
unknown
298,934
Bug 298934 NonInitialTypingTest#testTypeAMethod() results are not reliable
Verifying performance results for all 3.6M4 scenarios, it appears that results for NonInitialTypingTest#testTypeAMethod() test are completely unreliable (at least on Linux test machines). It seems that something should be done to stabilize this test or remove it from the benchmark.
resolved fixed
583a14e
["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/NonInitialTypingTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-13T14:30:25Z"
"2010-01-06T12:13:20Z"
308,898
Bug 308898 [reconciling] ASTProvider creates same AST twice when opening class file editor
HEAD (but I guess that's already been the case in 3.5) The ASTProvider creates the same AST twice when opening a class file editor. To reproduce: - make sure the Outline is visible in the target - set a breakpoint in ASTProvider#getAST(..) at the line that calls createAST(..) (line 479) - open java.lang.String (with source attachment) Thread [Worker-6] (Suspended (breakpoint at line 479 in ASTProvider)) ASTProvider.getAST(ITypeRoot, SharedASTProvider$WAIT_FLAG, IProgressMonitor) line: 479 SharedASTProvider.getAST(ITypeRoot, SharedASTProvider$WAIT_FLAG, IProgressMonitor) line: 126 ClassFileEditor$3.run(IProgressMonitor) line: 687 Worker.run() line: 54 Thread [Worker-8] (Suspended (breakpoint at line 479 in ASTProvider)) ASTProvider.getAST(ITypeRoot, SharedASTProvider$WAIT_FLAG, IProgressMonitor) line: 479 SharedASTProvider.getAST(ITypeRoot, SharedASTProvider$WAIT_FLAG, IProgressMonitor) line: 126 OverrideIndicatorLabelDecorator.getOverrideIndicators(IMethod) line: 161 OverrideIndicatorLabelDecorator.computeAdornmentFlags(Object) line: 136 OverrideIndicatorLabelDecorator.decorate(Object, IDecoration) line: 272 LightweightDecoratorDefinition.decorate(Object, IDecoration) line: 269 LightweightDecoratorManager$LightweightRunnable.run() line: 81 SafeRunner.run(ISafeRunnable) line: 42 LightweightDecoratorManager.decorate(Object, DecorationBuilder, LightweightDecoratorDefinition) line: 365 LightweightDecoratorManager.getDecorations(Object, DecorationBuilder) line: 347 DecorationScheduler$1.ensureResultCached(Object, boolean, IDecorationContext) line: 371 DecorationScheduler$1.run(IProgressMonitor) line: 331 Worker.run() line: 54
resolved fixed
68747f1
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-13T13:22:21Z"
"2010-04-12T16:33:20Z"
271,228
Bug 271228 [encapsulate field] Encapsulate field on multi-variable declarations drops modifiers
null
resolved fixed
cb303fb
["org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/existingmethods_in/TestTwoFragmentsWithSetter.java", "org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/existingmethods_out/TestTwoFragmentsWithSetter.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-13T10:59:45Z"
"2009-04-04T18:33:20Z"
277,299
Bug 277299 [implementation] Performance issue with jface text WordRule
null
resolved fixed
3cea8b2
["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/WordRulePerformanceTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-12T14:59:34Z"
"2009-05-21T10:00:00Z"
308,612
Bug 308612 [implementation] DBCS3.6: Javadoc does not pop up on methods containing CJK Ext-B.
Build Identifier: I20100330-0800 OS:Windows 7 JRE:IBM Java 1.6 Locale:Japanese Reproducible: Always Steps to Reproduce: 1.Import the attached Java file into a Java Project with the encoding UTF-8. 2.Click the mouse on methodASCII(), javadoc pops up. 3.Click the mouse on methodCJK叱(), javadoc pops up. 4.Click the mouse on methodCJKExtB𠮟(), javadoc does not pops up.
resolved fixed
c5196b1
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaWordFinder.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-09T13:58:50Z"
"2010-04-09T08:00:00Z"
308,447
Bug 308447 [BiDi] ComplexExpression: Bidi data in 'Outline' view is reordered wrongly (BIDI3.6_BDL)
Build Identifier: 3.6.0-I20100330-0800 In order to recreate the problem follow the following steps: BIDI3.6_BDL: Complexxpression: Bidi data in 'Outline' view is reordered wrongly 1. Run Eclipse in LTR mode 2. Create java project 3. create java class 4. create Hebrew-named method which has Hebrew-named parameter 5. Examine appearance of created methos in Outline view Result: method-name(parameter type) structure looks wrong when Hebrew data is involved (see attachment) Notice: The problem doesn't exist on Win OS Reproducible: Always
resolved fixed
f80f91d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-08T19:57:27Z"
"2010-04-08T09:46:40Z"
232,333
Bug 232333 Fix typo in CodeCompletionPerformanceTest.createTypeHierarchy()
R3.4. There's a typo in the source of CodeCompletionPerformanceTest.createTypeHierarchy(): in " int" + field + ";\n" + should be a space after int: " int " + field + ";\n" + IMPORTANT: this change must be backported to perf34x branch.
resolved fixed
7d7289b
["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/CodeCompletionPerformanceTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-08T09:29:44Z"
"2008-05-15T16:46:40Z"
307,756
Bug 307756 [compare] Compare with local history reverts changes in dirty editor
I20100330-0800 Compare with local history reverts changes in a dirty Java editor. This leads to data loss if the user doesn't notice it. Steps: - Paste this: package xy; public class Try { public static void main(String[] args) { // System.out.println(); } } - uncomment the sysout - Save - add "Hello" as argument of println() - context menu > Compare With > Local History... - double-click the most recent revision (the bold one) => compare editor is opened and "Hello" is removed in the local revision (in both editors) This works fine for a plain text compare editor.
verified fixed
a903ede
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-06T13:21:40Z"
"2010-03-31T15:40:00Z"
216,627
Bug 216627 [infer type arguments] NullPointerException when inferring generic arguments
Build ID: 3.3.1.1: M20071023-1652 Steps To Reproduce: When inferring generic arguments over a large source collection, I consistently encounter the exception attached below. It's unfortunate that the stability of 3.3 is so much lower than the 3.2 series. I do not know exactly which class or condition is creating the NPE. More information: !ENTRY org.eclipse.ltk.ui.refactoring 4 10000 2008-01-25 11:48:11.308 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:310) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.createChange(RefactoringWizard.java:579) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSuccessorPage(RefactoringWizard.java:422) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.computeSuccessorPage(UserInputWizardPage.java:75) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.getNextPage(UserInputWizardPage.java:115) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.nextOrPreviewPressed(RefactoringWizardDialog2.java:481) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.access$0(RefactoringWizardDialog2.java:478) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2$1.widgetSelected(RefactoringWizardDialog2.java:671) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:142) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:154) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:49) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startInferTypeArgumentsRefactoring(RefactoringExecutionStarter.java:312) at org.eclipse.jdt.ui.actions.InferTypeArgumentsAction.run(InferTypeArgumentsAction.java:114) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.getUsedIn(InferTypeArgumentsTCModel.java:148) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.pruneCvIfUnused(InferTypeArgumentsTCModel.java:171) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.pruneCvIfUnused(InferTypeArgumentsTCModel.java:186) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.pruneUnusedCuScopedCvs(InferTypeArgumentsTCModel.java:166) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.newCu(InferTypeArgumentsTCModel.java:158) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsRefactoring$1.acceptAST(InferTypeArgumentsRefactoring.java:208) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:720) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:473) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:731) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsRefactoring.checkFinalConditions(InferTypeArgumentsRefactoring.java:182) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:118) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Root exception: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.getUsedIn(InferTypeArgumentsTCModel.java:148) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.pruneCvIfUnused(InferTypeArgumentsTCModel.java:171) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.pruneCvIfUnused(InferTypeArgumentsTCModel.java:186) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.pruneUnusedCuScopedCvs(InferTypeArgumentsTCModel.java:166) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsTCModel.newCu(InferTypeArgumentsTCModel.java:158) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsRefactoring$1.acceptAST(InferTypeArgumentsRefactoring.java:208) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:720) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:473) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:731) at org.eclipse.jdt.internal.corext.refactoring.generics.InferTypeArgumentsRefactoring.checkFinalConditions(InferTypeArgumentsRefactoring.java:182) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:118) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
resolved fixed
e6ec381
["org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuParameterizedTypes1/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuParameterizedTypes1/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuParameterizedTypes2/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuParameterizedTypes2/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InferTypeArgumentsTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-01T15:15:55Z"
"2008-01-25T19:40:00Z"
307,816
Bug 307816 [call hierarchy] Open Location action in context menu should be disabled when selection is empty
HEAD. The Open Location action in the Location Viewer context menu should be disabled when selection is empty.
verified fixed
0f6832e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenLocationAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-01T06:50:44Z"
"2010-04-01T05:33:20Z"
303,762
Bug 303762 [call hierarchy] NPE thrown when trying to copy a non-existent selection in 'Call Hierarchy'
Build id: I20100216-0800 1. Make a new class and put a method in there. 2. Invoke call hierarchy on it. 3. There are no matches. 4. On the right-hand side, bring up the context menu and select 'Copy'. 5. An NPE is thrown. java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:4064) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.dnd.DND.error(DND.java:281) at org.eclipse.swt.dnd.DND.error(DND.java:227) at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:480) at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:411) at org.eclipse.jdt.internal.ui.callhierarchy.LocationCopyAction.run(LocationCopyAction.java:66) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
verified fixed
95e8732
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/LocationCopyAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-04-01T04:07:19Z"
"2010-02-24T14:00:00Z"
153,912
Bug 153912 [common navigator] Java model hiding parent folders in sync view
Build: I20060815-0800 I have a simple (non-Java) project in my workspace like this: eclipse platform-text 3.3 plan.html When there is an incoming change on plan.html, the synch view looks like this when "All Models" is selected: eclipse 3.3 plan.html I.e., the "platform-text" parent folder is being filtered out. If the "Java Workspace" model is disabled, the problem goes away.
resolved fixed
2e227ea
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaModelLabelProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-31T16:00:07Z"
"2006-08-15T13:53:20Z"
307,407
Bug 307407 [Clean Up] NullPointerException running Change non static accesses to static members using declaring type clean up
Build Identifier: 20100318-1801 Exception thrown when running the cleanup to change non static access to static members cleanup. Run cleanup on this class: public class CleanupTest { private String localString = new MyClass().getMyString(); /** * @param args */ public static void main(String[] args) { new CleanupTest().testCleanup(); } public static class MyClass { private static String myString = "This is a constant"; public static String getMyString() { return myString; } } public void testCleanup() { System.out.println(localString); } } !ENTRY org.eclipse.ltk.ui.refactoring 4 10000 2010-03-29 09:01:45.253 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1002) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.createChange(RefactoringWizard.java:599) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSuccessorPage(RefactoringWizard.java:438) 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.jdt.internal.ui.fix.CleanUpRefactoringWizard$CleanUpConfigurationPage.getNextPage(CleanUpRefactoringWizard.java:449) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:881) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:425) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4037) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3628) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:180) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:192) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:115) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:38) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startCleanupRefactoring(RefactoringExecutionStarter.java:251) at org.eclipse.jdt.internal.ui.actions.AllCleanUpsAction.performRefactoring(AllCleanUpsAction.java:75) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:172) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:97) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:278) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4037) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3628) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2416) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2380) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2229) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1406) at org.eclipse.equinox.launcher.Main.main(Main.java:1382) Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.fix.CodeStyleFix$ToStaticAccessOperation.extractQualifier(CodeStyleFix.java:477) at org.eclipse.jdt.internal.corext.fix.CodeStyleFix$ToStaticAccessOperation.rewriteAST(CodeStyleFix.java:462) at org.eclipse.jdt.internal.corext.fix.CompilationUnitRewriteOperationsFix.createChange(CompilationUnitRewriteOperationsFix.java:100) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.calculateChange(CleanUpRefactoring.java:799) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.calculateSolutions(CleanUpRefactoring.java:299) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.acceptAST(CleanUpRefactoring.java:277) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:883) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:577) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:876) at org.eclipse.jdt.internal.corext.dom.ASTBatchParser.createASTs(ASTBatchParser.java:99) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpFixpointIterator.next(CleanUpRefactoring.java:399) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.cleanUpProject(CleanUpRefactoring.java:707) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:663) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Root exception: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.fix.CodeStyleFix$ToStaticAccessOperation.extractQualifier(CodeStyleFix.java:477) at org.eclipse.jdt.internal.corext.fix.CodeStyleFix$ToStaticAccessOperation.rewriteAST(CodeStyleFix.java:462) at org.eclipse.jdt.internal.corext.fix.CompilationUnitRewriteOperationsFix.createChange(CompilationUnitRewriteOperationsFix.java:100) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.calculateChange(CleanUpRefactoring.java:799) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.calculateSolutions(CleanUpRefactoring.java:299) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.acceptAST(CleanUpRefactoring.java:277) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:883) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:577) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:876) at org.eclipse.jdt.internal.corext.dom.ASTBatchParser.createASTs(ASTBatchParser.java:99) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpFixpointIterator.next(CleanUpRefactoring.java:399) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.cleanUpProject(CleanUpRefactoring.java:707) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:663) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Reproducible: Always Steps to Reproduce: 1.Create class that is in the description above 2.In cleanup choose Use Declaring class as qualifier and Change all accesses through instances 3.Run clean up as configured. Having other clean ups enabled does not impact the reproducibility.
resolved fixed
b2e506f
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-30T16:36:23Z"
"2010-03-29T16:26:40Z"
307,398
Bug 307398 [Perspectives] 'Show In' targets not added to existing perspectives
null
verified fixed
a8714ec
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaHierarchyPerspectiveFactory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-29T15:15:35Z"
"2010-03-29T13:40:00Z"
297,566
Bug 297566 [clean up] StackOverflow in callsWrittingConstructor of VariableDeclarationFinder in VariableDeclarationFix on Save
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Build Identifier: Build id: 20090920-1017 When saving a Java File, I got the following StackOverflowError. java.lang.StackOverflowError at org.eclipse.jdt.internal.compiler.lookup.Binding.isValidBinding(Binding.java:92) at org.eclipse.jdt.core.dom.DefaultBindingResolver.getMethodBinding(DefaultBindingResolver.java:230) at org.eclipse.jdt.core.dom.MethodBinding.getMethodDeclaration(MethodBinding.java:423) at org.eclipse.jdt.core.dom.DefaultBindingResolver.findDeclaringNode(DefaultBindingResolver.java:170) at org.eclipse.jdt.core.dom.CompilationUnit.findDeclaringNode(CompilationUnit.java:332) at org.eclipse.jdt.internal.corext.dom.ASTNodes.findDeclaration(ASTNodes.java:239) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:293) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:297) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:297) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:297) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:297) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:297) at org.eclipse.jdt.internal.corext.fix.VariableDeclarationFix$VariableDeclarationFinder.callsWrittingConstructor(VariableDeclarationFix.java:297) ... Looking at the implementation it turns out that the MethodBinding tested against the HashSet doesn't override hashCode and equals. The condition used in the if-branch on line 290: if (writingConstructorBindings.contains(constructorBinding)) { will never be "true", if MethodBinding is not the same object. Reproducible: Didn't try
resolved fixed
774e7bd
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-29T13:07:11Z"
"2009-12-11T08:26:40Z"
260,626
Bug 260626 [clean up] "Convert for loops to enhanced" clean up leaves iterator references
Build ID: I20080617-2000 Steps To Reproduce: import java.util.Collections; import java.util.Iterator; public class Test { void foo() { for ( Iterator iter = Collections.emptySet().iterator(); iter.hasNext(); ) { iter.next().toString(); String.valueOf(iter.hasNext() ? "x" : "y"); } } } becomes import java.util.Collections; public class Test { void foo() { for (Object element : Collections.emptySet()) { element.toString(); String.valueOf(iter.hasNext() ? "x" : "y"); } } } More information: The cleanup seems to update code when there is only a single reference to iterator. Things go bad when subsequent refs are in ternary conditions.
resolved fixed
7ce283a
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertForLoopQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-29T10:57:37Z"
"2009-01-10T20:40:00Z"
286,524
Bug 286524 [JUnit] JUnit test runner fails to run test classes with non-ASCII names if project encoding differs from default encoding
Build ID: 20090619-0625 Steps To Reproduce: Note: Instructions are for reproduction on MS Windows Server 2003, German version. On other platforms, the default encoding may be different. 1. Start Eclipse and create a new workspace 2. Once Eclipse has started, verify that the encoding (Preferences/General/Workspace/Encoding) is set to "Default (Cp1252)" 3. Create a new Java project: New/Java Project, enter name "TestProj", click "Finish". 4. Change project encoding: in project properties of TestProj, set Resource/Text file encoding to "Other","UTF-8" 5. In Package Explorer, create new package "mypkg" in TestProj. 6. Unter mypgk, create two Java classes, named "MyTest" and "MyTestA" (New/Class); note A-umlaut character in second name. 7. Put this code into the two classes: package mypkg; import org.junit.Test; public class MyTest { @Test public void doTestWithUmlaut(){ } } Replace the class name MyTest as approriate. 8. Add JUnit 4 to build path: TestProj/Build Path/Add Libraries.... Eclipse should automatically offer JUnit 3 and JUnit 4 from its plugin folder. Add JUnit 4. TestProj should now compile without errors. 9. Run all tests in package mypkg: mypkg context menu/Run As/JUnit test. Only the test in MyTest will run. The console will show an error message: Class not found mypkg.MyTest� java.lang.ClassNotFoundException: mypkg.MyTest� at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Note that running the test class MyTestA individually (invoking Run As on the class) works fine. More information: I suspect that JUnit incorrectly uses the platform default encoding when loading all classes from a package. This appears to confuse it when a project does not use the default encoding.
resolved fixed
c735412
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/junit/launcher/JUnitLaunchConfigurationDelegate.java", "org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-25T19:25:29Z"
"2009-08-13T13:26:40Z"
208,460
Bug 208460 [JUnit] JUnit history unreadable if failure message included a NUL (zero) character
Build ID: I20070625-1500 Steps To Reproduce: 1. Paste the following into a java project: +++++++++++++++++++++++++++++++++++++++++++++ import junit.framework.TestCase; public class NulCharacterInJUnitTestFailureMessage extends TestCase { public void testNul() { String message = "This message contains a NUL {\0} and then some more text."; fail(message); } } +++++++++++++++++++++++++++++++++++++++++++++ 2.Run this as a JUnit Test 3.Run some other test (need to have more than one entry in the JUnit test history; can be before or after the above test). 4.Click the JUnit history drop-down, and switch back and forth between a successful test and the failing test above). 5.Notice that an error has been generated. If you have a JUnit history with many valid entries (without NULs), they will no longer be accessible (you won't be able to see the list of test cases). More information: The error is generated because the SAX parser is unable to parse �, which is what the NUL character was translated to. This in turn is because NUL is not a legal XML character (I ran into exactly this problem several years ago with an XML parser written in C). You might say "Don't do that!", and I will fix the code that led to this problem, but it would be nice to fix this bug so that others don't spend the time trying to figure out what went wrong. FWIW, my solution in the past was to translate NUL to Unicode's user/vendor area before writing the XML file, and then back again in my SAX handler. Here is the error: eclipse.buildId=I20071004-2151 java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070426 (JIT enabled) J9VM - 20070420_12448_lHdSMR JIT - 20070419_1806_r8 GC - 200704_19 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -showlocation -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -clean -showlocation -clean -showlocation -clean -data D:\jmsynge\jazzdev-repo-work This is a continuation of log file D:\jmsynge\jazzdev-repo-work\.metadata\.bak_2.log Created Time: 2007-10-29 17:29:19.363 Error Thu Nov 01 14:03:15 EDT 2007 The test run could not be imported from file 'D:\jmsynge\jazzdev-repo-work\.metadata\.plugins\org.eclipse.jdt.junit\history\20071101-140251.583.xml'. org.xml.sax.SAXParseException: Character reference "&#0" is an invalid XML character. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLScanner.scanCharReferenceValue(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanCharReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.eclipse.jdt.internal.junit.model.JUnitModel.importIntoTestRunSession(JUnitModel.java:424) at org.eclipse.jdt.internal.junit.model.TestRunSession.swapIn(TestRunSession.java:356) at org.eclipse.jdt.internal.junit.model.TestRunSession.addTestSessionListener(TestRunSession.java:298) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.setActiveTestRunSession(TestRunnerViewPart.java:1215) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.access$2(TestRunnerViewPart.java:1164) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$RunnerViewHistory.setActiveEntry(TestRunnerViewPart.java:330) at org.eclipse.jdt.internal.ui.viewsupport.HistoryDropDownAction$HistoryAction.run(HistoryDropDownAction.java:54) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
resolved fixed
f9a6231
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunSessionSerializer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-25T18:45:17Z"
"2007-11-01T18:00:00Z"
306,923
Bug 306923 [templates] added/changed templates do not load after restart
I created a template in C/C++ > Editor > Templates After restarting Eclipse the template disappears. The same happens if I change some of the default templates - the default is restored. I use Ubuntu 9.10. I don't know if it's relevant but I have the following lines in my .log file: java.io.IOException: Character reference "&#12" is an invalid XML character. at org.eclipse.jface.text.templates.persistence.TemplateReaderWriter.read(TemplateReaderWriter.java:217) at org.eclipse.jface.text.templates.persistence.TemplateReaderWriter.read(TemplateReaderWriter.java:120) at org.eclipse.jface.text.templates.persistence.TemplateReaderWriter.read(TemplateReaderWriter.java:89) at org.eclipse.jface.text.templates.persistence.TemplateStore.loadCustomTemplates(TemplateStore.java:436) at org.eclipse.jface.text.templates.persistence.TemplateStore.load(TemplateStore.java:109) at org.eclipse.cdt.ui.CUIPlugin.getTemplateStore(CUIPlugin.java:894) at org.eclipse.cdt.internal.ui.text.template.TemplateEngine.complete(TemplateEngine.java:183) at org.eclipse.cdt.internal.ui.text.contentassist.TemplateCompletionProposalComputer.computeCompletionProposals(TemplateCompletionProposalComputer.java:102)
resolved fixed
4d83928
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-25T14:34:40Z"
"2010-03-24T11:26:40Z"
306,970
Bug 306970 Strings#insertMarks(..) drops directional punctuation characters at end of StyledString
I20100323-0800 Strings#insertMarks(..) drops directional punctuation characters at end of StyledString. It stops copying at originalString.length().
resolved fixed
99b81a7
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/Strings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-24T17:37:09Z"
"2010-03-24T17:00:00Z"
306,755
Bug 306755 [BiDi][content assist] Hebrew ComplexExpression-Bidi data in parameter hints is unreadable (BIDI3.6_BDL)
Build Identifier: 3.6.0 - I20100313-1044 1. Open Eclipse, create Java project and java class inside the project 2. Declare some Hebrew-named method which recieves two Hebrew-named parameters of Hebrew-named types 3. Create anothe method, start typing the Hebrew name of previously created method and press Ctrl+Space 4. Select required method and use SourceAssist in order to add parameters Result: Hebrew data in appeared hint appears wrongly. The prder of parameters is reversed (see attached screenshot) Reproducible: Always
closed fixed
e1d357e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyGenericTypeProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalLabelProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-23T17:15:17Z"
"2010-03-22T17:46:40Z"
306,763
Bug 306763 [BiDi] Copy element labels from a view should not contain BiDi markers
Build Identifier: 3.6.0 - I20100313-1044 Upper case letters-HEBREW 1. Open Eclipse, create Java project 2. Create folder named FIRST 3. Under FIRST create folder named SECOND 4. Create Hebrew-named java class inside the SECOND folder 5. Declare some Hebrew-named method which recieves two Hebrew-named parameters of Hebrew-named types 6. Go to Outline view, select Hebrew-named method and perform Copy 7. Open Notepad, turn on 'Show Unicode Controlcharacters' option and perform paste Result: pasted data contains Unicode characters. The same behaviour is with 'CopyQualifiedName' option (see attached screenshot) Reproducible: Always
resolved fixed
d4634f5
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CopyQualifiedNameAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CopyCallHierarchyAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-23T15:16:31Z"
"2010-03-22T20:33:20Z"
306,752
Bug 306752 [hovering][BiDi] ComplexExpression-Hebrew data in tooltip on method name is unreadable (BIDI3.6_BDL)
Build Identifier: 3.6.0 - I20100313-1044 BIDI3.6_BDL: ComplexExpression-Hebrew data in tooltip on method name is unreadable 1. Open Eclipse, create Java project and java class inside the project 2. Declare some Hebrew-named method which recieves two Hebrew-named parameters of Hebrew-named types 3. Put mouse on the method's declaration and examine the appeared tooltip Result: Hebrew data became unreadable (see attached screenshot) Reproducible: Always
closed fixed
a5c11a1
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/Strings.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLinks.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-23T11:31:44Z"
"2010-03-22T17:46:40Z"
306,736
Bug 306736 [Workbench] Contributed sourceProvider can cause troubles on start
I20100316-0859. In Workbench.init() we read the source providers of the 'org.eclipse.ui.services' extension point and there all extensions are immediately loaded (createExecutableExtension) no matter whether the contributing bundle is already started. Unfortunately this happens before the workbench itself is correctly initialized (workbench colors in this particular case). This can cause troubles for upstream bundles that expect the workbench colors and/or fonts to be present when they get loaded. It would be good if the workbench could initialize as much as possible before calling code that starts other bundles. We should either - Protect the code to not load those extensions. We do similar things e.g. when loading the handler service (see org.eclipse.ui.internal.handlers.HandlerProxy.isOkToLoad(). The hard part here is to make sure that the extension which aren't loaded still work somehow, e.g. by adding a proxy. - Initialize default services after colors and fonts (this might be the simplest fix but would need extensive testing).
verified fixed
8c41db5
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-22T16:23:42Z"
"2010-03-22T15:00:00Z"
306,504
Bug 306504 [implementation] AFE in CompilationUnitDocumentProvider$CompilationUnitAnnotationModel.createPositionFromProblem
Build Identifier: I20100129-1300 Exception in thread "org.eclipse.jdt.internal.ui.text.JavaReconciler" org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at org.eclipse.jface.text.Position.<init>(Position.java:62) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$CompilationUnitAnnotationModel.createPositionFromProblem(CompilationUnitDocumentProvider.java:540) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$CompilationUnitAnnotationModel.reportProblems(CompilationUnitDocumentProvider.java:655) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$CompilationUnitAnnotationModel.internalEndReporting(CompilationUnitDocumentProvider.java:617) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$CompilationUnitAnnotationModel.endReportingSequence(CompilationUnitDocumentProvider.java:605) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:135) at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:105) at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:398) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:173) Reproducible: Always Steps to Reproduce: One of the JDojo files probably generates an error for a DOM node with an illegal offset. I can reproduce locally, feel free to debug on my machine
resolved fixed
f3f430f
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-19T12:12:52Z"
"2010-03-19T12:00:00Z"
306,392
Bug 306392 [syntax highlighting] No syntax coloring in enum type
/* * Using syntax coloring in java editor: * The enum type name, when used to access a static metod, is not colorized, * while it is colorized rigth when used to access a static field. */ public class TestEnum { public enum EnumType { // "EnumType" is right colorized FIRST, SECOND; public static int staticField; public static void staticMetod() { }; } public void test() { EnumType.staticField = 1; // "EnumType" is right colorized EnumType.staticMetod(); // "EnumType" is not colorized } }
resolved fixed
f5189dc
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-19T09:02:25Z"
"2010-03-18T16:33:20Z"
175,857
Bug 175857 [common navigator][actions] Show In should reference the project explorer
org.eclipse.jdt.ui registers the showInPart extension to use the ResourceNavigator in a number of places. It should use the Project Explorer.
verified fixed
5a8bfad
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaHierarchyPerspectiveFactory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-18T15:11:09Z"
"2007-02-28T16:26:40Z"
302,470
Bug 302470 [api] ProblemLocation#getProblemArguments() must not return null
Using eclipse.buildId=I20100128-1731 java.version=1.6.0_18-ea java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA Command-line arguments: -os win32 -ws win32 -arch x86 -console, java.lang.NullPointerException at org.eclipse.jdt.internal.junit.ui.JUnitQuickFixProcessor.getAddAssertImportProposals(JUnitQuickFixProcessor.java:122) at org.eclipse.jdt.internal.junit.ui.JUnitQuickFixProcessor.getCorrections(JUnitQuickFixProcessor.java:111) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionCollector.safeRun(JavaCorrectionProcessor.java:374) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.run(JavaCorrectionProcessor.java:336) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.process(JavaCorrectionProcessor.java:332) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectCorrections(JavaCorrectionProcessor.java:461) at org.eclipse.jdt.internal.ui.text.java.hover.ProblemHover$ProblemInfo.getJavaAnnotationFixes(ProblemHover.java:221) at org.eclipse.jdt.internal.ui.text.java.hover.ProblemHover$ProblemInfo.getCompletionProposals(ProblemHover.java:195) at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl.deferredCreateContent(AbstractAnnotationHover.java:280) at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl.setInput(AbstractAnnotationHover.java:186) at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:1170) at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:1139) at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(AbstractHoverInformationControlManager.java:902) at org.eclipse.jface.text.TextViewerHoverManager.doPresentInformation(TextViewerHoverManager.java:243) at org.eclipse.jface.text.TextViewerHoverManager$5.run(TextViewerHoverManager.java:233) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3959) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3580) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363) at org.eclipse.equinox.launcher.Main.main(Main.java:1339) Steps to reproduce: 1) In a new java project setup to accept generics (1.5 or above) add the following types: import java.util.Collection; public interface Task<T> { Collection<TaskListener<T>> getListeners(); } public interface TaskListener<T> { void taskFailed(Task task, Exception e); } and: import java.util.List; public class X { public static void main(String[] args) { Exception e = new Exception(); List<Task<?>> tasks = null; for (final Task<?> task : tasks) { for (final TaskListener<?> listener : task.getTaskListeners()) { listener.taskFailed(task, e); } } } } 2) An error is reported against "task.getTaskListeners()". Hovering over it creates the reported stack trace.
resolved fixed
66b0651
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ProblemLocation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-15T09:50:56Z"
"2010-02-10T16:40:00Z"
304,083
Bug 304083 [build path] Source attachments wrong for automatically added libraries (UI changes)
null
resolved fixed
01166d3
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/javadoc/JavaDocLocations.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocLinkRef.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditorBreadcrumb.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesPropertyPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SourceAttachmentPropertyPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathSupport.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T20:23:48Z"
"2010-02-26T18:46:40Z"
283,427
Bug 283427 [refactoring] [api] RefactoringWizardOpenOperation/RefactoringWizard should have a way to use a specified IRunnableContext
I'm launching a Refactoring from within a project properties page. I'm using the RefactoringWizardOpenOperation class to open the refactoring wizard. It turns out that when using this class, it will create an internal RefactoringWizard/Dialog and load the refactoring in it. During this time, the ApplicationWindow runnable context is used to report status while the wizard is being initialized. This is bad, because there already is a Dialog open. This has a few problems. 1) You can cancel the dialog, but the operation would still be running. 2) You can't cancel the operation since it is blocked by a modal dialog. I wanted to fix this by creating a properties page that implements IRunnableContext with a progress monitor itself. Properties pages are not a IRunnableContext, but it was relatively easy to make it so using ProgressMonitorPart. (Except that cancelation is not supported) It turns out even after I did the work to create a Properties page with a progress monitor, there was no way for me to pass in that IRunnableContext to the Wizard. RefactoringWizard is hard coded to use PlatformUI.getWorkbench().getActiveWorkbenchWindow() as the IRunnableContext when calculating the user input pages. (RefactoringWizard#getStartingPage()) Additionally, I can't override this method since it calls package-private and calls other private methods. My request is to modify RefactoringWizardOpenOperation and RefactoringWizard to accept a IRunnableContext for execution.
resolved fixed
a11e0cf
["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizardOpenOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T20:14:21Z"
"2009-07-14T14:00:00Z"
303,155
Bug 303155 'Remove from Build Path' must be disabled for referenced JARs
I20100217-1031. Currently removing a referenced JAR from the build path removes the referencing JAR. This is wrong. ==> We have to disable 'Remove from Build Path' for referenced JARs.
verified fixed
5de33da
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/JarImportWizardAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarimport/JarImportWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarimport/JarImportWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T20:01:05Z"
"2010-02-18T08:00:00Z"
252,432
Bug 252432 [render] Use the new API from JDT/Core to provide a better display of the referenced jars
When jar are referenced in the Class-Path: clause of the MANIFEST.MF file, they end up being displayed with the name of the jar that referenced them. This is far from being ideal as it is difficult to distinguish them.
resolved fixed
ee89ad4
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaUIMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabelComposer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T19:36:11Z"
"2008-10-28T16:06:40Z"
252,431
Bug 252431 New API is needed to better identify referenced jars in the Class-Path: entry
When jars are referenced in the Class-Path: entry, they are all displayed using the name of the jar that referenced them. This makes it really difficult to: - know the names of the jars referenced inside the Class-Path: clause - distinguish them in the package explorer. A new API might be needed to let JDT/UI provide a good display of these jar entries.
verified fixed
8294273
["org.eclipse.jdt.jeview/src/org/eclipse/jdt/jeview/properties/JavaElementProperties.java", "org.eclipse.jdt.jeview/src/org/eclipse/jdt/jeview/views/JEClasspathEntry.java", "org.eclipse.jdt.jeview/src/org/eclipse/jdt/jeview/views/JavaElement.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T16:28:55Z"
"2008-10-28T16:06:40Z"
303,705
Bug 303705 [search] Custom search results not shown hierarchically in the java search results view
Build Identifier: M20090917-0800 Consider an instance of org.eclipse.search.ui.text.Match with an element that is neither an IResource nor an IJavaElement. It might be an element in a class diagram, for example. When such an element is reported, it will be shown as a plain, flat element in the otherwise hierarchical java search results view. This is because the LevelTreeContentProvider and its superclasses only check for IJavaElement and IResource. I propose to also check for IAdaptable and try to adapt to IJavaElement and IResource, if the other checks fail. I'll attach a patch. Reproducible: Always
resolved fixed
c68f400
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/LevelTreeContentProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T10:22:49Z"
"2010-02-24T00:06:40Z"
303,698
Bug 303698 [ccp] ReorgPolicies' canEnable() methods return true too often
Build Identifier: M20090917-0800 Have a look at ReorgPolicy.canEnable(): public boolean canEnable() throws JavaModelException { IResource[] resources= getResources(); for (int i= 0; i < resources.length; i++) { IResource resource= resources[i]; if (!resource.exists() || resource.isPhantom() || !resource.isAccessible()) return false; } IJavaElement[] javaElements= getJavaElements(); for (int i= 0; i < javaElements.length; i++) { IJavaElement element= javaElements[i]; if (!element.exists()) return false; } return true; } The last "return true" is wrong, as it would enable the policy even if the resources and javaElements arrays are empty. The same problem occurs in many other ReorgPolicy classes. We experience this bug when using an own IQueryParticipant that creates non-IJavaElement matches. I'll attach a patch against HEAD. Reproducible: Always
resolved fixed
766483f
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-08T10:00:30Z"
"2010-02-23T21:20:00Z"
304,792
Bug 304792 [move method] Move a single function between interfaces does not work.
Build Identifier: 20090619-0625 Move more than one function between interfaces works fine. Moving a single function shows the message: "This refactoring cannot be used to move interface methods". Reproducible: Always Steps to Reproduce: 1. Select a single function in the outline 2. Press refactor->move
resolved fixed
3343ccc
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-07T17:01:45Z"
"2010-03-05T09:06:40Z"
304,927
Bug 304927 Incorrect Javadoc for org.eclipse.ltk.core.refactoring.Change
null
resolved fixed
0f93a98
["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/Change.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-07T16:20:54Z"
"2010-03-07T02:46:40Z"
304,174
Bug 304174 [hashcode/equals] Generated equals() invalid if there's an 'Object' class in scope
Build Identifier: I20100129-1300 Generating hashCode() and equals() for this class: package test; public class Object { public String s; } yields invalid equals() signature: public boolean equals(Object obj) With another class called 'Object' in scope it should be: public boolean equals(java.lang.Object obj) Reproducible: Always
resolved fixed
6380eff
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-05T23:32:17Z"
"2010-02-28T23:33:20Z"
304,826
Bug 304826 StringIndexOutOfBoundsException while updating some javadoc
Using eclipse.buildId=I20100302-0800 java.version=1.6.0_18-ea java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA Command-line arguments: -os win32 -ws win32 -arch x86 -console, I got this exception while updating some documentation. Unfortunately no steps to reproduce. java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.handleContentElements(JavadocContentAccess2.java:1039) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.handleContentElements(JavadocContentAccess2.java:1025) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.toHTML(JavadocContentAccess2.java:766) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.javadoc2HTML(JavadocContentAccess2.java:620) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContentFromSource(JavadocContentAccess2.java:574) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:458) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:442) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:96) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:560) at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
resolved fixed
711d69a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-05T18:48:52Z"
"2010-03-05T14:40:00Z"
43,277
Bug 43277 [refactoring] [dcr] Move type to new file
Currently, there's "Move Member type to new file". We should extend that to "Move type to new file", and support moving additional top level types of a CU to new files. Example: - File A.java: public class A {} class Data {} - want to move "Data" to its own CU
verified fixed
a0af325
["org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_0/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_0/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_0/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_1/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_1/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_1/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_2/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_2/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_2/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_3/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_3/in/S.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_3/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_3/out/S.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_3/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_4/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_4/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_4/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_5/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_5/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_5/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_6/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_6/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_6/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/in/S.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/in/T.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/out/S.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_7/out/T.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/in/S.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/in/T.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/out/S.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/out/Secondary.java", "org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_secondary_8/out/T.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/MoveInnerToTopLevelTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.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
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-05T17:36:51Z"
"2003-09-18T10:13:20Z"
304,573
Bug 304573 [JUnit] Adopt p2 API changes for SimpleConfiguratorManipulator
null
resolved fixed
eccbe64
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/BuildPathSupport.java", "org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/P2Utils.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-04T18:20:43Z"
"2010-03-03T21:00:00Z"
304,052
Bug 304052 [preferences] Add new 'code formatter' options to disable formatting of line/block comments starting on first column
null
verified fixed
5fab02e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CommentsTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-03T15:42:20Z"
"2010-02-26T16:00:00Z"
27,079
Bug 27079 Tags for disabling/enabling code formatter (feature)
I like code formatter in eclipse very much - but I think one more feature wiuld be useful. Sometimes I have some parts in my code - for example several constant declarations which I would like to remain formatted as I entered them. For example not to be wrapped to max line length and all assigments remained in one column. I can format my code part by part, but I was thinking if it would be possible to create some tags in comments which would turn on/off code formatter. Here goes my example: /* here goes my constants: @@formatter:off */ public static final int FIRST = 1; public static final int SECOND = 2; public static final int AND_THE_LAST_ONE = 3; /* @@formatter:on */ Best regards to whole team, Piotr Gawronski (happy eclipse user)
verified fixed
9c4873b
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterModifyDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/OnOffTagsTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-03T12:57:16Z"
"2002-11-25T13:13:20Z"
288,385
Bug 288385 [clean up] Internal error with configured profiles from multiple projects
During clean up of sources the internal error occured. -- Configuration Details -- Product: Eclipse 1.2.0.20090619-0620 (org.eclipse.epp.package.java.product) Installed Features: org.eclipse.jdt 3.5.0.v20090527-2000-7r88FEeFJePyvYeA33DjZ_c1 eclipse.buildId=I20090611-1540 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product Error Wed Sep 02 19:10:58 CEST 2009 Internal Error java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:557) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153) at org.eclipse.jdt.internal.ui.fix.CleanUpRefactoringWizard$CleanUpConfigurationPage.performFinish(CleanUpRefactoringWizard.java:443) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:621) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog.finishPressed(RefactoringWizardDialog.java:108) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:143) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:155) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:38) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startCleanupRefactoring(RefactoringExecutionStarter.java:251) at org.eclipse.jdt.internal.ui.actions.AllCleanUpsAction.performRefactoring(AllCleanUpsAction.java:75) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.runOnMultiple(CleanUpAction.java:203) at org.eclipse.jdt.internal.ui.actions.CleanUpAction.run(CleanUpAction.java:108) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1191) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012) at org.eclipse.swt.widgets.Control.traverse(Control.java:3658) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:3502) at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:1065) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:3520) at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:4401) at org.eclipse.swt.widgets.Display.filterMessage(Display.java:1205) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3469) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) Caused by: org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at org.eclipse.jdt.internal.ui.fix.AbstractCleanUp.setOptions(AbstractCleanUp.java:47) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.setOptionsFromProfile(CleanUpRefactoring.java:724) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:654) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:211) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Root exception: org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at org.eclipse.jdt.internal.ui.fix.AbstractCleanUp.setOptions(AbstractCleanUp.java:47) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.setOptionsFromProfile(CleanUpRefactoring.java:724) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:654) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:211) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
resolved fixed
fb09778
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-03-02T14:08:40Z"
"2009-09-02T16:46:40Z"
303,945
Bug 303945 [preferences] add Errors/Warnings option "Suppress optional errors with @SuppressWarnings"
null
verified fixed
f16a35c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SuppressWarningsSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-26T14:35:06Z"
"2010-02-25T17:46:40Z"
300,157
Bug 300157 [compare] NPE while opening compare editor
-- Error Details -- Date: Wed Jan 20 11:14:32 CET 2010 Message: Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". Severity: Error Product: Eclipse SDK 3.6.0.v201001120800 (org.eclipse.sdk.ide) Plugin: org.eclipse.ui.workbench Session Data: eclipse.buildId=I20100112-0800 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Framework arguments: -server Command-line arguments: -os linux -ws gtk -arch x86 -server Happend as I opened a compare editor, NPE was thrown about 50 times. Had 5 other java files open in the meantime. Exception Stack Trace: java.lang.NullPointerException at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.windowActivated(AbstractTextEditor.java:994) at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:823) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:821) at org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3089) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:82) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1218) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1242) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1223) at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:728) at org.eclipse.swt.widgets.Display.filterProc(Display.java:1516) 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:2132) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3129) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
verified fixed
2fe5467
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-25T14:46:00Z"
"2010-01-20T09:33:20Z"
303,785
Bug 303785 [implementation] Dead lock while editing in a java editor
null
verified fixed
420a07f
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-25T14:41:06Z"
"2010-02-24T16:46:40Z"
303,794
Bug 303794 JavaPerspectiveFactory should reference the 'Project Explorer' via a constant
The id of the 'Project Explorer' was made available in IPageLayout as IPageLayout.ID_PROJECT_EXPLORER in 3.5. The JPF can just reference that now instead.
resolved fixed
5d7c6fe
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaHierarchyPerspectiveFactory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPerspectiveFactory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-25T07:33:27Z"
"2010-02-24T19:33:20Z"
303,773
Bug 303773 [preferences] Add new options to 'code formatter' to expose constants from bug 284789
null
verified fixed
3f468eb
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-24T18:50:41Z"
"2010-02-24T16:46:40Z"
246,594
Bug 246594 [model] API request: ITypeParameter#getBoundsSignatures() or #getSignature()
N20080904-2000 API request: - ITypeParameter#getBoundsSignatures() // returns type signatures of the bounds - or ITypeParameter#getSignature() // returns type variable signature ITypeParameter currently only offers getBounds(), which returns only the name of a bound. For correctly rendering the type parameter in Java editor hovers, I need the complete signatures of the bounds, e.g. for: class MyList<Element extends Map<String, Integer>> { .. }, ... I'd like to display: 'Element extends Map<String, Integer> - pack.MyList' ... when you hover over 'Element'. The type parameter signatures are already available via ITypeParameter#getDeclaringMember() and then IMethod#getTypeParameterSignatures() or IType#getTypeParameterSignatures(), but this is inelegant, and IMethod#getTypeParameterSignatures() is even deprecated.
verified fixed
a29b3bc
["org.eclipse.jdt.jeview/src/org/eclipse/jdt/jeview/views/JavaElement.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabelComposer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-24T14:04:32Z"
"2008-09-08T16:06:40Z"
276,906
Bug 276906 [build path] Dialog telling about output folder deletion should be improved
Build id: I20090515-1143 Steps: 1. Create a linked folder "bin_ext" in your workspace 2. Change Default output folder to "bin_ext" 4. You have a prompt whether to remove the old location 5. Click Yes and "bin" is deleted 6. Change Default output folder back to "bin" 7. You have a prompt whether to remove the old location Actual: 8A. Click Yes and "bin_ext" is not deleted Expected: 8B. Click Yes and "bin_ext" is deleted, it's clear from the prompt: "The output folder has changed. Do you want to remove the old location "<ROOT/>/bin_ext" and its content?"
verified fixed
946c5ea
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-23T13:49:24Z"
"2009-05-19T13:33:20Z"
303,607
Bug 303607 [content assist] overwrite highlighting at wrong position (with collapsed folding)
null
verified fixed
a885aa2
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-23T13:37:39Z"
"2010-02-23T13:00:00Z"
303,605
Bug 303605 [content assist] overwrite highlighting on Ctrl only works first time
HEAD, was OK in 3.6M5 - Have: public class Try { void test() { Objekt o; } } - put caret after "Obj" - press Ctrl+Space - press and hold Ctrl => "ekt" is highlighted (good) - release Ctrl, press and hold again => no highlight
verified fixed
b4f3249
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-23T12:51:26Z"
"2010-02-23T10:13:20Z"
303,405
Bug 303405 [preferences] Add new options to 'code formatter' to expose constants from bug 270209
null
verified fixed
e1e077e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CommentsTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-23T11:49:19Z"
"2010-02-20T10:00:00Z"
301,530
Bug 301530 [jar exporter] JAR from build path not exported when creating a JAR
Build Identifier: 20090920-1017 When exporting data into a jar, I had a strange error. I have a 'lib' dir with three .jars which should all included in the created jar, but none of them is included in the created jar if I mark all three. If I mark just one or two of them, the selected libs are included. If I use a jardesc the three entries for file path=... are wrapped together to folder path=... but none of the jars in the lib dir is included, if I choose just one or two of them, the entries stay file path=... and the jars are included. I fixed it by copying an superfluous jar from another project into the lib dir, as it would always be skipped, the file path=... entries are not wrapped together and it works. But the possible lacking of files caused me to think of it as a major bug. The same jardesc works under Windows 7. Completely confused, Sebastian Reproducible: Always
verified fixed
3e17cb1
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-23T10:35:31Z"
"2010-02-02T14:13:20Z"
303,314
Bug 303314 [preferences] Add new options to 'code formatter' to expose constant from bug 282030
null
verified fixed
0ef818d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-23T09:54:25Z"
"2010-02-19T14:33:20Z"
285,809
Bug 285809 [compare] Multi-line Javadoc editing does not indent
null
resolved fixed
38bc9d8
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocAutoIndentStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-22T14:54:45Z"
"2009-08-06T00:53:20Z"
303,163
Bug 303163 [preferences] expose new code formatter option: "add new line after label" from bug 150741
null
verified fixed
6582429
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/NewLinesTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-22T13:58:29Z"
"2010-02-18T10:46:40Z"
303,313
Bug 303313 Test failures in SurroundWithTests when run in AllAllRefactoringTests
When I run the AllAllRefactoringTests, I get 4 failures in SurroundWithTests: testNoException() testAlreadyCaught() testRuntimeException2() testThenStatement() SurroundWithTests run alone is green. I've debugged it, and the problem is e.g. visible here: Thread [main] (Suspended) owns: RunnableLock (id=102) SelectionAwareSourceRangeComputer.initializeRanges() line: 72 SelectionAwareSourceRangeComputer.computeSourceRange(ASTNode) line: 47 ASTRewriteAnalyzer.getExtendedRange(ASTNode) line: 186 ASTRewriteAnalyzer.getExtendedOffset(ASTNode) line: 190 ASTRewriteAnalyzer$ParagraphListRewriter(ASTRewriteAnalyzer$ListRewriter).rewriteList(ASTNode, StructuralPropertyDescriptor, int, String) line: 527 ASTRewriteAnalyzer.rewriteParagraphList(ASTNode, StructuralPropertyDescriptor, int, int, int, int) line: 998 ASTRewriteAnalyzer.visit(Block) line: 1679 Block.accept0(ASTVisitor) line: 134 Block(ASTNode).accept(ASTVisitor) line: 2480 ASTRewrite.internalRewriteAST(char[], LineInformation, String, List, Map, ASTNode, RecoveryScannerData) line: 271 ASTRewrite.rewriteAST() line: 260 SurroundWithTryCatchRefactoring.createChange(IProgressMonitor) line: 197 CreateChangeOperation.run(IProgressMonitor) line: 124 PerformRefactoringOperation.run(IProgressMonitor) line: 102 BatchOperation.executeOperation() line: 39 BatchOperation(JavaModelOperation).run(IProgressMonitor) line: 728 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1986 JavaCore.run(IWorkspaceRunnable, ISchedulingRule, IProgressMonitor) line: 4725 JavaCore.run(IWorkspaceRunnable, IProgressMonitor) line: 4682 SurroundWithTests(AbstractSelectionTestCase).performTest(ICompilationUnit, Refactoring, int, String, boolean) line: 126 SurroundWithTests.performTest(IPackageFragment, String, String, int) line: 58 SurroundWithTests.tryCatchTest() line: 66 SurroundWithTests.testAlreadyCaught() line: 74 The problem is that the buffer is closed and Buffer#getText(..) returns "". The buffer gets closed here: Thread [main] (Suspended (breakpoint at line 102 in Buffer)) owns: BufferManager (id=3641) owns: RunnableLock (id=102) Buffer.close() line: 102 BufferCache.closeBuffers() line: 67 BufferManager.addBuffer(IBuffer) line: 60 CompilationUnit.openBuffer(IProgressMonitor, Object) line: 1161 CompilationUnit.buildStructure(OpenableElementInfo, IProgressMonitor, Map, IResource) line: 116 CompilationUnit(Openable).generateInfos(Object, HashMap, IProgressMonitor) line: 258 CompilationUnit(JavaElement).openWhenClosed(Object, IProgressMonitor) line: 515 CompilationUnit(JavaElement).getElementInfo(IProgressMonitor) line: 252 CompilationUnit(JavaElement).getElementInfo() line: 238 CompilationUnit(JavaElement).getChildren() line: 193 CompilationUnit(JavaElement).getChildrenOfType(int) line: 207 CompilationUnit.getTypes() line: 920 CompilationUnit.getAllTypes() line: 605 ContextSensitiveImportRewriteContext.findInContext(String, String, int) line: 148 ImportRewrite.internalAddImport(String, ImportRewrite$ImportRewriteContext) line: 927 ImportRewrite.addImport(ITypeBinding, ImportRewrite$ImportRewriteContext) line: 578 SurroundWithTryCatchRefactoring.createTryCatchStatement(IBuffer, String) line: 217 SurroundWithTryCatchRefactoring.createChange(IProgressMonitor) line: 190 CreateChangeOperation.run(IProgressMonitor) line: 124 PerformRefactoringOperation.run(IProgressMonitor) line: 102 BatchOperation.executeOperation() line: 39 BatchOperation(JavaModelOperation).run(IProgressMonitor) line: 728 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1986 JavaCore.run(IWorkspaceRunnable, ISchedulingRule, IProgressMonitor) line: 4725 JavaCore.run(IWorkspaceRunnable, IProgressMonitor) line: 4682 SurroundWithTests(AbstractSelectionTestCase).performTest(ICompilationUnit, Refactoring, int, String, boolean) line: 126 SurroundWithTests.performTest(IPackageFragment, String, String, int) line: 58 SurroundWithTests.tryCatchTest() line: 66 SurroundWithTests.testRuntimeException2() line: 174
resolved fixed
83d1075
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/SelectionAwareSourceRangeComputer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-19T15:24:46Z"
"2010-02-19T14:33:20Z"
302,581
Bug 302581 [implementation] Deadlock fetching AST during label decoration
I20100209-2300 I got this deadlock yesterday while doing some Java coding. I will attach two stack traces that are about four minutes apart that appear to be in roughly the same state. It also seemed strange that it is fetching AST's during label decoration in the UI thread - I thought expensive label decoration work was supposed to happen in a background decoration thread.
resolved fixed
9a9d440
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-15T14:03:52Z"
"2010-02-11T14:53:20Z"
295,040
Bug 295040 [nls tooling] Find Broken Externalized Strings utility should not list calls like Messages.getResourceBundle() as undefined keys
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: I20091110-0800 Find Broken Externalized Strings utility should not return method calls like Messages.getResourceBundle() as undefined keys. If the method return type is not string then it should not be listed as an undefined key. Reproducible: Always
verified fixed
4b54972
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/search/NLSSearchTest.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-12T08:57:34Z"
"2009-11-13T08:13:20Z"
194,175
Bug 194175 [search] Search result filters not persisted any more
N20070625-0010 - search for references to a Java class => search result has filter "In Imports" enabled by default - disable filter "In Imports" - search for references to another class => search result has filter "In Imports" enabled => expected: changed filter settings should apply to all Java searches (old and new ones)
resolved fixed
5773ae6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaMatchFilter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-10T11:55:37Z"
"2007-06-25T08:26:40Z"
302,077
Bug 302077 [projection] ClassCastException when pressing Ctrl+.
What steps will reproduce the problem? 1. Open Mylyn class CopyTaskDetailsAction 2. Press Ctrl+. The editor stops redrawing after this error is encountered. -- Error Details -- Date: Fri Feb 05 20:05:26 PST 2010 Message: Unhandled event loop exception Severity: Error Product: Eclipse SDK 3.6.0.v201001291300 (org.eclipse.sdk.ide) Plugin: org.eclipse.ui Session Data: eclipse.buildId=I20100129-1300 java.version=1.6.0_15 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA Framework arguments: -keyring /home/stp/.eclipsekeyring Command-line arguments: -os linux -ws gtk -arch x86 Exception Stack Trace: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.eclipse.jface.text.source.projection.AnnotationBag cannot be cast to org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager$OverrideIndicator) at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3501) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3148) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363) Caused by: java.lang.ClassCastException: org.eclipse.jface.text.source.projection.AnnotationBag cannot be cast to org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager$OverrideIndicator at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorImageProvider.isOverwriting(OverrideIndicatorImageProvider.java:70) at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorImageProvider.getImageDescriptorId(OverrideIndicatorImageProvider.java:47) at org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess.getImage(DefaultMarkerAnnotationAccess.java:374) at org.eclipse.ui.texteditor.DefaultMarkerAnnotationAccess.paint(DefaultMarkerAnnotationAccess.java:263) at org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:761) at org.eclipse.jface.text.source.AnnotationRulerColumn.doClearPaint(AnnotationRulerColumn.java:517) at org.eclipse.jface.text.source.AnnotationRulerColumn.access$3(AnnotationRulerColumn.java:508) at org.eclipse.jface.text.source.AnnotationRulerColumn$1.paintControl(AnnotationRulerColumn.java:280) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1223) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1232) at org.eclipse.swt.widgets.Control.gtk_expose_event(Control.java:2776) at org.eclipse.swt.widgets.Composite.gtk_expose_event(Composite.java:671) at org.eclipse.swt.widgets.Canvas.gtk_expose_event(Canvas.java:170) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1692) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4606) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4303) 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:8051) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1238) at org.eclipse.swt.internal.gtk.OS._gdk_window_process_updates(Native Method) at org.eclipse.swt.internal.gtk.OS.gdk_window_process_updates(OS.java:5228) at org.eclipse.swt.widgets.Control.update(Control.java:4565) at org.eclipse.swt.widgets.Control.update(Control.java:4556) at org.eclipse.jface.text.source.AnnotationRulerColumn.redraw(AnnotationRulerColumn.java:791) at org.eclipse.jface.text.source.AnnotationRulerColumn$6.run(AnnotationRulerColumn.java:778) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 22 more
verified fixed
a86a163
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OverrideIndicatorImageProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-08T10:47:24Z"
"2010-02-08T00:46:40Z"
300,940
Bug 300940 [implementation] Buffer of opened external CU (*.java file) is not updated while typing
I got this exception when code assist was invoked code assist inside a compilation unit that is opened on an external file. !ENTRY org.eclipse.jdt.ui 4 10001 2010-01-26 17:39:24.765 !MESSAGE Internal Error !STACK 1 Java Model Exception: Java Model Status [Index out of bounds] at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable.java:120) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:357) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:351) at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:339) at org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext.computeKeywordsAndContext(JavaContentAssistInvocationContext.java:284) at org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext.getCoreContext(JavaContentAssistInvocationContext.java:160) at org.eclipse.jdt.internal.ui.text.java.TemplateCompletionProposalComputer.computeCompletionEngine(TemplateCompletionProposalComputer.java:68) at org.eclipse.jdt.internal.ui.text.java.AbstractTemplateCompletionProposalComputer.computeCompletionProposals(AbstractTemplateCompletionProposalComputer.java:58) at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:316) at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:264) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:286) at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:246) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1834) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:557) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:554) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:489) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:483) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1660) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:182) at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1049) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1096) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1505) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4069) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3961) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4731) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2438) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3575) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363) at org.eclipse.equinox.launcher.Main.main(Main.java:1339) !SUBENTRY 1 org.eclipse.jdt.core 4 980 2010-01-26 17:39:24.765 !MESSAGE Index out of bounds Steps to reproduce: 1) Start a fresh workspace 2) Open an external file 3) public class A { main<code assist> } 4) Do code assist where specified and you should get the stack trace. I think the templates might work, but getting completions based on the position inside the unit should not be possible.
verified fixed
abcbcb3
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/DocumentAdapter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-02-03T13:36:35Z"
"2010-01-27T02:40:00Z"
301,242
Bug 301242 [refactoring][clean up] UI locked by 2 dialogs after repeated Undos in Java editor
null
verified fixed
ac15f8a
["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/UndoableOperation2ChangeAdapter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-29T15:18:20Z"
"2010-01-29T13:00:00Z"
300,901
Bug 300901 [call hierarchy] 'Counter color' is ignored
I20100125-1800 1. Make a Java file like the one below. 2. Invoke Ctrl+Alt+H on v(), you'll get something like "w() : void - Test (2 matches)" 3. Window > Preferences > General > Appearance > Colors and Fonts > Basic > Counter Color 4. Change the colour to something else. 5. Hit 'Apply'. Nothing happens. 6. Hit 'OK'. Nothing happens. 7. Try invoking call hierarchy again to force a "refresh". No dice. This seemed to work on Boris's Mac though.
resolved fixed
efe443e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyLabelProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-28T15:09:26Z"
"2010-01-26T21:06:40Z"
300,981
Bug 300981 [ccp] "Paste" is enabled in jars
null
resolved fixed
c500a24
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-28T11:08:23Z"
"2010-01-27T13:46:40Z"
300,805
Bug 300805 [clean up] Invalid thread access after undo
I20100125-1800. 1. enable Save Actions to format all lines 2. paste this: public class BlowsUp { } 3. press 'Enter' after the opening brace 4. save 5. undo ==> !STACK 0 org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.widgets.Widget.error(Widget.java:467) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:359) at org.eclipse.swt.custom.StyledText.getLinePixel(StyledText.java:4167) at org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:6241) at org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:5611) at org.eclipse.jface.text.DefaultDocumentAdapter.fireTextChanging(DefaultDocumentAdapter.java:392) at org.eclipse.jface.text.DefaultDocumentAdapter.documentAboutToBeChanged(DefaultDocumentAdapter.java:309) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:641) at org.eclipse.jface.text.projection.ProjectionDocument.delayedFireDocumentAboutToBeChanged(ProjectionDocument.java:769) at org.eclipse.jface.text.projection.ProjectionDocument.masterDocumentAboutToBeChanged(ProjectionDocument.java:728) at org.eclipse.jface.text.projection.ProjectionDocumentManager.fireDocumentEvent(ProjectionDocumentManager.java:121) at org.eclipse.jface.text.projection.ProjectionDocumentManager.documentAboutToBeChanged(ProjectionDocumentManager.java:138) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:645) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1148) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:195) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:181) at org.eclipse.text.edits.ReplaceEdit.performDocumentUpdating(ReplaceEdit.java:82) at org.eclipse.text.edits.TextEditProcessor.executeUndo(TextEditProcessor.java:223) at org.eclipse.text.edits.UndoEdit.dispatchPerformEdits(UndoEdit.java:57) at org.eclipse.text.edits.TextEditProcessor.performEdits(TextEditProcessor.java:156) at org.eclipse.text.edits.TextEdit.apply(TextEdit.java:711) at org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener$CleanUpSaveUndo.perform(CleanUpPostSaveListener.java:164) at org.eclipse.ltk.internal.core.refactoring.UndoableOperation2ChangeAdapter$1.run(UndoableOperation2ChangeAdapter.java:321) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1985) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1967) at org.eclipse.ltk.internal.core.refactoring.UndoableOperation2ChangeAdapter.executeChange(UndoableOperation2ChangeAdapter.java:351) at org.eclipse.ltk.internal.core.refactoring.UndoableOperation2ChangeAdapter.undo(UndoableOperation2ChangeAdapter.java:183) at org.eclipse.core.commands.operations.TriggeredOperations.undo(TriggeredOperations.java:228) at org.eclipse.core.commands.operations.DefaultOperationHistory.doUndo(DefaultOperationHistory.java:415) at org.eclipse.core.commands.operations.DefaultOperationHistory.undo(DefaultOperationHistory.java:1280) at org.eclipse.ui.operations.UndoActionHandler.runCommand(UndoActionHandler.java:78) at org.eclipse.ui.operations.OperationHistoryActionHandler$4.run(OperationHistoryActionHandler.java:311) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
verified fixed
18487ae
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/fix/CleanUpPostSaveListener.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-26T22:03:38Z"
"2010-01-26T12:46:40Z"
300,780
Bug 300780 [spell checking] NPE in SpellCheckEngine.resetUserDictionary on shutdown
I20100124-2000 - new workspace - paste a dummy class - Exit => NPE in log: !ENTRY org.eclipse.ui.workbench.texteditor 4 2 2010-01-26 10:48:52.254 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench.texteditor". !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine.resetUserDictionary(SpellCheckEngine.java:400) at org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine.getSpellChecker(SpellCheckEngine.java:312) at org.eclipse.jdt.internal.ui.text.spelling.SpellingEngine.check(SpellingEngine.java:88) at org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine.check(DefaultSpellingEngine.java:75) at org.eclipse.ui.texteditor.spelling.SpellingService$1.run(SpellingService.java:104) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:109) at org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy.reconcile(SpellingReconcileStrategy.java:198) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingReconcileStrategy.reconcile(JavaSpellingReconcileStrategy.java:126) at org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy.initialReconcile(SpellingReconcileStrategy.java:169) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:133) at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:105) at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:398) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:173)
verified fixed
dba010d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-26T10:53:34Z"
"2010-01-26T10:00:00Z"
296,782
Bug 296782 CreateProfileDialog.createDialogArea should extend the super implementation of Dialog.createDialogArea
null
resolved fixed
9add39a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CreateProfileDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-25T19:37:12Z"
"2009-12-03T11:33:20Z"
296,784
Bug 296784 [patch] Layout of RefactoringStatusDialog not standard
null
resolved fixed
165d893
["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringStatusDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-25T19:23:57Z"
"2009-12-03T11:33:20Z"
297,183
Bug 297183 [quick fix] "Add unimplemented methods" should add methods from top of hierarchy first
null
resolved fixed
b93184a
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/AddUnimplementedMethodsTest.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/MethodsSourcePositionComparator.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-25T17:45:51Z"
"2009-12-08T11:00:00Z"
297,320
Bug 297320 [nls tooling] Add more tests for Find Broken Externalized Strings
null
resolved fixed
730caad
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/search/NLSSearchTest.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/search/NLSSearchTestHelper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-25T11:07:18Z"
"2009-12-09T12:00:00Z"
297,116
Bug 297116 Default for new JUnit Test should be JUnit 4.X
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: 20090920-1017 Hi, in the "NewTestCaseCreationWizard" the default is "New JUnit 3 testcase". I suggest to change this to "New JUnit 4 testcase". Best regarsd, Lars Reproducible: Always
resolved fixed
8182968
["org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-25T10:57:57Z"
"2009-12-07T18:20:00Z"
296,781
Bug 296781 AlreadyExistsDialog.initializeComposite clones Dialog.createDialogArea
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Build Identifier: similar problems and same solution as verified bugs #296581 and #296481 AlreadyExistsDialog.createDialogArea should extend the super implementation of Dialog.createDialogArea. Reproducible: Always
resolved fixed
fedb558
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/AlreadyExistsDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-25T10:03:46Z"
"2009-12-03T08:46:40Z"
300,536
Bug 300536 [quick fix] Invalid thread access while undoing quick fix
[I20100122-0800] I quick-fixed a dead code error and then used undo to see previous state. Got this error: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.widgets.Widget.error(Widget.java:664) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:491) at org.eclipse.swt.custom.StyledText.getLinePixel(StyledText.java:4167) at org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:6241) at org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:5611) at org.eclipse.jface.text.DefaultDocumentAdapter.fireTextChanging(DefaultDocumentAdapter.java:392) at org.eclipse.jface.text.DefaultDocumentAdapter.documentAboutToBeChanged(DefaultDocumentAdapter.java:309) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:641) at org.eclipse.jface.text.projection.ProjectionDocument.delayedFireDocumentAboutToBeChanged(ProjectionDocument.java:769) at org.eclipse.jface.text.projection.ProjectionDocument.masterDocumentAboutToBeChanged(ProjectionDocument.java:728) at org.eclipse.jface.text.projection.ProjectionDocumentManager.fireDocumentEvent(ProjectionDocumentManager.java:121) at org.eclipse.jface.text.projection.ProjectionDocumentManager.documentAboutToBeChanged(ProjectionDocumentManager.java:138) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:645) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1148) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:195) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:181) at org.eclipse.text.edits.ReplaceEdit.performDocumentUpdating(ReplaceEdit.java:82) at org.eclipse.text.edits.TextEditProcessor.executeUndo(TextEditProcessor.java:223) at org.eclipse.text.edits.UndoEdit.dispatchPerformEdits(UndoEdit.java:57) at org.eclipse.text.edits.TextEditProcessor.performEdits(TextEditProcessor.java:156) at org.eclipse.text.edits.TextEdit.apply(TextEdit.java:711) at org.eclipse.ltk.core.refactoring.UndoTextFileChange.perform(UndoTextFileChange.java:195) at org.eclipse.jdt.core.refactoring.UndoCompilationUnitChange.perform(UndoCompilationUnitChange.java:74) at org.eclipse.ltk.internal.core.refactoring.UndoableOperation2ChangeAdapter$1.run(UndoableOperation2ChangeAdapter.java:321) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1859) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1841) at org.eclipse.ltk.internal.core.refactoring.UndoableOperation2ChangeAdapter.executeChange(UndoableOperation2ChangeAdapter.java:351) at org.eclipse.ltk.internal.core.refactoring.UndoableOperation2ChangeAdapter.undo(UndoableOperation2ChangeAdapter.java:183) at org.eclipse.core.commands.operations.TriggeredOperations.undo(TriggeredOperations.java:228) at org.eclipse.core.commands.operations.DefaultOperationHistory.doUndo(DefaultOperationHistory.java:415) at org.eclipse.core.commands.operations.DefaultOperationHistory.undo(DefaultOperationHistory.java:1280) at org.eclipse.ui.operations.UndoActionHandler.runCommand(UndoActionHandler.java:78) at org.eclipse.ui.operations.OperationHistoryActionHandler$4.run(OperationHistoryActionHandler.java:311) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
verified fixed
626ce5d
["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/UndoTextFileChange.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-24T23:46:44Z"
"2010-01-22T19:53:20Z"
63,692
Bug 63692 [projection][rulers] Not all annotation types in folded region rendered in rulers
3.0M9 - activate code folding and find a text range with annotations (e.g. QuickDiff changes or task tags) - collapse the region => The (folded) annotations are not rendered in the overview ruler. However, if you hover over the right position in the overview ruler, the annotation message is shown in a tooltip. => expected: annotations still rendered
verified fixed
e025fcf
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-20T16:48:13Z"
"2004-05-24T14:46:40Z"
188,595
Bug 188595 [pull up] to interface changes field visibility
null
verified fixed
4db926a
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-20T11:49:09Z"
"2007-05-23T08:46:40Z"
245,007
Bug 245007 [compiler] Should not completely ignore anonymous type with missing super type
null
verified fixed
f06ee61
["org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test016.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-18T16:06:42Z"
"2008-08-22T21:20:00Z"
299,931
Bug 299931 [hovering] NPEs when trying to configure workspace preferences after 'Configure Problem Severity'
HEAD In a problem hover, click 'Configure Problem Severity' to edit project-specific properties. Then uncheck 'Enable project specific settings' and click the link to configure workspace settings. => NPEs occur for general problems and for Javadoc problems, e.g.: !ENTRY org.eclipse.ui 4 0 2010-01-18 15:01:41.039 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.preferences.PropertyAndPreferencePage.enableProjectSpecificSettings(PropertyAndPreferencePage.java:242) at org.eclipse.jdt.internal.ui.preferences.JavadocProblemsPreferencePage.enableProjectSpecificSettings(JavadocProblemsPreferencePage.java:105) at org.eclipse.jdt.internal.ui.preferences.JavadocProblemsPreferencePage.applyData(JavadocProblemsPreferencePage.java:158) at org.eclipse.ui.dialogs.PreferencesUtil.applyOptions(PreferencesUtil.java:70) at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:194) at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:116) at org.eclipse.jdt.internal.ui.preferences.PropertyAndPreferencePage.openWorkspacePreferences(PropertyAndPreferencePage.java:230) at org.eclipse.jdt.internal.ui.preferences.PropertyAndPreferencePage.doLinkActivated(PropertyAndPreferencePage.java:206) at org.eclipse.jdt.internal.ui.preferences.PropertyAndPreferencePage$2.widgetSelected(PropertyAndPreferencePage.java:172) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:87) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074) at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1090) at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1071) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4888) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1849) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4518) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4007) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4691) at org.eclipse.swt.internal.win32.OS.$$YJP$$CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(OS.java) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2340) at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172) at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2053) at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4308) at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:909) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3988) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4691) at org.eclipse.swt.internal.win32.OS.$$YJP$$DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(OS.java) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2437) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3522) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.jdt.internal.ui.text.java.hover.ProblemHover$ConfigureProblemSeverityAction.run(ProblemHover.java:170) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:586) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:503) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:454) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:87) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3524) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363) at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
resolved fixed
e324fd8
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocProblemsPreferencePage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesPreferencePage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-18T14:18:40Z"
"2010-01-18T13:06:40Z"
299,928
Bug 299928 [hovering] 'Problem hover > Configure Problem Severity' does not consider project-specific Javadoc preferences
HEAD In a Java project with project-specific Javadoc preferences but no project-specific Java Errors/Warnings, hover over a Javadoc problem, focus the hover, and then click 'Configure Problem Severity' in the hover toolbar. A dialog asks me whether I want to use project-specific settings, but since I already have such settings, the dialog should not show up.
resolved fixed
cb963f0
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocProblemsConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/ProblemHover.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-18T13:31:16Z"
"2010-01-18T13:06:40Z"
295,629
Bug 295629 [spell checking] Dictionary remains in memory after spell checking is turned off
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: I20091117-1545 Dictionary remains in memory after spell checking is turned off. However when eclipse is restarted after disabling spell checking the dictionary is not loaded Reproducible: Always Steps to Reproduce: 1. Start Eclipse and open an editor 2. Turn on spell checking 3. Take a memory snapshot. SpellCheckEngine , LocaleSensitiveSpellDictioanry and other dictionary related object types are present. 4. Turn off spell checking 5. Objects mentioned in point 3 are still present.
verified fixed
d2fba16
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-18T11:00:54Z"
"2009-11-19T17:00:00Z"
299,631
Bug 299631 [refactoring] We need to restore JavaMoveProcessor.canUpdateReferences()
I20100112-0800. We need to restore org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor.canUpdateReferences().
verified fixed
9189eec
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/ui/internal/compatibility/InternalsNotRemovedTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-15T16:12:42Z"
"2010-01-14T14:40:00Z"
299,667
Bug 299667 Test failure in org.eclipse.jdt.ui.tests.refactoring.ccp.CopyToClipboardActionTest.testEnabled20()
HEAD. Raksha, please investigate. I suspect this is caused by your recent changes. CopyToClipboardActionTest org.eclipse.jdt.ui.tests.refactoring.RefactoringTestSetup org.eclipse.jdt.ui.tests.refactoring.ccp.CopyToClipboardActionTest testEnabled20(org.eclipse.jdt.ui.tests.refactoring.ccp.CopyToClipboardActionTest) junit.framework.AssertionFailedError: action should be enabled at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.eclipse.jdt.ui.tests.refactoring.ccp.CopyToClipboardActionTest.checkEnabled(CopyToClipboardActionTest.java:185) at org.eclipse.jdt.ui.tests.refactoring.ccp.CopyToClipboardActionTest.testEnabled20(CopyToClipboardActionTest.java:589) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:21) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:25) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:61) at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:116) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3906) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3527) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.pde.internal.junit.runtime.UITestApplication.start(UITestApplication.java:47) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363) at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
verified fixed
f2663db
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-15T11:47:29Z"
"2010-01-14T17:26:40Z"
285,000
Bug 285000 [preferences] Add UI option for unused object allocation problem
null
verified fixed
80a93fa
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-13T19:43:04Z"
"2009-07-29T12:20:00Z"
297,449
Bug 297449 [ccp] Can't copy files out of a JAR
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: 20090920-1017 When I open a JAR in the Package Explorer, then the following options in the context menu are disabled: - Copy - Copy Qualified Name (might make sense but it would be nice to be able to copy the full path) "Paste" is enabled though (didn't try what happens ...) Also, there are no properties of any kind associated with the file. I'd at least expect the name, size, path and possibly the modification time. Reproducible: Always Steps to Reproduce: 1. Open "JRE System Library" in any Java project 2. Navigate to "rt.jar" and open it. 3. Navigate to META-INF and open it. 4. Right click on "MANIFEST.MF".
verified fixed
341cb8d
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CopyQualifiedNameAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-13T08:47:03Z"
"2009-12-10T07:26:40Z"
297,392
Bug 297392 Static variables removal in JDT UI causing compatibility issues between Eclipse 3.4 and 3.6
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0 Build Identifier: 3.6.0 I20091125-2200 The following 3 static variables have been removed from the JDT. This is breaking our compatibility between Eclipse 3.4 and 3.6. Can we get it back? org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMessages.ReorgGroup_paste org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMessages.ReorgGroup_delete org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMessages.CutSourceReferencesToClipboardAction_cut Thanks, Rekha Reproducible: Always
resolved fixed
1bd8c1e
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/ui/internal/compatibility/InternalsNotRemovedTest.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-12T16:56:26Z"
"2009-12-09T20:20:00Z"
296,836
Bug 296836 2 messages removed from ActionMessages
The following 2 static variables have been removed from the JDT. Unfortunately, this is breaking our compatibility between Eclipse 3.4 and 3.6. I would appreciate if we could bring them back: org.eclipse.jdt.internal.ui.actions.ActionMessages.OrganizeImportsAction_summary_added org.eclipse.jdt.internal.ui.actions.ActionMessages.OrganizeImportsAction_summary_removed Thanks, ~Loic
resolved fixed
45e30e7
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-12T15:50:29Z"
"2009-12-03T17:06:40Z"
299,151
Bug 299151 Search opens on wrong page when started from Java editor
null
verified fixed
7c9bbfb
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPageScoreComputer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-11T12:55:50Z"
"2010-01-08T17:00:00Z"
299,127
Bug 299127 'Refresh Filter' problem: NullPointerException when entering a blank in JAR selection dialog
Build Identifier: 20090920-1017 In the Java Build Path properties select the button "Add JARs...". The "JAR Selection" dialog pops up, where you can filter the jars by the text entered in the textbox at the top. When you insert a blank in the textbox, the 'Refresh Filter' crashes with a NullPointerException. Reproducible: Always Steps to Reproduce: 1.In the Java Build Path properties of a Java project select the button "Add JARs...". 2. Set the focus into the text box at the top of the dialog and press the space bar. 3.: Result: 'Refresh Filter' crashes with a NullPointerException.
resolved fixed
f52db19
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/FilteredElementTreeSelectionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-11T09:51:52Z"
"2010-01-08T14:13:20Z"
299,155
Bug 299155 [implementation] NPE while editing breakpoint properties in JavaAutoIndentStrategy's computeSmartMode
I tried to cut some text and got this error. No luck in reproducing it so far. I'm using an 0106 e4 SDK. java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy.computeSmartMode(JavaAutoIndentStrategy.java:1275) at org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy.clearCachedValues(JavaAutoIndentStrategy.java:1265) at org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy.customizeDocumentCommand(JavaAutoIndentStrategy.java:1210) at org.eclipse.jface.text.TextViewer.customizeDocumentCommand(TextViewer.java:3744) at org.eclipse.jface.text.TextViewer.handleVerifyEvent(TextViewer.java:3774) at org.eclipse.jface.text.TextViewer$TextVerifyListener.verifyText(TextViewer.java:433) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:773) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:6715) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:7554) at org.eclipse.swt.custom.StyledText.doDelete(StyledText.java:2514) at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:6558) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5914) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5940) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5634) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1096) at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1805) at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4288) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3983) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4678) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2437) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3522) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.jdt.internal.debug.ui.actions.JavaBreakpointPropertiesAction.run(JavaBreakpointPropertiesAction.java:44) at org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager$1.run(JavaDebugOptionsManager.java:645) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3906) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3527) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
resolved fixed
92da31e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-11T08:36:29Z"
"2010-01-08T17:00:00Z"
297,593
Bug 297593 [type wizards] Java class wizard gives incorrect warning message
Build id: I20091210-1301 1. Make a new Java project. 2. File > New > Class 3. Give it a name. 4. The warning says 'The use of the default package is discouraged.', that's fine. 5. Now in the source folder text field, change it from 'test/src' to 'test/' or 'test'. 6. Now the warning says 'Source folder is not a Java project.' even though 'test' really is a Java project. This is slightly misleading. The warning message should state that it is not a Java source folder or something of that sort.
resolved fixed
a4e9699
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-08T08:39:26Z"
"2009-12-11T16:46:40Z"
297,709
Bug 297709 [package explorer] JDT error behavior when "link with editor" option opening
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 GTB6 Build Identifier: I20091210-1301 JDT frequencely synchronize the package tree when link with editor option opening. Reproducible: Always Steps to Reproduce: 1.open some other class in editor, like Composite, SWT, Control and so on 2.new java class wizard, after completed, the editor should open the newly java file. 3.At this moment, the package tree change change and change again. 4.where change to. the before opened class resource item. 5, sometimes, autocomplete result to same synchronize actions.
resolved fixed
4e8f6d3
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-07T12:14:01Z"
"2009-12-14T05:53:20Z"
298,031
Bug 298031 [JUnit] Test cases not found when @RunWith annotation on binary super class
When a class extends a binary type annotated with @RunWith, the binary type has no source attachment, and the user selects the compilation unit -> Run As -> JUnit Test, a dialog appears that says no test class can be found. When the class itself is selected, then the class is recognized as a test class. Similarly, when a source attachment is added, the test class can be found.
resolved fixed
743fb11
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/junit/tests/JUnit4TestFinderTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-06T13:58:19Z"
"2009-12-17T06:06:40Z"
297,734
Bug 297734 [spell checking] words after URL not correctly spell checked
null
resolved fixed
cc0598c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckIterator.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-06T13:50:48Z"
"2009-12-14T14:13:20Z"
298,066
Bug 298066 [nls tooling] Refactoring removes comments in *.properties when done for a message key
I20091215-1320 Steps: 1. Checkout o.e.compare 2. Open /org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchMessages.java 3. Select InputPatchPage_SingleFileError_format field 4. Do Refactor > Rename or Alt+Shift+R with Rename Dialog 5. Change the field name 6. Examine changes made to PatchMessages.properties in the preview dialog => Lines below 'InputPatchPage_SingleFileError_format', those starting with '#' are selected for removal. I think this should not happen.
verified fixed
fbb27e4
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/PropertyFileDocumentModel.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-05T19:12:51Z"
"2009-12-17T11:40:00Z"
298,281
Bug 298281 [introduce factory] Introduce Factory gets confused when replacing vararg constructor
Build Identifier: I20091210-1301 I've managed to boil the issue down to the following code: public class Thing { private Thing[] subthings; public Thing() { subthings = new Thing[]{}; } public Thing(Thing... subthings) { this.subthings = subthings; } public static void main(String args[]) { System.out.println(new Thing(new Thing(new Thing()), new Thing(new Thing())).subthings.length); } } Attempts to replace the vararg constructor with a factory using the Introduce Factory refactoring tool results in: public class Thing { private Thing[] subthings; public Thing() { subthings = new Thing[]{}; } private Thing(Thing... subthings) { this.subthings = subthings; } public static void main(String args[]) { System.out.println(createThing(createThing(new Thing())).subthings.length); } public static Thing createThing(Thing... subthings) { return new Thing(subthings); } } The refactored version loses an entire subtree. Reproducible: Always
resolved fixed
d8f3a00
["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/298281/Thing.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/298281/Thing_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-05T13:51:46Z"
"2009-12-21T10:06:40Z"
264,112
Bug 264112 [Formatter] Wrap when necessary too aggressive on short qualifiers
Build ID: I20080617-2000 Steps To Reproduce: 1. Go to Preferences -> Java -> Code Style -> Formatter -> Edit on the "Eclipse [built-in]" profile 2. Go to Tab "Line Wrapping", Select "Function Calls" 3. On the Preview Tab Set Line Width for 25 or smaller The original line: Other.bar(100, 200,....) will be formatted Other. bar( 100, 200, Obviously wrapping is necessary because the original line is longer than the set line width, but wrapping after Other. and bar( doesn't do any good because the identifiers Other and bar are shorter than the indentation depth (2 tabs == 8 spaces). Suggested fix: Add an additional Line Wrapping Policy "Wrap when benefitial" which works like "Wrap when necessary" but avoids wrapping if the leading line is shorter than the indentation width and thus wrapping is counter-productive. Result: Other.bar( 100, 200,... Thanks for taking note! Christopher P.S.: Note that with "Wrapping when benefitial" the resulting format is less Wide than with "Wrapping if necessary".
verified fixed
eb6348d
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-04T17:09:52Z"
"2009-02-09T00:40:00Z"
298,520
Bug 298520 [5.0][content assist] Constructor completion ignores outer type when completing type arguments
Build Identifier: M20090917-0800 When completing initializer of variable, which is of generalized type, content assist ignores outer type of type parameter. For example, if I type List<SelectDirective.Option> r = new then type Ctrl+Space and select ArrayList from the list, the following gets inserted: List<SelectDirective.Option> r = new ArrayList<Option> As you may see, outer type SelectDirective has been skipped, which is wrong. Reproducible: Always Steps to Reproduce: 1. Create following class structure: class SelectDirective { class Option() { } } public class Main () { public static void main(String[] args) { } } 2. Type inside method main : List<SelectDirective.Option> r = new 3. Press Ctrl+Space and select ArrayList from the dropdown list. 4. Code with errors gets inserted: List<SelectDirective.Option> r = new ArrayList<Option>
resolved fixed
cf1accd
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyGenericTypeProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2010-01-04T13:36:57Z"
"2009-12-25T11:20:00Z"
296,998
Bug 296998 Unused imports should not prevent execution
Given this class: import java.util.List; public class Test { public static void main(String[] args) { System.out.println("Hello"); } } compile like: $ ecj -proceedOnError -err:+unused Test.java and execute: $ java Test gives Exception in thread "main" java.lang.Error: Unresolved compilation problem: at Test.main(Test.java:4) Normally, the eclipse compiler does a good job in producing usable code even in the presence of errors. In this simple case it fails to do so. This is because an unused import is flagged against the CompilationUnitScope. In that case generateCode assumes that all code within this CU is useless. An immediate soluation would be to make ImportReference extend ReferenceContext and let ProblemReporter.unusedImport(ImportReference) set the import reference as the reference context. This should then be applied to other errors against imports, too. As an alternative trying to generate code for a CUD with errors is probably not a good option.
verified fixed
b3b82db
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2009-12-20T21:30:15Z"
"2009-12-05T16:20:00Z"