id
int64
1
6.5k
bug_id
int64
2.03k
426k
summary
stringlengths
9
251
description
stringlengths
1
32.8k
report_time
stringlengths
19
19
report_timestamp
int64
1B
1.39B
status
stringclasses
6 values
commit
stringlengths
7
9
commit_timestamp
int64
1B
1.39B
files
stringlengths
25
32.8k
project_name
stringclasses
6 values
635
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)
2010-01-14 12:27:06
1,263,490,000
verified fixed
f2663db
1,263,560,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java
JDT
636
285,000
Bug 285000 [preferences] Add UI option for unused object allocation problem
null
2009-07-29 08:58:42
1,248,870,000
verified fixed
80a93fa
1,263,410,000
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
637
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".
2009-12-10 03:31:36
1,260,430,000
verified fixed
341cb8d
1,263,370,000
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
638
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
2009-12-09 15:26:00
1,260,390,000
resolved fixed
1bd8c1e
1,263,320,000
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
639
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
2009-12-03 12:56:16
1,259,860,000
resolved fixed
45e30e7
1,263,310,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java
JDT
640
299,151
Bug 299151 Search opens on wrong page when started from Java editor
null
2010-01-08 12:34:46
1,262,970,000
verified fixed
7c9bbfb
1,263,210,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPageScoreComputer.java
JDT
641
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.
2010-01-08 08:35:03
1,262,960,000
resolved fixed
f52db19
1,263,200,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/FilteredElementTreeSelectionDialog.java
JDT
642
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)
2010-01-08 13:23:23
1,262,970,000
resolved fixed
92da31e
1,263,200,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
JDT
643
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.
2009-12-11 10:44:28
1,260,550,000
resolved fixed
a4e9699
1,262,940,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
JDT
644
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.
2009-12-13 23:39:05
1,260,770,000
resolved fixed
4e8f6d3
1,262,870,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JDT
645
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.
2009-12-17 00:35:37
1,261,030,000
resolved fixed
743fb11
1,262,790,000
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
646
297,734
Bug 297734 [spell checking] words after URL not correctly spell checked
null
2009-12-14 09:20:21
1,260,800,000
resolved fixed
cc0598c
1,262,790,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckIterator.java
JDT
647
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.
2009-12-17 07:05:46
1,261,050,000
verified fixed
fbb27e4
1,262,720,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/PropertyFileDocumentModel.java
JDT
648
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
2009-12-21 05:07:37
1,261,390,000
resolved fixed
d8f3a00
1,262,700,000
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
649
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".
2009-02-08 19:21:06
1,234,140,000
verified fixed
eb6348d
1,262,630,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java
JDT
650
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>
2009-12-25 05:35:40
1,261,740,000
resolved fixed
cf1accd
1,262,610,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyGenericTypeProposal.java
JDT
651
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.
2009-12-05 11:27:18
1,260,030,000
verified fixed
b3b82db
1,261,340,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java
JDT
652
297,645
Bug 297645 Quick Fix "Invert 'if' statement" omits '!' operator when expression is java.lang.Boolean
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: M20090917-0800 Since the introduction of auto-boxing/auto-unboxing it has become legal to use expressions of type java.lang.Boolean for 'if' statement expressions. Eclipse's "quick fix" should be updated accordingly. I think the problem is near line 474 or 551 of org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java Here are a few relevant stack frames I got while debugging the problem: AdvancedQuickAssistProcessor.isBoolean(Expression) line: 551 AdvancedQuickAssistProcessor.getInversedBooleanExpression(ASTRewrite, Expression, AdvancedQuickAssistProcessor$SimpleNameRenameProvider) line: 474 AdvancedQuickAssistProcessor.getInversedBooleanExpression(ASTRewrite, Expression) line: 454 AdvancedQuickAssistProcessor.getInverseIfProposals(IInvocationContext, ASTNode, Collection) line: 268 AdvancedQuickAssistProcessor.getAssists(IInvocationContext, IProblemLocation[]) line: 142 Reproducible: Always Steps to Reproduce: 1. enter some java code containing an 'if' statement with a Boolean expression. For example: @SuppressWarnings("boxing") // may be needed to help ctrl+1 work public void foo(Boolean b) { if (b) { System.out.println("######"); } else { System.out.println("-"); } } 2. Invoke "Quick Fix" (ctrl+1) and choose "Invert 'If' statement". The statement should now look like "if (!b) ..." but eclipse produces "if (b) ..."
2009-12-11 22:01:32
1,260,590,000
resolved fixed
3a3147e
1,260,990,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
JDT
653
262,909
Bug 262909 Illegal argument exception in AssistContext.getASTRoot
I found this at the top of my log this morning. Not sure what caused it: eclipse.buildId=I20090129-0100 java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070201 (JIT enabled) J9VM - 20070131_11312_lHdSMR JIT - 20070109_1805ifx1_r8 GC - 200701_09 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: file:/C:/sdk3.5/eclipse/plugins/org.eclipse.equinox.launcher_1.0.200.v20081201-1815.jar Command-line arguments: -os win32 -ws win32 -arch x86 file:/C:/sdk3.5/eclipse/plugins/org.eclipse.equinox.launcher_1.0.200.v20081201-1815.jar org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: input or wait flag are null) at org.eclipse.swt.SWT.error(SWT.java:3860) at org.eclipse.swt.SWT.error(SWT.java:3775) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3852) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2388) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2352) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2204) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:499) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:492) 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(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:550) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:505) at org.eclipse.equinox.launcher.Main.run(Main.java:1264) at org.eclipse.equinox.launcher.Main.main(Main.java:1240) Caused by: java.lang.IllegalArgumentException: input or wait flag are null at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:412) at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126) at org.eclipse.jdt.internal.ui.text.correction.AssistContext.getASTRoot(AssistContext.java:84) at org.eclipse.jdt.internal.ui.text.java.hover.ProblemHover$ProblemInfo.getJavaAnnotationFixes(ProblemHover.java:212) at org.eclipse.jdt.internal.ui.text.java.hover.ProblemHover$ProblemInfo.getCompletionProposals(ProblemHover.java:192) at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl.deferredCreateContent(AbstractAnnotationHover.java:275) at org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$AnnotationInformationControl.setInput(AbstractAnnotationHover.java:181) 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:133) ... 23 more
2009-01-29 10:15:19
1,233,240,000
resolved fixed
dac1979
1,260,870,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/ProblemHover.java
JDT
654
297,280
Bug 297280 JUnit view not showing @BeforeClass exception when single test is run
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: M20090917-0800 This is a bug that only occurs when the user runs a single JUnit 4 test by selecting the test method name and chosing "Run As JUnit Test" from the context menu. If a @BeforeClass method is defined that throws an exception, the JUnit view shows a tree like this: -test method -"Unrooted Tests" |-test class None of the nodes are marked with crosses or ticks and none of them show a Failure Trace. I would expect to see a tree like this: - Test method [X] Or maybe one like this: -Test class [X] |-Test method Either way I would expect to see a red cross somewhere in the tree and be able to click on it to bring up the stack trace for the exception. Reproducible: Always Steps to Reproduce: import org.junit.BeforeClass; import org.junit.Test; public class BugExample { @BeforeClass public static void beforeClass() { throw new RuntimeException(); } @Test public void test() throws Exception { } } 1. Make sure you have JUnit4 on the project classpath. 2. Create the class above in the default package. 3. Select the name of the method named "test". 4. Right-click, Run As, JUnit Test. 5. Open the JUnit view and expand the "Unrooted Tests" node. You should find three nodes, none of them marked with crosses or ticks and no Failure Trace associated with any of them.
2009-12-08 18:01:37
1,260,310,000
resolved fixed
18cbc7d
1,260,380,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
JDT
655
256,757
Bug 256757 [content assist] for static members in unresolved qualifying type should show deprecated type
null
2008-11-27 06:44:46
1,227,790,000
resolved fixed
7aab286
1,260,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalLabelProvider.java
JDT
656
293,300
Bug 293300 [formatter] The formatter is still unstable in certain circumstances
null
2009-10-26 07:50:23
1,256,560,000
verified fixed
41830b2
1,260,210,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SurroundWithTemplateTest.java
JDT
657
296,498
Bug 296498 [JUnit] Launching from the 'JUnit' view with dirty editors causes two save prompts
Build id: I20091124-0800 1. Create a JUnit test. 2. Put a test method in it. 3. Run it. The test passes, everyone's happy. 4. Make the editor dirty by typing stuff in it. 5. Try to run the same test from the 'JUnit' view. 6. A 'Save Resource' prompt appears, hit the 'ESC' key to cancel. 7. The 'Save and Launch' prompt appears. Dismiss it. The launching operation should've just been canceled completely. 8. Redo step 5. 9. Redo step 6 but click the 'Cancel' button. 10. Same result as step 7. 11. Redo step 5. 12. Redo step 6 but click the 'No' button. 11. Same result as step 7. The prompt should not have appeared as I already said 'No'.
2009-11-30 12:32:48
1,259,600,000
resolved fixed
a445cb4
1,260,200,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
JDT
658
296,878
Bug 296878 [quick fix] Quick fix that adds exception doesn't check if @throws javadoc element exists
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/532.4 (KHTML, like Gecko) Chrome/4.0.244.0 Safari/532.4 Build Identifier: I20090611-1540 If a piece of code that throws an exception not declared in the throws clause is quick-fixed, it adds the exception to the throws clause, and also adds an entry to the javadoc. If the javadoc already has a @throws element for that exception, it adds a second, useless one. Reproducible: Always
2009-12-03 16:30:12
1,259,880,000
resolved fixed
e7062e0
1,259,880,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/ChangeMethodSignatureProposal.java
JDT
659
285,637
Bug 285637 [JUnit] Improve discoverability of the ability to run a single method under JUnit Tests
I'm happy to write the patch. The problem is that it's rather undiscoverable that you can run a single method from a single test -- only through the launch shortcut. I propose a solution that makes it clear you can select a single method: The method name is still only shown as a label, but it's _always_ visible, and says something like "(all)" as a default. There's a "Search..." button that uses the test name to find available candidate methods. Thoughts?
2009-08-04 17:12:10
1,249,420,000
resolved fixed
6a8449d
1,259,880,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitMessages.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/launcher/JUnitLaunchConfigurationTab.java
JDT
660
276,466
Bug 276466 [call hierarchy] Improve UI for View Menu Preferences
null
2009-05-15 06:10:26
1,242,380,000
verified fixed
0304253
1,259,870,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyContentProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/ExpandWithConstructorsConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/ExpandWithConstructorsDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
JDT
661
296,439
Bug 296439 [templates] Hard to extend Templates View - no access to template store and current selection
null
2009-11-30 04:21:56
1,259,570,000
resolved fixed
bd7becd
1,259,850,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaTemplatesPage.java
JDT
662
249,593
Bug 249593 Cannot set default compiler level for product
Build ID: org.eclipse.jdt.core_3.4.1.v_877a_R34x.jar Steps To Reproduce: We have a product where we'd like the default compiler level set to 1.5 instead of 1.6 (which is the default). We added these lines to our product customization ini file: org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.source=1.5 org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance=1.5 However if we launch our product on a new workspace, these values get overwritten and replaced with 1.6. The above is how we customize all kinds of preferences. These ones don't seem to be working for us though. Is there something we're doing wrong? More information:
2008-10-03 08:42:11
1,223,040,000
resolved fixed
918594b
1,259,750,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
JDT
663
295,905
Bug 295905 Open in External Browser does not work any more for URL in Javadoc view
null
2009-11-23 13:12:45
1,259,000,000
verified fixed
6acf457
1,259,670,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/InfoViewMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAttachedJavadocAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java
JDT
664
288,211
Bug 288211 APT uses a lot of memory
null
2009-09-01 02:15:50
1,251,790,000
verified fixed
55969dd
1,259,580,000
org.eclipse.jdt.astview/src/org/eclipse/jdt/astview/views/ASTView.java
JDT
665
296,229
Bug 296229 @code tag always prepended by space
null
2009-11-26 08:33:59
1,259,240,000
resolved fixed
3e78d7a
1,259,260,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java
JDT
666
295,901
Bug 295901 [JUnit] CCE when opening an editor
Using eclipse.buildId=I20091118-1342 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 in my .log file. I don't know exactly what I was doing when this occurred. java.lang.ClassCastException: org.eclipse.compare.internal.CompareEditor cannot be cast to org.eclipse.ui.texteditor.ITextEditor at org.eclipse.jdt.internal.junit.ui.OpenEditorAction.run(OpenEditorAction.java:76) at org.eclipse.jdt.internal.junit.ui.FailureTrace$1.handleOpen(FailureTrace.java:77) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298) 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:3931) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3524) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2404) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2368) 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)
2009-11-23 12:43:19
1,259,000,000
resolved fixed
7283118
1,259,060,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/OpenEditorAction.java
JDT
667
295,897
Bug 295897 [navigation] Remove workaround in open implementation after search is fixed for nested types.
null
2009-11-23 11:49:43
1,258,990,000
resolved fixed
2f0880f
1,259,050,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaElementImplementationHyperlink.java
JDT
668
235,253
Bug 235253 [organize imports] Organize imports removes needed import statement.
Build ID: I20080330-1350 (3.4M6) Steps To Reproduce: Please organize imports and see that the import statement is wrongly removed, causing a compile error. In the sample below, I put both classes in the same compilation unit. But the problem also occurs if in different units. ------------ bug/Bug.java ------------------ package bug; import bug.Bug.*; class Bug{ interface Proto{}; }class Foo implements Proto{}
2008-06-02 21:13:46
1,212,460,000
verified fixed
bbe295d
1,258,650,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
JDT
669
251,789
Bug 251789 Open External Javadoc should use Web Browser settings
null
2008-10-22 18:32:13
1,224,710,000
verified fixed
0d9e6aa
1,258,540,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPluginImages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenBrowserUtil.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/OpenExternalBrowserAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IJavaEditorActionDefinitionIds.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/JdtActionConstants.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAttachedJavadocAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java
JDT
670
262,511
Bug 262511 [quick fix] Wrong quick fixes for "The type X is not visible"
Build id: M20080911-1700 Using the test case below (3 java files), there is one compiler error "The type Field is not visible". 2 quick fixes are proposed in the hoover: 1/ Change visibility of 'field' to 'public' 2/ Change to 'field' The first one is wrog because 'field' is already public, AND because the error doens't come from the access of the field, but the access of the type of the field. The second one, is useless since it doesn't do anything. // === package tests; import tests.sub.Container; public class Main { void foo() { Container container = new Container(); String s = container.field.getBar(); } } // === package tests.sub; public class Container { public Field field; } // === package tests.sub; class Field { public String getBar() { return "Bar"; } }
2009-01-27 03:22:00
1,233,040,000
resolved fixed
bab683f
1,258,460,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
JDT
671
295,230
Bug 295230 [JUnit] Opening JUnit view loads preference page class
I20091110-0800. Opening JUnit view loads preference page class. This is a blooper.
2009-11-16 06:23:50
1,258,370,000
resolved fixed
4cbbf55
1,258,390,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitPreferencesConstants.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/EnableStackFilterAction.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/FailureTrace.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
JDT
672
140,392
Bug 140392 [JUnit] Rerun failed first does not work with JUnit4
null
2006-05-05 12:51:20
1,146,850,000
resolved fixed
dc9b283
1,258,390,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/FailuresFirstSorter.java org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestClassReference.java org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestLoader.java org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestMethodReference.java org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestReference.java org.eclipse.jdt.ui.tests/junit4/org/eclipse/jdt/junit/tests/RerunFailFirstTests.java
JDT
673
295,208
Bug 295208 [JUnit] Switching between JUnit history not working
null
2009-11-16 04:21:43
1,258,360,000
verified fixed
8b63dcb
1,258,380,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java
JDT
674
30,881
Bug 30881 [type hierarchy] Type hierarchy should be computed in a background thread
I20030129++ The type hierarchy is currently computed in the UI thread. We should do it in the background thread and should make it cancelable.
2003-02-04 11:49:48
1,044,380,000
verified fixed
fbd24ea
1,258,140,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
JDT
675
294,893
Bug 294893 [quick fix] Visibility quickfix does nothing if implicit constructor
null
2009-11-11 12:48:07
1,257,960,000
resolved fixed
55ce37b
1,258,050,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
JDT
676
294,856
Bug 294856 [encapsulate field] Back + Preview or OK ==> duplicated code
I20091111-0800. 1. paste this: public class Bug { private int i; } 2. Refactor > Encapuslate Field... 3. click Preview 4. click Back 5. click Preview or OK ==> code is duplicated
2009-11-11 06:17:11
1,257,940,000
verified fixed
ae4ba51
1,258,050,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
JDT
677
294,768
Bug 294768 [clean up] Save Action; 'Add final modifier to private fields' over aggressive
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15 Build Identifier: 20090920-1017 The java save action 'Add final modifier to private fields' will apply a final modifier to a member variable that is defined as transient. As final transient member fields are almost always wrong, (as after serialization the field will be null) i believe that eclipse should not be doing this save action when the field is transient. Reproducible: Always Steps to Reproduce: 1.create a member that is private and transient. 2.turn on java save action "Add final modifier to private fields" 3.save the class 4.the final attribute is applied to the transient member field
2009-11-10 12:16:26
1,257,870,000
resolved fixed
2d14744
1,258,050,000
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
678
292,860
Bug 292860 [preferences] Finish adding note to Compiler > Javadoc pref page
I20091013-1302. Initial changes have been made to add a note to the Compiler > Javadoc pref page. This needs to be finished: 1. "Note:" is not bold as elsewhere in the preference. Notes should be added using PreferencePage.createNoteComposite(Font, Composite, String, String) 2. strings are not externalized 3. work in progress comments should be removed
2009-10-21 03:49:09
1,256,110,000
verified fixed
200011e
1,258,030,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocProblemsConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java
JDT
679
294,833
Bug 294833 [hovering] Improper hover triggered due to bad hover order
null
2009-11-10 21:15:20
1,257,910,000
resolved fixed
0203ff6
1,257,960,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BestMatchHover.java
JDT
680
247,012
Bug 247012 [nls tooling] Find Broken Externalized Strings could handle constants for message keys
If I externalize strings using non-Eclipse-style, then change the literal key strings in the code to constants, the Find Broken Externalized Strings function reports such keys as undefined in the code, and unused in the properties file. For example, with this class, public class Main { private static final String MAIN_INDIRECT = "Main.indirect"; public static void main(String[] args) { System.out.println(Messages.getString("Main.direct")); //$NON-NLS-1$ System.out.println(Messages.getString(MAIN_INDIRECT)); //$NON-NLS-1$ } } the "Main.indirect" key is reported as undefined and unused. We have a lot of externalized strings, can't use Eclipse-style externalization, and like to have the keys defined as constants for improved readability and maintainability. It's unfortunate to lose the ability to check for broken string externalization.
2008-09-11 09:17:28
1,221,140,000
verified fixed
74d199e
1,257,940,000
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
681
294,763
Bug 294763 Compiler Errors/Warnings preference page doesn't resize well
null
2009-11-10 11:40:18
1,257,870,000
resolved fixed
bab0c9b
1,257,890,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesPreferencePage.java
JDT
682
51,187
Bug 51187 [content assist] should filter setters for final fields
Many classes have constants defined as public static final or protected staticd final with name in all caps. You don't really need getter and setter (since it is final) for the constants. They should not be displayed by default when you go to Generate getter and setter dialog since they are taking real esteate and make it difficult to find real class attributes.
2004-02-04 14:31:53
1,075,920,000
verified fixed
e8dac73
1,257,770,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java
JDT
683
272,532
Bug 272532 [clean up] "Use modifier 'final' where possible" can introduce compile errors
Build ID: I20090313-0100 Steps To Reproduce: 1. Create a class with a private field and a constructor that can return before assigning to said field. e.g. class Choo { private int a; Choo(int b) { if (1 == b) return; a = 2; } } 2. Source -> Cleanup.. 3. Ensure Code Style -> Variable declarations -> Use modifier 'final' where possible -> Private fields is ticked. 4. Run the clean-up. 'final' will be added to the private field (a), which will cause the constructor to error: "The blank final field a may not have been initialized" Can work around this by putting in the implicit "=0;" on the private field. -- java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB Command-line arguments: -os win32 -ws win32 -arch x86_64
2009-04-16 13:26:16
1,239,900,000
resolved fixed
479711a
1,257,440,000
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
684
294,322
Bug 294322 [jar exporter] Runnable JAR Export - problem with special characters in included JAR-in-JAR filenames
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.14) Gecko/2009091008 Firefox/3.0.6 (Debian-3.0.6-3) Build Identifier: 20090619-0625 When exporting a "Runnable JAR File" from an Eclipse project which itself contains JAR files, a class loader is included in the runnable JAR. This JAR-in-JAR class loader seems to have problems loading classes from JAR-files with filenames containing special characters like '+'. When running such a runnable JAR, an InvocationTargetException caused by NoClassDefFoundError is thrown. Reproducible: Always Steps to Reproduce: 1. Export a Runnable JAR File from an Eclipse project which references a JAR library. 2. Select option "Package required libraries into generated JAR" in the Export dialog. 3. Execute the runnable JAR.
2009-11-05 09:25:09
1,257,430,000
resolved fixed
7bfa7ac
1,257,430,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat/FatJarRsrcUrlManifestProvider.java
JDT
685
262,748
Bug 262748 [jar exporter] extract constants for string literals in JarRsrcLoader et al.
null
2009-01-28 08:38:58
1,233,150,000
resolved fixed
303d815
1,257,430,000
org.eclipse.jdt.ui/jar in jar loader/org/eclipse/jdt/internal/jarinjarloader/JIJConstants.java org.eclipse.jdt.ui/jar in jar loader/org/eclipse/jdt/internal/jarinjarloader/JarRsrcLoader.java org.eclipse.jdt.ui/jar in jar loader/org/eclipse/jdt/internal/jarinjarloader/RsrcURLConnection.java org.eclipse.jdt.ui/jar in jar loader/org/eclipse/jdt/internal/jarinjarloader/RsrcURLStreamHandler.java org.eclipse.jdt.ui/jar in jar loader/org/eclipse/jdt/internal/jarinjarloader/RsrcURLStreamHandlerFactory.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat/FatJarRsrcUrlAntExporter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat/FatJarRsrcUrlManifestProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat/JIJConstants.java
JDT
686
293,446
Bug 293446 [JUnit] Importing from URL does not show progress
null
2009-10-27 10:32:03
1,256,650,000
verified fixed
a1b9e80
1,257,250,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
JDT
687
293,428
Bug 293428 [JUnit] compiler warning in I20091027-0100
null
2009-10-27 09:19:18
1,256,650,000
verified fixed
c1c32a5
1,256,650,000
org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestLoader.java
JDT
688
262,050
Bug 262050 Unclear directions in New Java Project wizard
Build ID: I20080617-2000 Steps To Reproduce: 1. File->New->Java Project. 2. In the first panel, in the frame entitled "Contents", the option "Create project from existing source" should be renamed to "Create project files in specific directory." More information: I am suggesting this change because the new text more closely matches the function of this item: the project files are put in the selected directory, and code can be linked in from any location regardless of where the project files are. You are not actually bound to put the source in the same directory as the project files.
2009-01-22 12:15:36
1,232,640,000
verified fixed
5233633
1,256,290,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewJavaProjectWizardPageOne.java
JDT
689
276,424
Bug 276424 [content assist][preferences] 'Favorites > Edit' button opens dialog with title "New ..."
I20090514-2000. The Java > Editor > Content Assist > Favorites preference page's Edit button opens a dialog with "New ..." in the title. It should be "Edit ...".
2009-05-15 02:42:19
1,242,370,000
verified fixed
0fe2aba
1,256,200,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistFavoritesConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java
JDT
690
260,531
Bug 260531 [compare] auto-indent not working as expected
HEAD. Auto-indent does not work as expected in the Java compare editor (it behaves like in text editor and not like in Java editor). If you have e.g.: if (tools != null) {<CARET> IEditorInput editorInput= getEditorInput(sourceViewer); sourceViewer.unconfigure(); } and hit return, then you should get: if (tools != null) { <CARET> IEditorInput editorInput= getEditorInput(sourceViewer); sourceViewer.unconfigure(); } But instead we get: if (tools != null) { <CARET> IEditorInput editorInput= getEditorInput(sourceViewer); sourceViewer.unconfigure(); }
2009-01-09 06:51:32
1,231,500,000
verified fixed
52b5d1d
1,256,190,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
JDT
691
292,903
Bug 292903 [quick fix] NPE for quick fix on array fields
I20091020-0931 Use the following snippet and hit Ctrl+1 while the cursor is on "length". public class A { public int f() { String[] foo = new String[] {}; return foo.length; } } -- Error Details -- Date: Wed Oct 21 16:50:03 CEST 2009 Message: Exception while processing quick fixes or quick assists Severity: Error Product: Eclipse SDK 3.6.0.v200910200931 (org.eclipse.sdk.ide) Plugin: org.eclipse.jdt.ui Exception Stack Trace: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.dom.Bindings.findMethodInType(Bindings.java:345) at org.eclipse.jdt.internal.corext.dom.Bindings.findMethodInHierarchy(Bindings.java:371) at org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor.findGetter(GetterSetterCorrectionSubProcessor.java:301) at org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor.addGetterProposal(GetterSetterCorrectionSubProcessor.java:273) at org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor.getProposal(GetterSetterCorrectionSubProcessor.java:262) at org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor.addGetterSetterProposal(GetterSetterCorrectionSubProcessor.java:234) at org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor.addGetterSetterProposal(GetterSetterCorrectionSubProcessor.java:211) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getAssists(AdvancedQuickAssistProcessor.java:165) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeAssistCollector.safeRun(JavaCorrectionProcessor.java:399) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.run(JavaCorrectionProcessor.java:337) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor$SafeCorrectionProcessorAccess.process(JavaCorrectionProcessor.java:327) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectAssists(JavaCorrectionProcessor.java:503) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectProposals(JavaCorrectionProcessor.java:285) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.computeQuickAssistProposals(JavaCorrectionProcessor.java:240) at org.eclipse.jface.text.quickassist.QuickAssistAssistant$ContentAssistProcessor.computeCompletionProposals(QuickAssistAssistant.java:73) 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.jface.text.quickassist.QuickAssistAssistant.showPossibleQuickAssists(QuickAssistAssistant.java:126) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAssistant.showPossibleQuickAssists(JavaCorrectionAssistant.java:190) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:194) at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129) 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:1472) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1210) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1195) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1222) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:712) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2824) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1627) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4573) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4176) 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:7643) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1190) 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:1871) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3095) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2404) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2368) 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)
2009-10-21 10:53:02
1,256,140,000
resolved fixed
e92143f0
1,256,140,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/GetterSetterCorrectionSubProcessor.java
JDT
692
251,741
Bug 251741 [implementation] BadLocationExceptions when inserting code inside a javadoc comment
I got this error, but I have no clue how to reproduce it. This was inside a target eclipse. I was editing a javadoc comment. I am using I20081021-0905. org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1061) at org.eclipse.jface.text.TreeLineTracker.lineByOffset(TreeLineTracker.java:271) at org.eclipse.jface.text.TreeLineTracker.getLineNumberOfOffset(TreeLineTracker.java:1143) at org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTracker.java:161) at org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:881) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getLineOfOffset(SynchronizableDocument.java:398) at org.eclipse.pde.api.tools.internal.search.AbstractProblemDetector.createProblem(AbstractProblemDetector.java:107) at org.eclipse.pde.api.tools.internal.search.AbstractProblemDetector.createProblems(AbstractProblemDetector.java:270) at org.eclipse.pde.api.tools.internal.search.ReferenceAnalyzer.analyze(ReferenceAnalyzer.java:185) at org.eclipse.pde.api.tools.internal.search.ReferenceAnalyzer.analyze(ReferenceAnalyzer.java:406) at org.eclipse.pde.api.tools.internal.builder.BaseApiAnalyzer.checkApiUsage(BaseApiAnalyzer.java:575) at org.eclipse.pde.api.tools.internal.builder.BaseApiAnalyzer.analyzeComponent(BaseApiAnalyzer.java:192) at org.eclipse.pde.api.tools.internal.builder.ApiAnalysisBuilder.build(ApiAnalysisBuilder.java:619) at org.eclipse.pde.api.tools.internal.builder.ApiAnalysisBuilder.build(ApiAnalysisBuilder.java:338) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I also got this one inside my host: org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.link.LinkedPositionGroup.enforceDisjoint(LinkedPositionGroup.java:148) at org.eclipse.jface.text.link.LinkedPositionGroup.addPosition(LinkedPositionGroup.java:112) at org.eclipse.jdt.internal.ui.viewsupport.LinkedProposalModelPresenter.enterLinkedMode(LinkedProposalModelPresenter.java:94) at org.eclipse.jdt.internal.ui.text.correction.proposals.CUCorrectionProposal.performChange(CUCorrectionProposal.java:335) at org.eclipse.jdt.internal.ui.text.correction.proposals.CUCorrectionProposal.apply(CUCorrectionProposal.java:304) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:929) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:875) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$27(CompletionProposalPopup.java:871) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$5.widgetDefaultSelected(CompletionProposalPopup.java:653) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:113) 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:3848) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3446) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) 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:193) 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:370) 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:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
2008-10-22 13:08:00
1,224,700,000
resolved fixed
5074087
1,255,690,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ToggleCommentAction.java
JDT
693
292,491
Bug 292491 org.eclipse.jdt.internal.corext.codemanipulation.AddGetterSetterOperation method[generateSetterMethod] has a miss
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3) Build Identifier: 20090920-1017 When studing AddGetterSetterOperationa problem happened. Method - generateGetterMethod if (existing == null || !querySkipExistingMethods(existing)) Method - generateSetterMethod if (existing == null || querySkipExistingMethods(existing)) in the method generateSetterMethod, I thingk have to add a "!". Reproducible: Always Steps to Reproduce: 1.confirm the AddGetterSetterOperation's source
2009-10-15 22:30:18
1,255,660,000
closed fixed
90c0137
1,255,680,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddGetterSetterOperation.java
JDT
694
288,060
Bug 288060 [quick fix]: Ctrl-2 + L to trigger quick fix causes NPE if the method returns an array (Mobile projects only)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) Build Identifier: Pulsar for Mobile Java Developers. Build id: 20090619-0625 The Quick-Fix obtained by Ctrl-1 or Ctrl-2, L (and as well for class fields) foes not work if the resulting field/variable would be an array type. This is caused by a NPE for which the stacktrace is attached. Reproducible: Always Steps to Reproduce: 1. Create a new empty MTJ project 2. Add a class with the following methods: public class TestClass { public int[] test() { return null; } public void test2() { this.test(); } } 3. Set the cursor to "this.test();" and press Ctrl-2 and then L 4. Nothing happens, but a stacktrace will appear in the .log file of the workspace. However this shortcut works fine for the same class if contained in a normal JavaSE project. I did retest this with the 3.5. RC1 build of eclipse and the bug is still there.
2009-08-30 16:05:35
1,251,660,000
verified fixed
2c25b1e
1,255,540,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
JDT
695
113,731
Bug 113731 [refactoring] preview page gets bigger and bigger
Hi I am not quite sure if this is the right Component to report this bug - for an outsider it is quite difficult to determine which Component causes a "strange" behaviour. Here is my bug: Calling the refactoring on and on again causes the "Rename Package" Window to get a little bit bigger every time. I use IBM RAD 6.0.1 but I think this feature has nothing to do with the extra stuff from IBM. Cheers, Thomas
2005-10-26 01:48:28
1,130,310,000
resolved fixed
e9bd607
1,255,540,000
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java
JDT
696
203,132
Bug 203132 [hashcode/equals] Remove unnecessary warning from hashcode/equals generator
** Background: When using Source->Generate hashCode() and equals(), there is a check on whether all included fields implement their own version of hashCode() and equals(). If one of the fields does not implement hashCode() or equals(), then the following warning is shown (see example below). For example, attempt to run the hashCode/equals generator for the following class: <code> import java.util.ArrayList; public class HashCodeEquals { private ArrayList<Integer> myList; /** * @param myList */ public HashCodeEquals( ArrayList<Integer> myList ) { super(); this.myList = myList; } } </code> The following "problem" is found: "The field type 'java.util.ArrayList<java.lang.Integer>' does not implement equals() and hashCode() - the resulting code may not work correctly." ** What I'm requesting: Currently, this check for equals() and hashCode() only looks in the class of the field itself, not any of its ancestors (super classes) of that class. This make sense, because looking at the entire ancestry would reveal Object's implementation, and so we'd always have a positive. I propose checking the entire ancestry, except for Object itself. If one of the ancestor classes (except Object) implements hashCode() and equals(), then the above warning should not be issued for the field in question. In the example above, the superclass of ArrayList, java.util.AbstractList, does in fact implement both hashCode() and equals(), so it should be safe.
2007-09-12 15:21:51
1,189,620,000
resolved fixed
62425d3
1,255,540,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java
JDT
697
279,124
Bug 279124 [quick assist] 'Remove extra parenthesis' removes comment
Build ID: I20090522-1710 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product Steps To Reproduce: 1. Create a class like: class PND { void foo() { int a = 7; if (a != 4 && // check a is 5 (a != 5)) { System.out.println(a); } } } 2. Place the cursor before the the open bracket: (a != 5) 3. Quick-fix -> remove extra parenthesis 4. Recieve: if (a != 4 && a != 5) { System.out.println(a); } ..with the comment destroyed. There are other issues about comments being removed when, say, a local variable is inlined, but I believe this to be a separate case.
2009-06-04 11:42:57
1,244,130,000
resolved fixed
3f59e1e
1,255,540,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java
JDT
698
291,996
Bug 291996 [compare] Invalid thread access from JavaMergeViewer during extracting method
I was extracting method in the source with compilation errors. Error dialog disappeared, so I guess some shell was presented and closed after the error. org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3952) at org.eclipse.swt.SWT.error(SWT.java:3867) at org.eclipse.swt.SWT.error(SWT.java:3838) at org.eclipse.swt.widgets.Widget.error(Widget.java:463) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:355) at org.eclipse.swt.custom.StyledText.replaceStyleRanges(StyledText.java:7191) at org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4776) at org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4855) at org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:579) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:568) at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:225) at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2806) at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3426) at org.eclipse.compare.contentmergeviewer.TextMergeViewer.invalidateTextPresentation(TextMergeViewer.java:1686) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.handlePropertyChange(JavaMergeViewer.java:174) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.access$4(JavaMergeViewer.java:166) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer$2.propertyChange(JavaMergeViewer.java:455) at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:164) at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:431) at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408) at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69) at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372) at org.eclipse.ui.preferences.ScopedPreferenceStore$2.preferenceChange(ScopedPreferenceStore.java:194) at org.eclipse.core.internal.preferences.EclipsePreferences$2.run(EclipsePreferences.java:753) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:756) at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:769) at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:789) at org.eclipse.jface.text.templates.persistence.TemplateStore.save(TemplateStore.java:215) at org.eclipse.jdt.internal.ui.CompatibilityTemplateStore.load(CompatibilityTemplateStore.java:64) at org.eclipse.jdt.internal.ui.JavaPlugin.getCodeTemplateStore(JavaPlugin.java:899) at org.eclipse.jdt.internal.ui.viewsupport.ProjectTemplateStore.<init>(ProjectTemplateStore.java:47) at org.eclipse.jdt.internal.corext.codemanipulation.StubUtility.getCodeTemplate(StubUtility.java:1439) at org.eclipse.jdt.internal.corext.codemanipulation.StubUtility.getMethodComment(StubUtility.java:616) at org.eclipse.jdt.ui.CodeGeneration.getMethodComment(CodeGeneration.java:196) at org.eclipse.jdt.internal.corext.refactoring.code.ExtractMethodRefactoring.createNewMethod(ExtractMethodRefactoring.java:908) at org.eclipse.jdt.internal.corext.refactoring.code.ExtractMethodRefactoring.createChange(ExtractMethodRefactoring.java:486) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209) 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) org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3952) at org.eclipse.swt.SWT.error(SWT.java:3867) at org.eclipse.swt.SWT.error(SWT.java:3838) at org.eclipse.swt.widgets.Widget.error(Widget.java:463) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:355) at org.eclipse.swt.custom.StyledText.replaceStyleRanges(StyledText.java:7191) at org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4776) at org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4855) at org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:579) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:568) at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:225) at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2806) at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3426) at org.eclipse.compare.contentmergeviewer.TextMergeViewer.invalidateTextPresentation(TextMergeViewer.java:1686) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.handlePropertyChange(JavaMergeViewer.java:174) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.access$4(JavaMergeViewer.java:166) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer$2.propertyChange(JavaMergeViewer.java:455) at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:164) at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:431) at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408) at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69) at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372) at org.eclipse.ui.preferences.ScopedPreferenceStore$2.preferenceChange(ScopedPreferenceStore.java:194) at org.eclipse.core.internal.preferences.EclipsePreferences$2.run(EclipsePreferences.java:753) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:756) at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:769) at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:789) at org.eclipse.jface.text.templates.persistence.TemplateStore.save(TemplateStore.java:215) at org.eclipse.jdt.internal.ui.CompatibilityTemplateStore.load(CompatibilityTemplateStore.java:64) at org.eclipse.jdt.internal.ui.JavaPlugin.getCodeTemplateStore(JavaPlugin.java:899) at org.eclipse.jdt.internal.ui.viewsupport.ProjectTemplateStore.<init>(ProjectTemplateStore.java:47) at org.eclipse.jdt.internal.corext.codemanipulation.StubUtility.getCodeTemplate(StubUtility.java:1439) at org.eclipse.jdt.internal.corext.codemanipulation.StubUtility.getMethodComment(StubUtility.java:616) at org.eclipse.jdt.ui.CodeGeneration.getMethodComment(CodeGeneration.java:196) at org.eclipse.jdt.internal.corext.refactoring.code.ExtractMethodRefactoring.createNewMethod(ExtractMethodRefactoring.java:908) at org.eclipse.jdt.internal.corext.refactoring.code.ExtractMethodRefactoring.createChange(ExtractMethodRefactoring.java:486) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209) 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)
2009-10-11 10:35:40
1,255,270,000
resolved fixed
cf0225a
1,255,510,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaMergeViewer.java
JDT
699
272,418
Bug 272418 [JUnit] Support for JUnit 4.7
null
2009-04-15 19:57:41
1,239,840,000
resolved fixed
964492b
1,255,460,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/P2Utils.java
JDT
700
153,079
Bug 153079 [search] search button should be disabled when all "Search In" checkboxes cleared
null
2006-08-08 07:12:37
1,155,040,000
resolved fixed
2e2f8f9
1,255,360,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
JDT
701
282,755
Bug 282755 [quick assist] "Use 'StringBuilder' for string concatenation" could fix existing misuses
I've seen a lot of code that looks like: StringBuilder sb = new StringBuilder(); sb.append("high" + 5); sb.append("more" + STUFF + "here"); etc. Currently, Eclipse will refactor this to e.g.: StringBuilder sb = new StringBuilder(); StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("high") stringBuilder.append(5); sb.append(stringBuilder.toString()); sb.append("more" + STUFF + "here"); ...which isn't exactly great (although correct). The attached patch will make that refactor result in: StringBuilder sb = new StringBuilder(); sb.append("high") sb.append(5); sb.append("more" + STUFF + "here"); ..which is a lot closer to what I'd expect. It only looks for variableName.append(blah blah blah);, i.e. not in expressions, or with an expression on the left. It works inside single-line ifs, as the original did. I've not written code against the Eclipse API before, and sacrificed my normal code style in the name of keeping the patch small (ignoring whitespace), buyer beware.
2009-07-07 18:05:15
1,247,000,000
resolved fixed
4064e2d
1,255,360,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
JDT
702
289,228
Bug 289228 [build path] Setting Classpath Variables Hangs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.12) Gecko/2009070611 Firefox/3.0.12 (.NET CLR 3.5.30729) Build Identifier: M20090211-1700 I have been using Ganymede on a new machine (Vista 32 bit) with a single workspace (default) for a couple of months now with no issues. I created a new workspace to work on a different branch of code. In the new workspace, I set up two classpath variables and noticed I set the directory in one wrong. I selected it, hit "Edit", changed the directory to the correct one and clicked "OK". When I click "OK" on the "Preferences" window I am prompted to do a full rebuild. It doesn't matter if I choose "Yes" or "No", I get the "Progress Information" window informing me that it is "Setting classpath variables..." and it just sits there. I have let it go for over 30 minutes without any changes. If I click "Cancel" the button depresses, but again, it just sits there. I have to kill the process in task manager (which warns me the application is waiting for my input?). If I switch back to the old workspace, edit a classpath variable, then switch to the new workspace, SOMETIMES it will let me edit a classpath variable successfully, but not always. I can always successfully edit the classpath variables in my original workspace. The classpath variable names in the new workspace are the same as those I have in the old workspace - I don't know if this is a factor or not. Reproducible: Sometimes Steps to Reproduce: 1. Create new workspace 2. Create classpath variables 3. Edit Folder element of classpath variable 4. Choose "No" when prompted to rebuild workspace
2009-09-11 11:38:01
1,252,680,000
verified fixed
fae4d60
1,255,360,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
JDT
703
291,924
Bug 291924 hashCode() and equals() break when extending abstract class
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Build Identifier: M20090917-0800 I have an abstract base class for database objects that specifies a few basic methods that all database objects need. To enforce that all objects override equals() and hashCode() I have made those methods abstract in the base class forcing the subclasses to implement them. However, the generate hashCode() and equals() tool makes calls to super.equals() and super.hashCode() which then fail to compile since they are abstract methods. These calls are not made if the hashCode() and equals() are not defined in the abstract super class. In short, equals() and hashCode() should not call super() if super() is abstract. Reproducible: Always Steps to Reproduce: 1.Create abstract class with equals() and hashCode() as abstract methods 2.Extend abstract class 3.attempt to generate equals() and hashCode()
2009-10-09 11:32:21
1,255,100,000
verified fixed
5614169
1,255,110,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateHashCodeEqualsTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java
JDT
704
291,893
Bug 291893 [search] UI for finegrained search options is missing some options
null
2009-10-09 07:17:49
1,255,090,000
resolved fixed
173a4c7
1,255,090,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchLocations.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchMessages.java
JDT
705
290,916
Bug 290916 [JUnit] Recreate Testsuite should uncheck AllTests by default
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: M20090211-1700 By default when using the Recreate Testsuite-Wizard it also checks the AllTests-Suite itself to be included and shows a warning. I wonder why this choice was made, since I always have to uncheck it inorder to prevent a Stackoverflowerror when running the AllTests-Suite afterwards. Is there any special reason for this behaviour? May be you could add an option somewhere in the preferences or remember the last choice when using the wizard. Reproducible: Always
2009-09-30 10:16:45
1,254,320,000
resolved fixed
8ed9081
1,254,920,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/SuiteClassesContentProvider.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/UpdateTestSuite.java
JDT
706
290,913
Bug 290913 [JUnit] Testsuites created by New Testsuite-Wizard have a fix name
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: When creating a new TestSuite using the Wizard the generated suite-method creates a TestSuite with a fixed name: TestSuite suite = new TestSuite("Test for fullyqualified.package.name"); It would be a nice feature when the testsuite were created by using the package name obtained through reflection: TestSuite suite = new TestSuite("Test for " + AllTests.class.getPackage().getName()); This way its junit-label is also changed when the suite is moved to another package. Reproducible: Always
2009-09-30 10:07:25
1,254,320,000
resolved fixed
2f1045b
1,254,920,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestSuiteWizardPage.java
JDT
707
290,491
Bug 290491 [preferences] EE/JRE vs. compiler compliance inconsistency should be better visible
R3.5. We show a message at the bottom of the 'Java Compiler' page if the JRE/EE doesn't fit well together with the compiler compliance. Unfortunately this can easily be overseen. We should either show a warning icon along with a small text pointing to the longer version at the bottom or put a warning icon in front of the current message. The latter might be a better solution.
2009-09-25 05:08:37
1,253,870,000
verified fixed
c885f72
1,254,850,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
JDT
708
282,770
Bug 282770 [compiler] Dead code detection should have specific @SuppressWarnings
As far as I can tell there is no option to selectively turn off dead code detection warnings using the @SuppressWarnings annotation. The feature either has to be disabled (globally/per-project) or @SuppressWarnings("all") has to be used. While the latter is acceptable, it seems a specific @SuppressWarnings("dead-code") could be appropriate or alternatively it could be considered to fall under the @SuppressWarnings("unused") category.
2009-07-07 23:48:32
1,247,020,000
verified fixed
d77e4d5
1,254,830,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java
JDT
709
144,249
Bug 144249 [rename] NPE when renaming a local variable
3.2RC6 Note that I have not been able to reproduce this in a clean workspace, so the root problem likely happened in some steps that preceded the steps below. However the workspace that this happened in was pretty new, so whatever got it into its bad state did not take much effort. Hopefully the stack gives a clue of what's happening since something is apparently null that is not expected to be. My steps were: - retrieve the org.eclipse.swt and org.eclipse.swt.win32.win32.x86 projects from dev.eclipse.org - in the Navigator view rename org.eclipse.swt's .classpath_win32 to .classpath - create the class in the next attachment, and have the build path of its parent project point at the org.eclipse.swt project so that it compiles fine - in the class' line that creates the Shell, select the shell local variable, right-click -> Refactor -> Rename - enter "composite" as the new value and press OK - I got the "An internal error has occurred..." dialog here, and the following dump: 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:304) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:545) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:154) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:611) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:433) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:508) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:132) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:145) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.activate(UserInterfaceStarter.java:56) at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter.activate(RenameUserInterfaceStarter.java:151) at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java:114) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startRenameRefactoring(RefactoringExecutionStarter.java:382) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:172) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:131) at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:117) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:271) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.rename.RenameAnalyzeUtil$ProblemNodeFinder.getProblemNodes(RenameAnalyzeUtil.java:81) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameAnalyzeUtil.analyzeLocalRenames(RenameAnalyzeUtil.java:424) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameLocalVariableProcessor.doCheckFinalConditions(RenameLocalVariableProcessor.java:270) at org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameProcessor.checkFinalConditions(JavaRenameProcessor.java:46) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:175) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:118) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:189) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) 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.rename.RenameAnalyzeUtil$ProblemNodeFinder.getProblemNodes(RenameAnalyzeUtil.java:81) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameAnalyzeUtil.analyzeLocalRenames(RenameAnalyzeUtil.java:424) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameLocalVariableProcessor.doCheckFinalConditions(RenameLocalVariableProcessor.java:270) at org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameProcessor.checkFinalConditions(JavaRenameProcessor.java:46) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:175) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:118) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:189) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
2006-05-29 11:32:16
1,148,920,000
resolved fixed
4c99099
1,254,750,000
org.eclipse.jdt.ui.tests.refactoring/resources/RenameTemp/canRename/A_test64_in.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameTemp/canRename/A_test64_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenameTempTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/RefactoringASTParser.java
JDT
710
289,992
Bug 289992 Use IResource#setDerived(boolean, IProgressMonitor) instead of IResource#setDerived(boolean)
null
2009-09-21 07:20:36
1,253,530,000
resolved fixed
1887141
1,254,500,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
JDT
711
285,814
Bug 285814 [clean up] 'Remove unnecessary $NLS-TAGS$' removes necessary ones in case of syntax errors
The save action 'Remove unnecessary $NLS-TAGS$' has removed all my neccessary tags of a file more than once. This now stops me from using the otherwise great feature. Here is an example how to reproduce the issue: 1) Enable the save action. 2) Start with the following code and save it. public class Test { String bla= ""; //$NON-NLS-1$ } 3) Change the keyword 'void' and save the file: public class Test { void String bla= ""; //$NON-NLS-1$ } 4) The tag is removed :-(. public class Test { void String bla= ""; }
2009-08-06 03:05:26
1,249,540,000
resolved fixed
6e46247
1,254,490,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/StringFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/StringCleanUp.java
JDT
712
242,244
Bug 242244 [extract interface] 'Extract interface' should offer to 'Generate @Override annotation'
null
2008-07-28 10:51:31
1,217,260,000
resolved fixed
de2a508
1,253,810,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test109/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test109/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test109/out/I.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractInterfaceTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractInterfaceWizard.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java
JDT
713
178,238
Bug 178238 [quick fix] lightbulb shown although there's no SuppressWarnings quick fix for user-configured error
I20070320-0010 - Have this class in a 5.0 project: public class T { void m() { Object a= null; if (a == null) // quick fix? return; } } - Set 'Redundant null check' problem to Error => There's a quick fix light bulb, but Ctrl+1 does not show a quick fix. The problem is that SuppressWarningsSubProcessor.hasSuppressWarningsProposal(int) returns true for this problem, but addSuppressWarningsProposals(..) only adds a quick fix if the problem severity is not error. hasSuppressWarningsProposal(..) should check the configured severity and only return the token if the severity is not error.
2007-03-20 08:09:30
1,174,390,000
resolved fixed
15d4637
1,253,800,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SuppressWarningsSubProcessor.java
JDT
714
290,034
Bug 290034 Effects of @SuppressWarnings("unchecked") are broader in Eclipse than in javac
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: 20090619-0625 Eclipse seems to overload "unchecked" warning suppression to also suppress raw uses of parameterized classes. Javac doesn't issue a warning in this case so there's nothing to suppress. However this does pose an issue when working with other IDE's as they will complain about the use of a raw parameterized class. The following snippet illustrates the difference: public class Foo<T> { //This is unchecked assignment //and should be suppressed using "unchecked" //This will appear as a warning in javac Foo<T>[] a = new Foo[10]; //This is raw use of a paramterized type //Not suppressed in javac using "unchecked" //This will NOT appear as a warning in javac Foo[] b = new Foo[10]; } The workaround is to declare b with a wildcard, e.g.: Foo<?>[] b = new Foo[10]; Reproducible: Always
2009-09-21 12:50:18
1,253,550,000
verified fixed
694cf42
1,253,730,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java
JDT
715
290,135
Bug 290135 Add new option for bug 163194 into the compiler preference page
null
2009-09-22 10:57:11
1,253,630,000
resolved fixed
26c4774
1,253,700,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.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/QuickFixProcessor.java
JDT
716
179,473
Bug 179473 [rename] Rename in Editor should enter linked mode if identifier cannot be resolved
N20070327-0010 'Refactor > Rename' in 'Rename in Editor' mode should enter linked mode if the selected identifier cannot be resolved. This is the last advantage of the 'Rename In File' quick assist over the in-place rename refactoring. E.g. Alt+Shift+R should link the two unresolved 'argument' references (but not show the refactoring popup at all): public class Try { void m(String arg) { System.out.println(argument + argument); } } Currently, we show a dialog that the element could not be resolved. Martin, do you agree?
2007-03-27 06:06:04
1,174,990,000
resolved fixed
014380c
1,253,300,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameJavaElementAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionCommandHandler.java
JDT
717
289,655
Bug 289655 [rename] Refactor rename in editor is slow with many matches
test case: public class Test { public void test(Object asdf) { if (asdf == null) asdf = null; if (asdf == null) asdf = null; if (asdf == null) asdf = null; if (asdf == null) asdf = null; if (asdf == null) asdf = null; if (asdf == null) asdf = null; } } Use Alt-Shift-R refactoring to change the name of asdf variable. Type quickly and you'll notice the editor quickly falls behind your typing. While investigating this we found that RenameInformationPopup calls updatePopupLocation every time a textChanged or keyPressed event occurs. This means a lot of calls to pack the shell, then update the region and change the shell's height to be one pixel taller. Resizing the shell less would really improve perfomance here on all platforms.
2009-09-16 16:51:00
1,253,130,000
resolved fixed
6e2bd48
1,253,280,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameInformationPopup.java
JDT
718
289,152
Bug 289152 [implementation] Class cast exception from editor while getting content from CVS
I had a .class file open in an editor (EclipseHomeVariableResolver), and then I went to get the source from CVS. While the source was being checked out, I got the following exception: eclipse.buildId=I20090908-0800 java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070201 (JIT enabled) J9VM - 20070131_11312_lHdSMR JIT - 20070109_1805ifx1_r8 GC - 200701_09 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 java.lang.ClassCastException: org.eclipse.ui.part.FileEditorInput incompatible with org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput at org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider.handleDeleted(ClassFileDocumentProvider.java:358) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider$ClassFileSynchronizer.check(ClassFileDocumentProvider.java:132) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider$ClassFileSynchronizer.check(ClassFileDocumentProvider.java:138) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider$ClassFileSynchronizer.check(ClassFileDocumentProvider.java:138) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider$ClassFileSynchronizer.elementChanged(ClassFileDocumentProvider.java:105) at org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1557) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1547) at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:1381) at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1357) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:769) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4759) at org.eclipse.pde.internal.core.PluginModelManager.updateAffectedEntries(PluginModelManager.java:242) at org.eclipse.pde.internal.core.PluginModelManager.modelsChanged(PluginModelManager.java:167) at org.eclipse.pde.internal.core.AbstractModelManager.fireModelProviderEvent(AbstractModelManager.java:35) at org.eclipse.pde.internal.core.WorkspaceModelManager.createAndFireEvent(WorkspaceModelManager.java:277) at org.eclipse.pde.internal.core.WorkspacePluginModelManager.createAndFireEvent(WorkspacePluginModelManager.java:469) at org.eclipse.pde.internal.core.WorkspaceModelManager.processModelChanges(WorkspaceModelManager.java:249) at org.eclipse.pde.internal.core.WorkspaceModelManager.processModelChanges(WorkspaceModelManager.java:211) at org.eclipse.pde.internal.core.WorkspacePluginModelManager.processModelChanges(WorkspacePluginModelManager.java:459) at org.eclipse.pde.internal.core.WorkspaceModelManager.resourceChanged(WorkspaceModelManager.java:128) at org.eclipse.jdt.internal.core.DeltaProcessingState$1.run(DeltaProcessingState.java:465) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:460) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
2009-09-10 16:53:14
1,252,620,000
resolved fixed
c523827
1,253,110,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileDocumentProvider.java
JDT
719
289,280
Bug 289280 [introduce indirection] wizard uses wrong path for inner classes as target
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) Build Identifier: 20090621-0832 Open the select dialog in the "introduce indirection" dialog. When you choose some inner class as target (for example Y inner class of X), then the class "X$Y" instead of "X.Y" is selected. Reproducible: Always Steps to Reproduce: 1. open "Introduce Indirection" dialog. 2. select "Browse" button 3. choose some inner class 4. select "OK" button 5. wonder why Eclipse displays "Class ... does not exist"
2009-09-12 07:34:45
1,252,760,000
resolved fixed
a3ec054
1,252,940,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceIndirectionInputPage.java
JDT
720
288,931
Bug 288931 [JUnit] Test failure in TestRunSessionSerializationTests3.testFailures in I20090908-0800
null
2009-09-09 08:17:04
1,252,500,000
resolved fixed
d6f315e
1,252,940,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunHandler.java
JDT
721
250,944
Bug 250944 Adopt NodeFinder from jdt.core.dom
null
2008-10-15 10:17:29
1,224,080,000
resolved fixed
a8c22d3
1,252,920,000
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/nls/NLSHintHelperTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/AddImportTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/PartialASTTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/AddUnimplementedConstructorsTest.java 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/UtilitiesTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddGetterSetterOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodeFactory.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NodeFinder.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.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/TypeContextChecker.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ReplaceInvocationsRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHintHelper.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringAnalyzeUtil.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/CompilationUnitRange.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameLinkedMode.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CopyQualifiedNameAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaHistoryActionImpl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionActionImpl.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/NLSKeyHyperlinkDetector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/BreakContinueTargetFinder.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ImplementOccurrencesFinder.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssistContext.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ProblemLocation.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/LinkedNamesAssistProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/RemoveDeclarationCorrectionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/RenameNodeCorrectionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/NLSStringHover.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/OverrideIndicatorLabelDecorator.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateMethodAbstractAction.java
JDT
722
289,247
Bug 289247 [1.5][compiler]Detecting duplicate methods should not consider return type
null
2009-09-11 14:17:38
1,252,690,000
verified fixed
8f49de8
1,252,920,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/OverrideTest.java
JDT
723
276,068
Bug 276068 [JUnit] JUnit viewer doesn't recognise <skipped/> node
null
2009-05-13 08:40:57
1,242,220,000
resolved fixed
9b48f2b
1,252,610,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/IXMLTags.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunHandler.java
JDT
724
289,028
Bug 289028 [content assist] Missing null check
Using eclipse.buildId=I20090908-0800 java.version=1.6.0_17-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 trying to define a condition into a breakpoint. I typed "Arrays+<code assist>". I got this stack trace in the console: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.JavaModelUtil.isPackageInfo(JavaModelUtil.java:868) at org.eclipse.jdt.internal.ui.text.java.LazyJavaTypeCompletionProposal.computeReplacementString(LazyJavaTypeCompletionProposal.java:102) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getReplacementString(LazyJavaCompletionProposal.java:308) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.apply(AbstractJavaCompletionProposal.java:357) at org.eclipse.jdt.internal.ui.text.java.LazyJavaTypeCompletionProposal.apply(LazyJavaTypeCompletionProposal.java:200) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.apply(AbstractJavaCompletionProposal.java:470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:928) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:879) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:1306) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKey(ContentAssistant.java:806) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:489) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:62) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1011) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:769) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5840) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5542) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1011) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1039) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1035) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1367) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4058) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:346) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3951) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4594) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2418) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476) 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.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) 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:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3885) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3478) 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: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:610) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565) at org.eclipse.equinox.launcher.Main.run(Main.java:1362) at org.eclipse.equinox.launcher.Main.main(Main.java:1338)
2009-09-09 23:50:27
1,252,550,000
resolved fixed
31218ea
1,252,590,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaTypeCompletionProposal.java
JDT
725
288,847
Bug 288847 [type hierarchy] NPE from type hierarchy view when refactoring a method
I20090901-0800 I added an argument to a method using the refactoring wizard and received this error. java.lang.NullPointerException at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.isCompatibleMethod(TypeHierarchyContentProvider.java:118) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.hasCompatibleMethod(TypeHierarchyContentProvider.java:107) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.hasMemberFilterChildren(TypeHierarchyContentProvider.java:301) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.isInTree(TypeHierarchyContentProvider.java:287) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.hasTypeChildren(TypeHierarchyContentProvider.java:315) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.isInTree(TypeHierarchyContentProvider.java:287) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.hasTypeChildren(TypeHierarchyContentProvider.java:315) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.hasChildren(TypeHierarchyContentProvider.java:251) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2083) at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:246) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109) at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791) at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2684) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1863) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:716) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1870) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:716) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1838) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1794) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1780) at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1457) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1455) at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1414) at org.eclipse.jdt.internal.ui.typehierarchy.TraditionalHierarchyViewer.updateContent(TraditionalHierarchyViewer.java:40) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart$12.run(TypeHierarchyViewPart.java:1135) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart.updateHierarchyViewer(TypeHierarchyViewPart.java:1138) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart.methodSelectionChanged(TypeHierarchyViewPart.java:1199) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart.doSelectionChanged(TypeHierarchyViewPart.java:1180) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart$4.selectionChanged(TypeHierarchyViewPart.java:339) at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:864) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:888) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:862) at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1670) at org.eclipse.jface.viewers.TableViewer.setSelection(TableViewer.java:158) at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392) at org.eclipse.jdt.internal.ui.typehierarchy.MethodsViewer.handleInvalidSelection(MethodsViewer.java:287) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1405) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1455) at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1414) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart.doTypeHierarchyChangedOnViewers(TypeHierarchyViewPart.java:1479) at org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart$16.run(TypeHierarchyViewPart.java:1449) 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:3860) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3481) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330) 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.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:630) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:453) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472) 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:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3885) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3478) 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.startChangeSignatureRefactoring(RefactoringExecutionStarter.java:213) at org.eclipse.jdt.ui.actions.ModifyParametersAction.run(ModifyParametersAction.java:127) 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.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:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3885) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3478) 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: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: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:610) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565) at org.eclipse.equinox.launcher.Main.run(Main.java:1362) at org.eclipse.equinox.launcher.Main.main(Main.java:1338)
2009-09-08 13:40:31
1,252,430,000
resolved fixed
4a154e4
1,252,440,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyContentProvider.java
JDT
726
288,242
Bug 288242 [content assist] Each completion proposal computer should be able to configure the shared context
I20090901-0800. Each contributed completion proposal computer should be able to configure the internal collector that's used to compute the shared core context. Workaround for clients is to compute their own core context: CompletionProposalCollector collector= new CompletionProposalCollector(cu, true); // configure the collector here cu.codeComplete(getInvocationOffset(), collector); collector.getContext();
2009-09-01 08:48:17
1,251,810,000
resolved fixed
c151564
1,252,050,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/JavaContentAssistInvocationContext.java
JDT
727
282,468
Bug 282468 [typing] Add Javadocs somewhat slow and have annoying progress window
Build ID: Build id: 20090619-0625 Steps To Reproduce: When adding javadocs (pressing the shortcut key), it takes a fair bit of time to add the comments and it always display a progress window that flashes rapidly. Not showing the progress window would probably make the addition of javadocs faster and would remove the annoying flashing of window that one barely have the time to read. Not a big deal but would make it more pleasing to the eye :)
2009-07-05 14:15:53
1,246,820,000
verified fixed
e951bdd
1,251,990,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddJavaDocStubAction.java
JDT
728
278,844
Bug 278844 [JUnit] Separate UI from non-UI code
null
2009-06-02 14:32:53
1,243,970,000
verified fixed
98a038b
1,251,900,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/BasicElementLabels.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitCorePlugin.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitMessages.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JUnitPreferencesConstants.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/JunitPreferenceInitializer.java 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/JUnitContainerInitializer.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/JUnitHomeInitializer.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/P2Utils.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit3TestFinder.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfigurationConstants.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/TestKind.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/TestKindRegistry.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunListenerAdapter.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/junit/JUnitCore.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/junit/TestRunListener.java org.eclipse.jdt.junit.core/src/org/eclipse/jdt/junit/launcher/JUnitLaunchConfigurationDelegate.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/BasicElementLabels.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/JUnitPropertyTester.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/Messages.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/BuildPathSupport.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/ClasspathVariableMarkerResolutionGenerator.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/JUnitContainerInitializer.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/JUnitHomeInitializer.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/buildpath/P2Utils.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/AssertionVMArg.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/ContainerComparator.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/ITestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/ITestKind.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit3TestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfigurationConstants.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMigrationDelegate.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitRuntimeClasspathEntry.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/LaunchErrorStatusHandler.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestKind.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestKindRegistry.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestSearchResult.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/ITestRunListener2.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/ITestRunSessionListener.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/ITestSessionListener.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/IXMLTags.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/ModelMessages.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestCaseElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRoot.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunHandler.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunListenerAdapter.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSessionSerializer.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestSuiteElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitAddLibraryProposal.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitClasspathFixProcessor.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitMessages.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencesConstants.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitQuickFixProcessor.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JunitPreferenceInitializer.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/UITestRunListener.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/IJUnitStatusConstants.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/UITestSearchEngine.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizard.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/ITestRunListener.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/JUnitCore.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/TestRunListener.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/launcher/JUnitLaunchConfigurationDelegate.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/launcher/JUnitLaunchConfigurationTab.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/launcher/JUnitLaunchShortcut.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/model/ITestCaseElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/model/ITestElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/model/ITestElementContainer.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/model/ITestRunSession.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/model/ITestSuiteElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/junit/tests/AbstractTestRunSessionSerializationTests.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/junit/tests/TestRunListenerTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/junit/tests/TestTestSearchEngine.java
JDT
729
288,143
Bug 288143 [perfs] Comments applied for performance tests may be obsolete
null
2009-08-31 11:30:42
1,251,730,000
resolved fixed
1b6a6a1
1,251,730,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/ActivateTextEditorTest.java
JDT
730
288,121
Bug 288121 [perfs] Comments applied for performance tests are obsolete
null
2009-08-31 09:49:25
1,251,730,000
resolved fixed
26d6269
1,251,730,000
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/reorg/RenameMethodWithOverloadPerfTests.java
JDT
731
287,947
Bug 287947 [navigation] Open Implementation should operate on selected method, not enclosing
null
2009-08-28 06:08:08
1,251,450,000
resolved fixed
ed14129
1,251,730,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenImplementationAction.java
JDT
732
287,378
Bug 287378 [inline] Inline Method throws MalformedTreeException if return statement surrounded by comments
I20090818-0800 Run "Inline method" on "extracted" in the assignment. Fails with the exception below. Snippet: package duplicates_in; public class A_test987 { A_test987 other; int x; protected void f() { other.extracted().x= 5; } protected A_test987 extracted() { return /*[*/other/*]*/; } } !ENTRY org.eclipse.ltk.ui.refactoring 4 10000 2009-08-23 18:00:53.695 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330) 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.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:630) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:453) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472) 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:1186) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3495) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3114) 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.startInlineMethodRefactoring(RefactoringExecutionStarter.java:330) at org.eclipse.jdt.internal.ui.refactoring.actions.InlineMethodAction.tryInlineMethod(InlineMethodAction.java:144) at org.eclipse.jdt.ui.actions.InlineAction.run(InlineAction.java:122) 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.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:1467) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1210) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1195) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1222) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:712) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1581) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4587) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4193) 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:7602) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185) 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:1864) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) 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: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:610) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565) at org.eclipse.equinox.launcher.Main.run(Main.java:1362) at org.eclipse.equinox.launcher.Main.main(Main.java:1338) Caused by: org.eclipse.text.edits.MalformedTreeException: Range of child edit lies outside of parent edit at org.eclipse.text.edits.TextEdit.internalAdd(TextEdit.java:777) at org.eclipse.text.edits.TextEdit.addChild(TextEdit.java:335) at org.eclipse.jdt.internal.corext.refactoring.code.SourceProvider.getCodeBlocks(SourceProvider.java:385) at org.eclipse.jdt.internal.corext.refactoring.code.CallInliner.perform(CallInliner.java:483) at org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.checkFinalConditions(InlineMethodRefactoring.java:313) 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:209) 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.text.edits.MalformedTreeException: Range of child edit lies outside of parent edit at org.eclipse.text.edits.TextEdit.internalAdd(TextEdit.java:777) at org.eclipse.text.edits.TextEdit.addChild(TextEdit.java:335) at org.eclipse.jdt.internal.corext.refactoring.code.SourceProvider.getCodeBlocks(SourceProvider.java:385) at org.eclipse.jdt.internal.corext.refactoring.code.CallInliner.perform(CallInliner.java:483) at org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.checkFinalConditions(InlineMethodRefactoring.java:313) 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:209) 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)
2009-08-23 11:58:24
1,251,040,000
resolved fixed
d4db6cb
1,251,300,000
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_in/Test_287378.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_out/Test_287378.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java
JDT
733
264,606
Bug 264606 [extract method] extracting return value results in compile error
Build ID: I20080617-2000 Steps To Reproduce: Use Extract Method on 'foo' in the indicated line. class Bar { boolean foo; private boolean getFoo() { return foo; // use 'Extract Method' on 'foo' here } private void setFoo(boolean newFoo) { this.foo = newFoo; // breaks this line } } More information: This changes the indicated line in setFoo to: this.bar() = foo; which is obviously incorrect. If the assignment to foo is changed to 'foo = newFoo' (i.e. without 'this.'), the problem disappears.
2009-02-11 17:30:47
1,234,390,000
resolved fixed
5dd76bd
1,251,280,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test972.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test980.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test981.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test982.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test983.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test984.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test985.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test986.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test987.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test972.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test980.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test981.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test982.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test983.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test984.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test985.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test986.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_out/A_test987.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java
JDT
734
107,924
Bug 107924 [quick fix] "Add exceptions to..." quickfix does nothing.
Either the quickfix should do something, or it shouldn't be offered. ----------------------- Bug.java ------------------------------- class Bug implements Runnable { public void run() throws ClassNotFoundException { Class.forName(null); } }
2005-08-24 15:40:07
1,124,910,000
resolved fixed
57c76e5
1,250,860,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/TypeMismatchQuickFixTests.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java
JDT