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
235
361,559
Bug 361559 [ltk] DeleteArguments misses API getDeleteProjectContents()
master DeleteArguments misses the API below. Without that, participants can't know whether contents will be deleted or not. /** * Returns whether projects contents will be deleted as well. This method * is not applicable for file and folder deletions. * * @return <code>true</code> if the refactoring will delete the project * contents, <code>false</code> if it only removes the reference * from the workspace */ public boolean getDeleteProjectContents() { return fDeleteProjectContents; }
2011-10-20 11:27:54
1,319,120,000
resolved fixed
6a7fe43
1,319,490,000
org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/participants/DeleteArguments.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/resource/DeleteResourcesProcessor.java
JDT
236
347,599
Bug 347599 [refactoring] Provide a way to implement refactorings that depend on resources that have to be explicitly released
null
2011-05-30 01:27:55
1,306,730,000
resolved fixed
5069473
1,319,480,000
org.eclipse.jdt.ui.tests/examples/org/eclipse/jdt/ui/examples/TestMoveDescriptorAction.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/binary/BinaryRefactoringHistoryWizard.java org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/AllTests.java org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/RefactoringContextTest.java org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/resource/ResourceRefactoringTests.java org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/resource/ResourceRefactoringUndoTests.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/PerformRefactoringHistoryOperation.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/PerformRefactoringOperation.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/Refactoring.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/RefactoringContext.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/RefactoringDescriptor.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizardOpenOperation.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/history/RefactoringHistoryWizard.java
JDT
237
361,403
Bug 361403 Add UI for new JDT Core option: OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE
null
2011-10-19 10:04:54
1,319,030,000
verified fixed
a5b3f92
1,319,120,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/buildpath/BuildpathModifierActionTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuildConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java
JDT
238
360,913
Bug 360913 Resource leaks in o.e.jdt.ui
There are 2 valid resource leaks warnings in o.e.jdt.ui Resource leak: 'outputStream' is not closed at this location UnpackFatJarAntExporter.java /org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat line 58 Resource leak: 'outputStream' is not closed at this location UnpackJarAntExporter.java /org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat line 64
2011-10-14 01:56:38
1,318,570,000
resolved fixed
b863c82
1,318,580,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat/UnpackFatJarAntExporter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackagerfat/UnpackJarAntExporter.java
JDT
239
360,642
Bug 360642 Allow to associate an editor to class files which have no source
3.7. We should allow to associate an editor to class files which have no source. This will e.g. allow users to associate a disassembler to such files.
2011-10-12 06:18:09
1,318,410,000
verified fixed
39fa1b9
1,318,410,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
JDT
240
304,176
Bug 304176 [hashcode/equals] Generated equals() should use Arrays.deepEquals() instead of Arrays.equals()
Build Identifier: I'm not sure what is the point of Arrays.equals() since it can fail to work properly for a number of cases, including three-dimensional arrays, as demonstrated in this example: import java.util.Arrays; public class Test { public static void main(String[] args) { int[][][] a = new int[][][] {{null}}; int[][][] b = new int[][][] {{null}}; System.out.println(Arrays.equals(a, b)); // false System.out.println(Arrays.deepEquals(a, b)); // true } } I believe Eclipse-generated equals() method should use Arrays.deepEquals() as it seems to be doing its job properly. Reproducible: Always
2010-02-28 20:37:38
1,267,410,000
resolved fixed
8bddf00
1,318,320,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
241
350,285
Bug 350285 ASTRewrite destroys formatting on CatchClause#setBody(copyTarget)
BETA_JAVA7, but most probably not Java 7 related The new Quick Fix to convert a multi-catch to separate catch blocks tried to use newCatchClause.setBody( (Block) rewrite.createCopyTarget(catchClause.getBody())); in QuickAssistProcessor#getUnrollMultiCatchProposals(..), but this mangled e.g. public class E { void foo() { try { System.out.println("foo"); } catch (IllegalArgumentException | NullPointerException ex) { ex.printStackTrace(); } } } into void foo() { try { System.out.println("foo"); } catch (IllegalArgumentException ex) { ex.printStackTrace(); } catch (NullPointerException ex) { ex.printStackTrace(); } } As a workaround, we now copy statement-by-statement, but this should not be necessary, and it can lose comments if they are separated by newlines. UI tests are in AssistQuickFixTest17.
2011-06-24 11:57:11
1,308,930,000
verified fixed
b557721
1,318,240,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest17.java
JDT
242
359,940
Bug 359940 [nls tooling] NLS hover shown in place of Java hover
Hover over any reference of a public string field of org.eclipse.jdt.internal.corext.refactoring.nls.NLSRefactoring class. => The hover says - "The properties file could not be detected", which is not right.
2011-10-04 23:20:53
1,317,780,000
verified fixed
de2edee
1,317,820,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchQuery.java
JDT
243
354,092
Bug 354092 [preferences] Java Compiler property page doesn't gray out all widgets (without project specific settings)
Build id: I20110803-1800 Steps to reproduce: 1. Create new Java project. 2. Open properties dialog for this project. 3. Open Java Compiler page. Note that by default 'Enable project specific settings' is disabled and all widgets below are grayed (see Screenshot 1). 4. Switch to another property page but do not close the dialog. 5. Switch back to Java Compiler page. Note that some widgets are not grayed any more but no action can be done on those widgets (see Screenshot 2). Reproducible: Always
2011-08-07 11:55:48
1,312,730,000
verified fixed
c7b806a
1,317,730,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
JDT
244
349,782
Bug 349782 [quick assist] "Convert to enhanced for loop" isn't available for loops over array with prefix increment
Build Identifier: M20110210-1200 public static void main(String[] args) { for (int i = 0; i < args.length; ++i) { // "Convert to enhanced for loop" refactoring should be available on this line String arg = args[i]; System.out.println(arg); } for (int i = 0; i < args.length; ++i) { String arg = args[i]; System.out.println(arg); } } Reproducible: Always Steps to Reproduce: 1. Paste example function to some class. 2. Open suggestion window on for loop header (Ctrl-1). 3. Expected: "Convert to enhanced for loop" command is in list of suggestions, actual: It isn't.
2011-06-20 01:33:58
1,308,550,000
resolved fixed
a5cb166
1,317,440,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertForLoopQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java
JDT
245
350,290
Bug 350290 Remove FlowInfo#fExceptions and everything that refers to it
null
2011-06-24 12:31:59
1,308,930,000
resolved fixed
f8b5b03
1,317,390,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/MessageSendFlowInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/ThrowFlowInfo.java
JDT
246
358,823
Bug 358823 Checkbox wrongly enabled on Clean up preference page
null
2011-09-25 11:11:10
1,316,960,000
resolved fixed
c1839c4
1,317,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpTabPage.java
JDT
247
358,846
Bug 358846 [1.7][preferences] new warning for missing try-with-resources
null
2011-09-26 01:49:39
1,317,020,000
verified fixed
d77b8b6
1,317,300,000
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
JDT
248
335,224
Bug 335224 [JUnit] New JUnit Test Case wizard doesn't store method stub selection state
HEAD The New JUnit Test Case wizard doesn't store method stub selection state when you click Finish on the first page. Reason is that NewTestCaseWizardPageOne#saveWidgetValues() is only called on setVisible(false).
2011-01-24 13:04:15
1,295,890,000
resolved fixed
08752e9
1,317,110,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
JDT
249
353,731
Bug 353731 [type hierarchy] Exception occurred in listener of Type hierarchy change notification
No steps, sorry. Noticed it in the Error Log an hour later. -- Error Details -- Date: Wed Aug 03 11:10:31 CEST 2011 Message: Exception occurred in listener of Type hierarchy change notification Severity: Error Product: Eclipse SDK 3.7.0.v201107291200 (org.eclipse.sdk.ide) Plugin: org.eclipse.jdt.core Session Data: eclipse.buildId=I20110729-1200 java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr7-20091214_49398 (JIT enabled, AOT enabled) J9VM - 20091214_049398 JIT - r9_20091123_13891 GC - 20091111_AA BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL Framework arguments: -product org.eclipse.sdk.ide Command-line arguments: -product org.eclipse.sdk.ide -data D:\workspace\eclipse\web -dev file:D:/workspace/eclipse/team/dev.eclipse.org_HEAD_extssh/.metadata/.plugins/org.eclipse.pde.core/Eclipse (web)/dev.properties -os win32 -ws win32 -arch x86 Exception Stack Trace: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache$HierarchyCacheEntry.dispose(SuperTypeHierarchyCache.java:57) at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache.removeHierarchyEntryFromCache(SuperTypeHierarchyCache.java:211) at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache.access$0(SuperTypeHierarchyCache.java:208) at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache$HierarchyCacheEntry.typeHierarchyChanged(SuperTypeHierarchyCache.java:41) at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy$1.run(TypeHierarchy.java:365) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.fireChange(TypeHierarchy.java:360) at org.eclipse.jdt.internal.core.DeltaProcessor$5.run(DeltaProcessor.java:1697) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.core.DeltaProcessor.notifyTypeHierarchies(DeltaProcessor.java:1688) at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:2081) at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:470) at org.eclipse.core.internal.events.NotificationManager$1.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:395) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2353) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75) at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65) at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456) at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772) at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5048) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1247) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1301) at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7177) at org.eclipse.ui.Saveable.doSave(Saveable.java:214) at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:349) at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:195) at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642) at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285) at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264) at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:207) at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144) at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399) at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416) at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429) at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) 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:468) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1098) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1509) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) 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:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
2011-08-03 06:19:15
1,312,370,000
resolved fixed
4778eb2
1,317,110,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/SuperTypeHierarchyCache.java
JDT
250
347,734
Bug 347734 [typing] Angle brackets wrongly auto-closed when starting at the beginning of a line
Build Identifier: Version: 3.6.2, Build id: M20110210-1200 This happens only if the identifier is single letter. This happens only if the identifier is typed in the first column. I understand this is a rare scenario. But, text editors inherited from AbstractTextEditor will have the same behavior as well. That's why I raise this as a Minor bug. I guess, the problem might be in org.eclipse.jdt.internal.ui.text.JavaHeuristicScanner.scanBackward() method. Reproducible: Always Steps to Reproduce: 1. Open a Java editor. 2. Type "int x = 10;" in the class body. 3. Then try typing "x <" in the first column. 4. Even with the identifier context (i.e. x), angular brace is auto completed as "x <>".
2011-05-31 03:26:27
1,306,830,000
verified fixed
c6d7766
1,316,680,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/BracketInserterTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
JDT
251
89,432
Bug 89432 [quick assist] Transform enhanced for-loop to iterator
I've often written iteration code using the enhanced for-loop initially, then later discovered I needed access to the Iterator to remove an object. It would be nice if Eclipse could do this simple (but verbose) transformation for me. For example: for (final Member member : list) { //... } becomes: for (final Iterator<Member> memberIter = list.iterator(); memberIter.hasNext(); ) { final Member member = memberIter.next(); // ... // if (foo) memberIter.remove(); } Similarly, the transformation could support arrays: for (final Member member : array) { // ... } becomes: for (int memberIndex = 0; memberIndex < array.length; ++memberIndex) { final Member member = array[memberIndex]; // ... // if (foo) member[memberIndex] = null; } Another variation would be creating a ListIterator for lists, to allow adding elements, or doing reverse iteration.
2005-03-29 18:22:18
1,112,140,000
verified fixed
4a41572
1,315,600,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/LinkedProposalModel.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/LinkedProposalPositionGroup.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/QuickAssistProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/LinkedCorrectionProposal.java
JDT
252
356,778
Bug 356778 [search] "Inexact Type Arguments" filter is not showing up even when results are filtered
The "Inexact Type Arguments" filter is not showing up even when results are filtered with this filter. ########## public class Test<T> { public void standard(T t) { } public <U> T generic(U u) { return null; } public void foo() { Test<Object>t = new Test<Object>(); t.<Object>generic(null); t.<String>generic(null); t.standard(null); new Test<String>().standard(null); } } ########## Reproducible steps: 1. Paste the above program 2. Select 'generic' in the function foo() and search for references. 3. There will be two references. Now, filter one of the results by filtering InExact Type Arguments. 4. Now select 'standard' in the function foo() and search for references. 5. You should see only one result and see that one reference is filtered. However, you don't see that filter in the view menu.
2011-09-06 04:51:35
1,315,300,000
resolved fixed
2fa42d9
1,315,310,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaMatchFilter.java
JDT
253
346,271
Bug 346271 [working sets] Hide/Remove dialog should not mention the remove case for 'Other Projects' working set
1. Activate the 'Package Explorer' view. 2. Ctrl+F10 > Top Level Elements > Working Sets 3. Select the 'Other Projects' working set. 4. Hit 'Delete'. 5. The dialog asks "Do you want to remove the working set 'Other Projects' or only hide it from the Package Explorer?" but the 'Remove' button is disabled.
2011-05-18 10:58:17
1,305,730,000
verified fixed
f354ff4
1,315,300,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteAction.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMessages.java
JDT
254
24,804
Bug 24804 Organize imports wipes comments between statements [code manipulation]
Any comments between import statements, eg, copyrights, are lost when doing organize imports. They should be preserved.
2002-10-15 15:10:00
1,034,710,000
verified fixed
599a2e2
1,314,980,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java
JDT
255
356,363
Bug 356363 Many links to java.sun.com are broken
null
2011-08-31 11:43:05
1,314,810,000
resolved fixed
3dc1084
1,314,860,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/InvocationCountPerformanceMeter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashOperation.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/JavadocExportWizardPage.java
JDT
256
355,830
Bug 355830 [navigation] Help of 'Visible Java Categories' talks about workbench windows
M20110824-0800 1. Open a Java file. 2. Activate the 'Outline' view > Ctrl+F10 > Visible Categories... 3. F1 4. The text below doesn't clarify the purpose of this dialog. "About Visible Java Categories Each workbench window contains one or more perspectives, which are made up of various views and editors."
2011-08-25 09:21:43
1,314,280,000
resolved fixed
ea422e6
1,314,340,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java
JDT
257
354,766
Bug 354766 Javadoc content does not appear in content assist info window for non-static inner class constructors
null
2011-08-15 15:19:47
1,313,440,000
verified fixed
9a41988
1,314,120,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodProposalInfo.java
JDT
258
350,375
Bug 350375 [change method signature] NPE while renaming a method
Using Eclipe 3.7, I got the following stack trace while refactoring a method: 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:331) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:605) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:678) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:455) 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:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) 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:181) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:193) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:116) 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:148) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:279) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251) 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:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$OccurrenceUpdate.changeMethodName(ChangeSignatureProcessor.java:1839) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$DocReferenceUpdate.updateNode(ChangeSignatureProcessor.java:2501) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$DeclarationUpdate.addDelegate(ChangeSignatureProcessor.java:2040) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$DeclarationUpdate.updateNode(ChangeSignatureProcessor.java:2017) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor.createChangeManager(ChangeSignatureProcessor.java:1419) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor.checkFinalConditions(ChangeSignatureProcessor.java:856) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:224) 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:2344) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Root exception: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$OccurrenceUpdate.changeMethodName(ChangeSignatureProcessor.java:1839) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$DocReferenceUpdate.updateNode(ChangeSignatureProcessor.java:2501) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$DeclarationUpdate.addDelegate(ChangeSignatureProcessor.java:2040) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor$DeclarationUpdate.updateNode(ChangeSignatureProcessor.java:2017) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor.createChangeManager(ChangeSignatureProcessor.java:1419) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor.checkFinalConditions(ChangeSignatureProcessor.java:856) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:224) 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:2344) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Session data: eclipse.buildId=I20110613-1736 java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR Framework arguments: -showLocation Command-line arguments: -os win32 -ws win32 -arch x86_64 -consoleLog -showLocation -data D:\eclipse\workspaces\v37\gameforge
2011-06-26 05:42:26
1,309,080,000
verified fixed
6171f95
1,313,770,000
org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testDelegate06_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testDelegate06_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java
JDT
259
68,305
Bug 68305 [navigation] mark occurrence of exception disregards inner exceptions
Marking e1 will mark both URLs but the second one is never caught by e1 but by e2. try { URL u1 = new URL("mal://formed"); try { URL u2 = new URL("mal://formed"); } catch( Exception e2 ) { } } catch( Exception e1 ) { }
2004-06-23 10:31:19
1,088,000,000
verified fixed
3ba5251
1,313,680,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/MarkOccurrenceTest17.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/MethodExitsFinder.java
JDT
260
211,529
Bug 211529 [extract constant] misses case statement expression
Extracting a constant, and replacing all occurrences of the expr with the new constant, misses case labels. Initial code: public static String revCompl(String seq) { StringBuffer buf = new StringBuffer(); for (int i = seq.length() - 1; i >= 0; --i) { char c = seq.charAt(i); switch (c) { case 'A': buf.append('T'); break; case 'T': buf.append('A'); break; case 'G': buf.append('C'); break; case 'C': buf.append('G'); break; default: buf.append(c); System.out.println("Invalid nucleotide: " + c + " in sequence " + seq); break; } } return buf.toString(); } After refactoring: private static final char A = 'A'; private static final char T = 'T'; private static final char G = 'G'; private static final char C = 'C'; public static String revCompl(String seq) { StringBuffer buf = new StringBuffer(); for (int i = seq.length() - 1; i >= 0; --i) { char c = seq.charAt(i); switch (c) { case 'A': // This should be case A: buf.append(T); break; case 'T': buf.append(A); break; case 'G': buf.append(C); break; case 'C': buf.append(G); break; default: buf.append(c); System.out.println("Invalid nucleotide: " + c + " in sequence " + seq); break; } } return buf.toString(); }
2007-11-29 18:08:05
1,196,380,000
verified fixed
27e320e
1,313,250,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test44_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test44_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractConstantTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
JDT
261
343,385
Bug 343385 Remove degradation comment for ActivateJavaEditorTest#testActivateEditor()
See summary.
2011-04-20 07:42:36
1,303,300,000
resolved fixed
1f0b3e1
1,313,240,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/ActivateJavaEditorTest.java
JDT
262
349,051
Bug 349051 [quick fix] "Add throws declaration" quick fix is not offered
null
2011-06-10 11:05:49
1,307,720,000
resolved fixed
6f60faa
1,313,240,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/LocalCorrectionsSubProcessor.java
JDT
263
351,853
Bug 351853 [quick fix] 'Change type to List<String>' is offered on constructor invocation.
null
2011-07-12 10:32:53
1,310,480,000
verified fixed
fe6f510
1,312,980,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/LocalCorrectionsSubProcessor.java
JDT
264
351,349
Bug 351349 [type hierarchy] NullPointerException after closing type hierarchy view after a cancel
Got myself 6 error log entries like this: I had a type hierarchy on IResource I saved one of my files, and the type hierarchy was recomputing, I hit cancel, the closed the view, then saw these. -- Error Details -- Date: Wed Jul 06 11:52:54 EDT 2011 Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface". Severity: Error Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.rcp.product) Plugin: org.eclipse.jface Session Data: eclipse.buildId=I20110613-1736 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.rcp.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.rcp.product Exception Stack Trace: java.lang.NullPointerException at java.util.Arrays$ArrayList.<init>(Unknown Source) at java.util.Arrays.asList(Unknown Source) at org.eclipse.jdt.internal.ui.typehierarchy.HierarchyLabelProvider.getImage(HierarchyLabelProvider.java:107) at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:184) at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getImage(DecoratingStyledCellLabelProvider.java:167) at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:118) at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:134) at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152) at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:938) at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:106) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1018) at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2167) at org.eclipse.jface.viewers.StructuredViewer.internalUpdate(StructuredViewer.java:2150) at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2089) at org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:554) at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2033) at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1191) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.handleLabelProviderChanged(ProblemTreeViewer.java:223) at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:97) at org.eclipse.jface.viewers.BaseLabelProvider$1.run(BaseLabelProvider.java:74) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.BaseLabelProvider.fireLabelProviderChanged(BaseLabelProvider.java:72) at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider$1.labelProviderChanged(DecoratingStyledCellLabelProvider.java:77) at org.eclipse.ui.internal.decorators.DecoratorManager$1.run(DecoratorManager.java:430) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.DecoratorManager.fireListener(DecoratorManager.java:428) at org.eclipse.ui.internal.decorators.DecorationScheduler$3.runInUIThread(DecorationScheduler.java:529) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
2011-07-06 11:56:59
1,309,970,000
verified fixed
85a30e5
1,312,970,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyLabelProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyContentProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyLifeCycle.java
JDT
265
351,048
Bug 351048 [1.7][hovering] Show inferred type for Diamond types
null
2011-07-04 02:23:26
1,309,760,000
verified fixed
5fda501
1,312,780,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabelComposer.java
JDT
266
352,227
Bug 352227 [rename][content assist] Allow content assist when performing rename refactoring
Build Identifier: 20100917-0705 Ideally I could use content assist during a rename refactoring as I normally do when adding a field to generate a standardized name. For instance, while adding a field of type ClassA, I can type "ClassA", space, then invoke content assist and choose the field name "classA". However, invoking content assist during rename refacoring does not function at all. Reproducible: Always Steps to Reproduce: see above
2011-07-15 11:34:53
1,310,740,000
resolved fixed
b4afc9f
1,312,720,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameInformationPopup.java
JDT
267
343,584
Bug 343584 [ltk][reorg] Deleting physically nested projects can cause exceptions
When deleting projects from the workspace and deleting the files on the disk if the parent is deleted before nested projects exceptions can be thrown: org.eclipse.core.runtime.CoreException: Can not delete resource. Resource does not exist. at org.eclipse.ltk.core.refactoring.resource.DeleteResourceChange.perform(DeleteResourceChange.java:108) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278) at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278) at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:258) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2310) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:306) at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:218) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2310) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
2011-04-21 12:41:39
1,303,400,000
verified fixed
e3d9ffa
1,307,630,000
org.eclipse.ltk.core.refactoring.tests/src/org/eclipse/ltk/core/refactoring/tests/resource/ResourceRefactoringTests.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/resource/DeleteResourceChange.java
JDT
268
347,302
Bug 347302 [preferences] NumberFormatException: For input string: "container" when creating new Java project
Build Identifier: I20110524-2200 I'm getting 4 exceptions during the File->New Java Project and only after pressing the first Next button. These are seen only in Error Log (view). They are all titles the same: `Error while decoding JRE entry` Eclipse SDK Version: 4.1.0 Build id: I20110524-2200 eclipse.buildId=I20110524-2200 java.version=1.6.0_25 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64 here are the exceptions in the order of occurrence: ============= java.lang.NumberFormatException: For input string: "container" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(NewJavaProjectPreferencePage.java:145) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.getDefaultJRELibrary(NewJavaProjectPreferencePage.java:102) at org.eclipse.jdt.ui.PreferenceConstants.getDefaultJRELibrary(PreferenceConstants.java:4004) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne.getDefaultClasspathEntries(NewJavaProjectWizardPageOne.java:1289) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.initializeBuildPath(NewJavaProjectWizardPageTwo.java:304) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.updateProject(NewJavaProjectWizardPageTwo.java:252) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.access$2(NewJavaProjectWizardPageTwo.java:200) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo$1UpdateRunnable.run(NewJavaProjectWizardPageTwo.java:161) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) ---------------- java.lang.NumberFormatException: For input string: "org.eclipse.jdt.launching.JRE_CONTAINER" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(NewJavaProjectPreferencePage.java:145) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.getDefaultJRELibrary(NewJavaProjectPreferencePage.java:102) at org.eclipse.jdt.ui.PreferenceConstants.getDefaultJRELibrary(PreferenceConstants.java:4004) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne.getDefaultClasspathEntries(NewJavaProjectWizardPageOne.java:1289) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.initializeBuildPath(NewJavaProjectWizardPageTwo.java:304) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.updateProject(NewJavaProjectWizardPageTwo.java:252) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.access$2(NewJavaProjectWizardPageTwo.java:200) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo$1UpdateRunnable.run(NewJavaProjectWizardPageTwo.java:161) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) ---------------------------- java.lang.NumberFormatException: For input string: "#" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(NewJavaProjectPreferencePage.java:145) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.getDefaultJRELibrary(NewJavaProjectPreferencePage.java:102) at org.eclipse.jdt.ui.PreferenceConstants.getDefaultJRELibrary(PreferenceConstants.java:4004) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne.getDefaultClasspathEntries(NewJavaProjectWizardPageOne.java:1289) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.initializeBuildPath(NewJavaProjectWizardPageTwo.java:304) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.updateProject(NewJavaProjectWizardPageTwo.java:252) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.access$2(NewJavaProjectWizardPageTwo.java:200) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo$1UpdateRunnable.run(NewJavaProjectWizardPageTwo.java:161) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) ------------------- and the last one: java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java:332) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(NewJavaProjectPreferencePage.java:145) at org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.getDefaultJRELibrary(NewJavaProjectPreferencePage.java:102) at org.eclipse.jdt.ui.PreferenceConstants.getDefaultJRELibrary(PreferenceConstants.java:4004) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne.getDefaultClasspathEntries(NewJavaProjectWizardPageOne.java:1289) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.initializeBuildPath(NewJavaProjectWizardPageTwo.java:304) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.updateProject(NewJavaProjectWizardPageTwo.java:252) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.access$2(NewJavaProjectWizardPageTwo.java:200) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo$1UpdateRunnable.run(NewJavaProjectWizardPageTwo.java:161) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) ================== Let me know what else (info) you need so I can provide, thanks! Reproducible: Always Steps to Reproduce: 1. Window->Show View->Error Log 2. File->New->Java Project 3. press Next once there should now be 4 errors titles the same: Error while decoding JRE entry
2011-05-26 08:32:51
1,306,410,000
verified fixed
5db4717
1,306,740,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
JDT
269
346,007
Bug 346007 [JUnit] ITestSuiteElement.getSuiteTypeName() returns name of suite, rather than type name
Build Identifier: Calling ITestSuiteElement.getSuiteTypeName() on a test suite returns the string passed into junit.framework.TestSuite.TestSuite(String), rather than the name of the type. Reproducible: Always
2011-05-16 17:33:31
1,305,580,000
verified fixed
f244f2c
1,305,630,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/junit/model/ITestSuiteElement.java
JDT
270
345,740
Bug 345740 [navigation] Quick type hierarchy jumps to type instead of method
null
2011-05-13 10:33:34
1,305,300,000
verified fixed
1ae896a
1,305,630,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyInformationControl.java
JDT
271
345,429
Bug 345429 Doc should be updated for org.eclipse.jdt.ui.SharedASTProvider.getAST(ITypeRoot, WAIT_FLAG, IProgressMonitor)
This method can return null if the operation is canceled. This is not clearly specified right now.
2011-05-11 10:28:23
1,305,120,000
verified fixed
1f676e0
1,305,130,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/SharedASTProvider.java
JDT
272
345,363
Bug 345363 [content assist] FUP of bug 336451: Add a regression test
null
2011-05-11 01:35:54
1,305,090,000
verified fixed
3844d3a
1,305,120,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/contentassist/CodeCompletionTest.java
JDT
273
344,544
Bug 344544 Javadoc for method type parameters should not be generated if 'Ignore method type parameters' is disabled
3.7 M7. The Javadoc generation for 'Add all missing tags' quick fix and 'Generate Element Comment' (Alt+Shift+J) should not add the tags for type parameters if 'Ignore method type parameters' is disabled (default).
2011-05-03 05:46:38
1,304,420,000
verified fixed
8c3591b
1,305,110,000
org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceIndirection/test17/out/Foo.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceIndirection/test19/out/Foo.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceIndirection/test20/out/Foo.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceIndirection/test21/out/Foo.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceIndirection/test22/out/Foo.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceIndirection/test30/out/MultiGenerics.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceIndirectionTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeGeneration.java
JDT
274
345,003
Bug 345003 [preferences] Project-specific formatter profile changes lost after import/modify/rename
3.6.2 and HEAD - import org.eclipse.jdt.junit from CVS - edit project-specific code formatter properties - edit the profile - change an option - change the name of the profile to "A" - click OK, OK => change is lost, i.e. does not show up in org.eclipse.jdt.core.prefs Works fine when trying a second time without changing the profile name.
2011-05-06 13:12:26
1,304,700,000
verified fixed
4bd5283
1,304,940,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java
JDT
275
344,436
Bug 344436 [imports on paste] Allow to cancel 'Update imports on paste'
null
2011-05-02 07:20:10
1,304,340,000
verified fixed
e3743d3
1,304,590,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClipboardOperationAction.java
JDT
276
338,529
Bug 338529 [working sets] Clean up WorkingSetDropAdapterTest
I20110301-0800. WorkingSetDropAdapterTest is ugly and does not correctly create the working sets. Besides that I'd like to remove PackageExplorerPart.internalTestShowWorkingSets(IWorkingSet[]). Use the Accessor to access non public stuff.
2011-03-01 08:12:06
1,298,990,000
verified fixed
253af58
1,304,590,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/packageview/WorkingSetDropAdapterTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JDT
277
343,242
Bug 343242 CodeCompletionPerformanceTest#testApplicationWithParamterGuesses2() unreliable
3.7 but also on the baseline. CodeCompletionPerformanceTest#testApplicationWithParamterGuesses2() is unreliable. The test jumps up and down. In 3.6 it looked good. We need to investigate why this now happens in 3.6 baseline builds and 3.7.
2011-04-19 04:04:49
1,303,200,000
resolved fixed
4e1481e
1,304,580,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/CodeCompletionPerformanceTest.java
JDT
278
344,474
Bug 344474 [preferences] Errors/Warnings page no matches message should not be indented
3.7 M7. The "no matches" message should not be indented.
2011-05-02 11:26:51
1,304,350,000
verified fixed
f2e17a9
1,304,510,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
JDT
279
337,707
Bug 337707 [JUnit] JUnitJunitTests depend on the method ordering
HEAD. The JUnitJunitTests depend on the method ordering. We were just lucky that they all passed on different JREs so far but not some of them fail on JRE 1.7.
2011-02-21 06:51:39
1,298,290,000
resolved fixed
60acf7e
1,303,930,000
org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnit4Tests/src/pack/ATestCase.java org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnit4Tests/src/pack/Failures.java org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnit4Tests/src/pack/OrderedRunner.java org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/src/pack/ATestCase.java org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/src/pack/ATestSuite.java org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/src/pack/AllTests.java org.eclipse.jdt.ui.tests/testresources/JUnitWorkspace/JUnitTests/src/pack/Failures.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/junit/tests/TestRunListenerTest.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/binary/StubCreator.java
JDT
280
296,786
Bug 296786 [actions] Opening a project in Package Explorer forces me to select the project to open twice
I20091201-1600 Steps: 1. Close a project in Package Explorer. 2. Pick 'Open project' from context menu for the project. => Instead of opening the project, 'Open Project' dialog pops out asking to me to select the project(s) I want to open one more time. I'm using Working Sets as Top Level Elements.
2009-12-03 05:59:08
1,259,840,000
verified fixed
f3bd73b
1,303,400,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java
JDT
281
295,200
Bug 295200 [inline] Inline local variable refactoring deletes comment right before the variable declaration
null
2009-11-16 02:03:15
1,258,350,000
verified fixed
c7663cd
1,303,400,000
org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test25_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test45_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test45_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test46_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test46_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test47_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test47_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java
JDT
282
343,422
Bug 343422 [javadoc wizard] Generating Javadoc for CUs with UTF-8 names fails on Windows
null
2011-04-20 10:37:55
1,303,310,000
resolved fixed
b3186f5
1,303,310,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizard.java
JDT
283
341,976
Bug 341976 Regression in ActivateJavaEditorTest#testActivateEditor()
null
2011-04-06 00:32:21
1,302,060,000
resolved fixed
65e317b
1,303,300,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/ActivateJavaEditorTest.java
JDT
284
343,245
Bug 343245 [JUnit] DBCS4.1: JUnit can not import URL with CJK Extension B from clipboard
Build Identifier: I20110412-2200 OS: SELS4 Eclipse SDK: 4.1.0 JRE: IBM JDK 1.6.0 JUnit view can not import URL with CJK Extension B from clipboard. Eclipse hangs up. Reproducible: Always Steps to Reproduce: 1.Launch Eclipse and show JUnit view by [Window]->[Show View...]->[Others]->[Java]->[JUnit] 2.Open U20BOF_\ud842\udf9f.xml, attached to this report, in your browser. 3.Select your browser's URL field and copy it to clipboard 4.Click JUnit menu icon and select 'import URL from clipboard'. 5.Eclipse hangs up and it outputs the following error log. !SESSION 2011-04-19 17:06:45.167 ----------------------------------------------- eclipse.buildId=I20110412-2200 java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110203_74623 (JIT enabled, AOT enabled) J9VM - 20110203_074623 JIT - r9_20101028_17488ifx3 GC - 20101027_AA BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=ja_JP Command-line arguments: -os linux -ws gtk -arch x86 -consolelog !ENTRY org.eclipse.equinox.event 4 0 2011-04-19 17:07:58.964 !MESSAGE Exception while dispatching event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/REMOVE] to handler org.eclipse.e4.ui.services.internal.events.UIEventHandler@3ed83ed8 !STACK 0 java.lang.NullPointerException at org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon.restore(MinMaxAddon.java:345) at org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon$3.handleEvent(MinMaxAddon.java:221) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41) ...
2011-04-19 04:22:46
1,303,200,000
resolved fixed
6c55cad
1,303,290,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
JDT
285
339,248
Bug 339248 [inline] Inline method adds wrong casts for Collections.fill(*)
I20110307-2110 package xy; import java.util.ArrayList; import java.util.Collections; public class C { void foo(ArrayList<String> al) { Collections.fill(al, "Hi"); } } In 3.6, inlining the 'fill' method worked fine (except for the invisible FILL_THRESHOLD constant). In HEAD, the result is this, with 2 unnecessary casts that contain the unavailable type variable T: int size = ((List<? super T>) al).size(); if (size < Collections.FILL_THRESHOLD || al instanceof RandomAccess) { for (int i=0; i<size; i++) (al).set(i, (T) "Hi"); } else { ListIterator<? super String> itr = (al).listIterator(); for (int i=0; i<size; i++) { itr.next(); itr.set("Hi"); } }
2011-03-08 11:44:57
1,299,600,000
resolved fixed
b5a72c5
1,303,220,000
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedMethod.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedMethod.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.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/Bindings.java
JDT
286
342,391
Bug 342391 New Java Project wizard and 'Java Compiler' property page misleading when 1.7 EE is used
HEAD. The 'Java Compiler' preference/property page is misleading when a 'JavaSE-1.7' EE is used on a project: it says that we use the compliance from the EE but we don't support 1.7 compliance. Though we show '1.6' below this can be misleading, especially when one creates a new Java projects and selects 'JavaSE-1.7'. We should show a warning on that page and also on the new Java project wizard.
2011-04-11 02:49:59
1,302,500,000
resolved fixed
58de94b
1,302,880,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java 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
287
342,926
Bug 342926 [JUnit] DBCS4.1: JUnit4 can not generate a method name with CJK extension B.
Build Identifier: I20110407-2200 OS: SLES11 Eclipse: 4.1 I20110407-2200 JDK: IBM 1.6.0 When I create a methods name such as cjkExtensionB\ud842\udf9f() by JUnit4, JUnit generates testCjkExtensionB() instead of cjkExtensionB\ud842\udf9f(). Reproducible: Always Steps to Reproduce: 1. Paste the following code in your Java Editor and create the class BugXXXXXX. -------------------------------- public class BugXXXXXX { public void cjk\u4e00() { } public void cjkExtensionB\ud842\udf9f() { } } ---------------------------------- 2. From the context menu of BugXXXXXX.java -> [New] -> [JUnit Test Case...] 3. Type BugXXXXXXTest for 'Name' field and select BugXXXXXX for 'Class under test', then click [Next:. 4. Select 'cjk\u4e00()' and 'cjkExtensionB\ud842\udf9f()', then click [Finish]. 5. JUnit4 can generate testCJK\u4e00(), but it can not generate testCjkExtensionB\ud842\udf9f(). 6. It generates testCjkExtensionB() and truncates the name after '\ud842'.
2011-04-15 03:53:09
1,302,850,000
verified fixed
a4cf10d
1,302,860,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
JDT
288
338,229
Bug 338229 [typing] Incorrect indentation in string continuation (press Enter in front of +)
null
2011-02-25 10:34:27
1,298,650,000
verified fixed
aaf57e0
1,302,700,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaHeuristicScannerTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java
JDT
289
342,249
Bug 342249 [implementation] DBCS4.1: Not pop up Javadoc when the mouse is on a class with CJK Extension B
Build Identifier: I20110329-2200 OS: RedHat Enterprise Linux 6.0 Eclipse SDK Version: 4.1.0 Build id: I20110329-2200 If a class has CJK Extension B in the name, java doc message does not pop up when the mouse cursor stays on the class name. Reproducible: Always Steps to Reproduce: 1.Copy the following three classes in your Java Editor --------------------------------------- /** * @author ABC */ class U0041_A {} /** * @author ABC */ class U304B_ {} /** * @author ABC */ class U20B9F_
2011-04-08 05:12:25
1,302,250,000
verified fixed
8648468
1,302,690,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaWordFinder.java
JDT
290
342,559
Bug 342559 [content assist] IllegalArgumentException on Javadoc reference completion
Write the following class: /** * | * */ public class Gen<T> { } Then place your cursor at "|" and type "Ge", then invoke code assist. Accept the suggestion for {@link Gen<T>}: a "{@link Gen}" is correctly inserted, but the following error appears in the log: java.lang.IllegalArgumentException: at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.eclipse.core.runtime.Assert.isLegal(Assert.java:47) at org.eclipse.jdt.ui.text.java.CompletionProposalLabelProvider.createParameterList(CompletionProposalLabelProvider.java:96) at org.eclipse.jdt.internal.ui.text.java.ProposalContextInformation.<init>(ProposalContextInformation.java:48) at org.eclipse.jdt.internal.ui.text.java.LazyJavaTypeCompletionProposal.computeContextInformation(LazyJavaTypeCompletionProposal.java:389) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getContextInformation(LazyJavaCompletionProposal.java:203) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:942) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:879) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:1305) 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:65) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5957) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5656) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384) Session data: eclipse.buildId=M20110210-1200 java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Command-line arguments: -os win32 -ws win32 -arch x86_64
2011-04-12 08:58:14
1,302,610,000
resolved fixed
e6eb899
1,302,620,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalLabelProvider.java
JDT
291
342,410
Bug 342410 [quick assist] 'Pick out selected part of string' does not have any tests
null
2011-04-11 04:38:47
1,302,510,000
resolved fixed
6eedfff
1,302,510,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java
JDT
292
338,675
Bug 338675 [quick assist] 'Put expression in parentheses' is offered unnecessarily
-------------------------------------------------- public static void main(String[] args) { int[] a = new int[10]; for (int i = 0; i < 10; i++) { a[i] = i; } } -------------------------------------------------- - Select "i" or "i <" in the for loop condition - Ctrl+1 => 'Put '<' expression in parentheses' quick assist is offered, this is incorrect as the quick assist does not work on the selection.
2011-03-02 09:36:05
1,299,080,000
resolved fixed
1aac117
1,302,510,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
293
339,222
Bug 339222 [quick assist] "Change modifiers to final where possible" too prominent
----------------------------------------------------------- package p; class A { // warning here int a; @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; ClassA other = (ClassA) obj; if (a != other.a) return false; return true; } } ---------------------------------------------------------- - Enable 'Class overrides equals() but not hashcode()' warning - Click on the warning in the vertical ruler - 'Override hascode()' is number 2 and 'Generate hashcode and equals' is number 3. Expected: These should be 1 and 2.
2011-03-08 08:48:23
1,299,590,000
resolved fixed
a25d9b0
1,302,500,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java
JDT
294
342,074
Bug 342074 [move method] Refactor->Move an instance method to another causes IAE in SimpleName.setIdentifier
Build Identifier: M20110210-1200 I want to move some functionality of class A to a new composing class B. I created a new class B, which has nothing in it. I change A.method() to take a B as a parameter, so that I can use the instance method Move refactoring to move method() to B. That fails with a NullPointerException, in the attached stack trace. Reproducible: Always Steps to Reproduce: I tried to create a new set of classes that demonstrate this problem, but haven't been able to find whatever makes this refactoring fail in this case. I can however reproduce it every time with my code, but confidentiality prohibits my posting that code here.
2011-04-06 16:13:13
1,302,120,000
resolved fixed
dfcd5a6
1,302,200,000
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test42/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test42/in/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test42/in/Outer.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test42/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test42/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInstanceMethod/canMove/test42/out/Outer.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
JDT
295
341,109
Bug 341109 [package explorer] Remove filters on "Show In > Package Explorer" removes too many filters
When invoking "Show In->Package Explorer" action on a Type that come from "Libraries from external", I choose "Yes" to remove some filters so that the Type can be shown. BUG: Both "Empty library containers" and "Libraries from external" filters are removed. EXPECTED: Only "Libraries from external" should be removed. I assume this is just a naive algorithm that removes filters until the Type can be shown. Once it has removed enough filters to show the type, the algorithm should then go back and attempt to turn on all (except maybe the last) filters to see if they were unnecessarily removed. As a result, the User must re-enable 2 or more filters instead of just the one which allowed the Type to be shown.
2011-03-28 10:08:34
1,301,320,000
resolved fixed
2132fa2
1,301,940,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/CustomFiltersActionGroup.java
JDT
296
316,269
Bug 316269 NonSharedProjectFilter does not filter binary projects
R3.5 and also 3.6 RC4. The NonSharedProjectFilter no longer filters binary (PDE) projects. The code we use to detect this is RepositoryProvider.isShared(IProject) and this didn't change for years.
2010-06-09 07:18:04
1,276,080,000
verified fixed
1c4ca62
1,301,590,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/NonSharedProjectFilter.java
JDT
297
340,470
Bug 340470 [implementation] Use ASTProvider.SHARED_AST_LEVEL instead of AST.JLS3 where it makes sense
null
2011-03-18 15:16:06
1,300,480,000
resolved fixed
ea4ef7c
1,300,480,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/JUnitStubUtility.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/BreakContinueTargetFinderTest.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/BinaryReferencesTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/DelegateCreatorTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineConstantTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ReplaceInvocationsTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/typeconstraints/TypeEnvironmentTests.java org.eclipse.jdt.ui.tests/examples/org/eclipse/jdt/ui/examples/ASTRewriteSnippet.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ASTNodesInsertTest.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/BindingsNameTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeFormatterUtilTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/MethodOverrideTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/OverrideTest.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/ScopeAnalyzerTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TypeRulesTest.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/core/source/GenerateConstructorUsingFieldsTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateDelegateMethodsTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateGettersSettersTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateHashCodeEqualsTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateToStringTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTBatchParser.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.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/TypedSource.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineMethodRefactoring.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/ReplaceInvocationsRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsRefactoring.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/RenameTypeProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InlineMethodRefactoringContribution.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/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/CompilationUnitRewrite.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/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/surround/SurroundWithTryCatchRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ASTCreator.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.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/JavaStructureCreator.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.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/LazyGenericTypeProposal.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/javadoc/JavadocContentAccess2.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ClassPathDetector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/SharedASTProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.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 org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
JDT
298
340,371
Bug 340371 [templates] Indentation of Javadoc template mangled on insertion
I20110310-1119 I tried to create a Javadoc template with name BETA_JAVA7 and this content (properly formatted, i.e. without Bugzilla's additional line breaks): * This is an implementation of an early-draft specification developed under the Java * Community Process (JCP) and is made available for testing and evaluation purposes * only. The code is not compatible with any specification of the JCP. * When I try to insert this into the standard Eclipse header comment at the beginning of line * Contributors: , the result is this: * This is an implementation of an early-draft specification developed under the Java * Community Process (JCP) and is made available for testing and evaluation purposes * only. The code is not compatible with any specification of the JCP. * * Contributors: => first line misses first space => last line has 1 space too much
2011-03-17 16:50:01
1,300,400,000
resolved fixed
d573d03
1,300,450,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaFormatter.java
JDT
299
340,338
Bug 340338 [content assist] Proposal does not replace leading chars if there's a selection
3.1. Inserting a proposal does not replace the leading characters if there's a selection when invoking content assist. Test Case: 1. set 'Completion overwrites' 2. have: ---%<--- void test() { String s; s.getBytes(); } ---%<--- 3. select "get" 4. Ctrl+Space 5. select 'charAt' and insert it ==> s.charAtBytes(); EXPECTED: s.charAt();
2011-03-17 11:55:59
1,300,380,000
resolved fixed
c99073b
1,300,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java
JDT
300
339,896
Bug 339896 [change method signature] Preview is incorrect when a varargs parameter is present
Build Identifier: 20100617-1415 When adding a varargs parameter (or if one is already present), the type of that parameter is not used in the preview. Reproducible: Always Steps to Reproduce: 1. Trigger "Change Method Signature..." for some method 2. Add a varargs parameter if there is not already one 3. The "Method signature preview" at the bottom does not contain the type of the varargs parameter (even if it is not a new parameter)
2011-03-14 10:30:01
1,300,110,000
resolved fixed
07a57f5
1,300,210,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java
JDT
301
334,980
Bug 334980 [actions] 'Format Element' should work if the selection is on a declaration
3.6. 'Format Element' should work if the selection is on a declaration 1. paste: public class Foo { public static void main(String[] args) { System.out.println(); } } 2. select name Foo or main (fully or partially) 3. Source > Format Element ==> nothing happens.
2011-01-21 03:39:04
1,295,600,000
resolved fixed
53b935c
1,300,210,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
JDT
302
339,700
Bug 339700 Preferences dialog opened from 'Search' view should be scoped
I20110307-2110 1. Open the 'Search' view. 2. Ctrl+F10 > Preferences... 3. Everything is available in this preference dialog. Perhaps it should only be scoped to 'General > Editors > Text Editors > Annotations' and 'General > Search'?
2011-03-11 09:50:40
1,299,860,000
resolved fixed
1dc930b
1,300,180,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
JDT
303
339,614
Bug 339614 [search] JavaElementLine crashes with ArrayIndexOutOfBoundsException when there is EOF encountered
The constructor org.eclipse.jdt.internal.ui.search.JavaElementLine.JavaElementLine(ITypeRoot, int, int) expects that the end of the line ends with a \n or a \r char. However, there are situations where an EOF is reached with no \r or \n. The only time I have encountered this in Java code is with a syntax error. See this class: class Foo { int x Now, select the x field and do CTRL-Shift-U. And the result is an exception in the log: eclipse.buildId=M20110210-1200 java.version=1.6.0_22 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os macosx -ws cocoa -arch x86 -product com.springsource.sts.ide -data /users/Andrew/Eclipse/Workspaces/workspaceAJDT36 Error Thu Mar 10 14:42:35 PST 2011 An internal error occurred during: "Search for Occurrences in File". java.lang.ArrayIndexOutOfBoundsException at org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.getChar(DocumentAdapter.java:369) at org.eclipse.jdt.internal.ui.search.JavaElementLine.<init>(JavaElementLine.java:70) at org.eclipse.jdt.internal.ui.search.OccurrencesSearchQuery.getLineElement(OccurrencesSearchQuery.java:113) at org.eclipse.jdt.internal.ui.search.OccurrencesSearchQuery.run(OccurrencesSearchQuery.java:79) at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:91) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) The fix is simple. In the condition for the while loop on line 64, add a check for EOF: while (i < length && !IndentManipulation.isLineDelimiterChar(ch) && !IndentManipulation.isEOFChar(ch)) {
2011-03-10 17:46:28
1,299,800,000
resolved fixed
2f5e78c
1,299,850,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementLine.java
JDT
304
338,212
Bug 338212 [JUnit] JUnit classes cannot be resolved when using built-in JUnit library (space in install directory)
Build Identifier: I20110127-2034 I installed eclipse-java-helios-SR1-win32-x86_64 and I can use the built-in JUnit 3 or 4 library in a Java project, the JUnit classes can be resolved. If I use eclipse-SDK-3.7M5-win32-x86_64, eclipse-SDK-I20110208-0800-win32-x86_64 or eclipse-SDK-N20110211-2000-win32-x86_64, then the classes are not resolved. When looking at the "Current Location", it's missing the jar in the path. It's showing Current location: org.junit_4.8.1.v4_8_1_v20100427-1100 - C:\Program Files\Eclipse\plugins Source Location: org.junit.source_4.8.1.v4_8_1_v20100427-1100.jar - C:\Program Files\Eclipse\plugins Reproducible: Always Steps to Reproduce: 1. Create a Java Project 2. Create a new JUnit Test Case, either v3 or v4 3. Eclipse asks to add JUnit library, say yes Result: The JUnit classes cannot be resolved
2011-02-25 07:51:05
1,298,640,000
verified fixed
5fa8fa0
1,299,690,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/BuildPathSupport.java
JDT
305
339,228
Bug 339228 [working sets] IllegalArgumentException when trying to enable "Sort working sets"
I20110307-2110 IllegalArgumentException when trying to enable "Sort working sets" in the Package Explorer: java.lang.IllegalArgumentException: at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.eclipse.core.runtime.Assert.isLegal(Assert.java:47) at org.eclipse.jdt.internal.ui.workingsets.WorkingSetModel.setWorkingSets(WorkingSetModel.java:434) at org.eclipse.jdt.internal.ui.workingsets.ConfigureWorkingSetAction.run(ConfigureWorkingSetAction.java:59) 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.Display.sendEvent(Display.java:4114) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1443) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1451) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1263) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3960) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3599) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
2011-03-08 09:46:18
1,299,600,000
verified fixed
ff9ed10
1,299,680,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java
JDT
306
321,592
Bug 321592 [quick fix] Dead code fix forget that conditional has a special way to compute resulting type
Build Identifier: I20100706-0800 If a dead code appears in a conditional, the fix can generate the wrong code because conditonal use the type of the two branches to compute the resulting type. In the following code, eclipse rightly detects that new Double(0, 0) is a dead code but when fix it, it wrongly assume that there is no conversion. The result should be a double (conditional does unboxing see JLS3 15.25). Object o = true ? new Integer(1) : new Double(0.0); //Object o = new Integer(3); // wrong fix done by eclipse //Object o = 1.0 // correct fix System.out.println(o); Reproducible: Always Steps to Reproduce: run the snippet of code and fix the dead code.
2010-08-03 09:43:25
1,280,840,000
resolved fixed
cb3e2d1
1,299,530,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
JDT
307
336,833
Bug 336833 [ltk][refactoring] Allow for context help on DIALOG_BASED_USER_INTERFACE
Currently you have to use a wizard (WIZARD_BASED_USER_INTERFACE) to show any context sensitive help in a refactoring dialog. This is cumbersome particularly when your refactoring dialog is quite large already and you don't want to add the title area. Also since many refactoring dialogs are quite complex, adding the title area tends to clutter the UI and make it harder on users. On a cursory glance, RefactoringWizardDialog2 would just need extend TrayDialog.
2011-02-10 10:45:04
1,297,350,000
resolved fixed
235dad8
1,299,520,000
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java
JDT
308
339,056
Bug 339056 [quick assist][quick fix] The order of quick fix/quick assists is wrong sometimes
null
2011-03-07 03:47:32
1,299,490,000
verified fixed
79a78af
1,299,510,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
JDT
309
339,000
Bug 339000 Misspelling for field name UndoManager2.fOperationHistroy
Build Identifier: M20100909-0800 The field name is misspelled. It should be UndoManager2.fOperationHistory (instead of UndoManager2.fOperationHistroy). Reproducible: Always Steps to Reproduce: It is in the source code, so I just open UndoManager2.java in org.eclipse.ltk.internal.core.refactoring
2011-03-05 03:26:58
1,299,310,000
resolved fixed
027df71
1,299,370,000
org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/UndoManager2.java
JDT
310
338,531
Bug 338531 Wrong ordering of elements in WorkingSetModel.fAllWorkingSets
When setting the elements using WorkingSetModel.setWorkingSets(IWorkingSet[], boolean, IWorkingSet[]) or WorkingSetModel.setActiveWorkingSets(IWorkingSet[]) then the ordering in fActiveWorkingSets and fAllWorkingSets can differ. This is bad because that ordering is used in the dialog and the drop adapter. Test Case: 1. In PackageExplorerPart.internalTestShowWorkingSets replace fWorkingSetModel.setWorkingSets(workingSets, false, workingSets); with: fWorkingSetModel.setActiveWorkingSets(workingSets); 2. Run org.eclipse.jdt.ui.tests.packageview.WorkingSetDropAdapterTest ==> test failure. This happens because previous tests created a different order and when we then set [w1,w2,w3] the order in active and all is different. ==> we need to ensure that the same relative ordering is used.
2011-03-01 08:52:27
1,298,990,000
verified fixed
08cc3cc
1,299,270,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
JDT
311
230,244
Bug 230244 [refactoring] Add new participant-aware refactorings to IRefactoringProcessorIds
I20080502-0100 Add constants for new participant-aware refactorings to IRefactoringProcessorIds and let implementations of RefactoringProcessor#getIdentifier() point to the API constants: - ChangeSignatureProcessor - IntroduceParameterObjectProcessor
2008-05-05 12:24:22
1,210,000,000
resolved fixed
2188119
1,299,270,000
org.eclipse.jdt.core.manipulation/refactoring/org/eclipse/jdt/core/refactoring/participants/IRefactoringProcessorIds.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/IntroduceParameterObjectProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/refactoring/IRefactoringProcessorIds.java
JDT
312
334,978
Bug 334978 [syntax highlighting] default constructor of deprecated type should be rendered with strikethrough
Build Identifier: M20100211-1343 import java.util.ArrayList; import java.util.List; public class DeprecatedTest { private final List<Object> instances; public DeprecatedTest(){ instances = new ArrayList<Object>(); instances.add(new Depr()); instances.add(new Depr1()); instances.add(new Depr2()); instances.add(new Depr3()); } @Deprecated public class Depr{} @Deprecated public class Depr1{} @Deprecated public class Depr2{} @Deprecated public class Depr3{} } Reproducible: Always
2011-01-21 02:23:46
1,295,590,000
resolved fixed
af2bca2
1,299,250,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java
JDT
313
338,809
Bug 338809 [quick fix] for bogus Javadoc errors (incorrect reference to nested type)
null
2011-03-03 08:37:10
1,299,160,000
resolved fixed
7e03f10
1,299,160,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/JavadocQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java
JDT
314
338,731
Bug 338731 [quick fix] Quick fixes with linked mode in different editor jump to a wrong end position
null
2011-03-02 15:32:16
1,299,100,000
resolved fixed
294597c
1,299,100,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/CUCorrectionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/LinkedProposalModelPresenter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SurroundWithTryCatchAction.java
JDT
315
338,439
Bug 338439 Wrong quick fix for 'Access to enclosing method getShell() from the type AbstractLaunchConfigurationTab is emulated by a synthetic accessor method
null
2011-02-28 11:52:37
1,298,910,000
verified fixed
366ccba
1,299,100,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ModifierRewrite.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/LinkedProposalPositionGroup.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/ModifierCorrectionSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/ModifierChangeCorrectionProposal.java
JDT
316
338,638
Bug 338638 [quick assist][quick fix] Relevance for externalization quick fixes too low with non-empty selection
The order for string externalization quick fixes is different when invoked by clicking on the marker on the left margin compared to one that comes by pressing Ctrl + 1 on the non-NLS'ed string. See snapshots
2011-03-02 05:13:14
1,299,060,000
verified fixed
c20bc9e
1,299,090,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
JDT
317
338,656
Bug 338656 [quick fix] "Change type of '*' to *" should offer matching type with type arguments first
null
2011-03-02 07:08:54
1,299,070,000
resolved fixed
8c3b254
1,299,070,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/proposals/TypeChangeCorrectionProposal.java
JDT
318
338,373
Bug 338373 [navigation] FUP of bug 171019: adjust selection detector for @inheritDoc javadoc tag
null
2011-02-28 04:01:53
1,298,880,000
verified fixed
1376e64
1,298,910,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaElementHyperlinkDetector.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractJavaEditorTextHover.java
JDT
319
183,127
Bug 183127 [package explorer] [working sets] Working set order lost for non visible working sets
I20070417-0800 Given a pkg explorer with visible and non visible working sets and top level element working sets: 1. Configure Working Sets... 2. Select a non visible working set 3. Move it all the way to to top of the list 4. Ok 5. Configure Working Sets... Is: The non visible WS is at the bottom of the list Should: Be at the top?
2007-04-19 04:11:05
1,176,970,000
verified fixed
9c77dee
1,298,900,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetDropAdapter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/ConfigureWorkingSetAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/ConfigureWorkingSetAssignementAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
JDT
320
337,181
Bug 337181 [inline] returned value is not cast
HEAD -Inline foo() - Expected: long much = (long) (1+1) * Integer.MAX_VALUE; - Actual: long much = (1+1) * Integer.MAX_VALUE; ------------------------------------------------------------------ package p; class A { void x() { long much = foo() * Integer.MAX_VALUE; } private long foo() { return 1 + 1; } } ------------------------------------------------------------------ See also InlineTempTests#test36, InlineConstantTests#test32.
2011-02-15 00:59:09
1,297,750,000
resolved fixed
2e8d047
1,298,700,000
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestReturnValue1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestReturnValue2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestReturnValue3.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestReturnValue4.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestReturnValue5.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestReturnValue1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestReturnValue2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestReturnValue3.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestReturnValue4.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestReturnValue5.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedType4.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedType5.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedType6.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedType4.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedType5.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedType6.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java
JDT
321
338,271
Bug 338271 TypeRules#canAssign(ITypeBinding, ITypeBinding) broken for generic types
null
2011-02-25 15:13:12
1,298,660,000
resolved fixed
7729665
1,298,660,000
org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test44_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test44_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TypeRulesTest.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/TypeRules.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java
JDT
322
331,028
Bug 331028 [typing] Indentation broken in enhanced for loop
null
2010-11-24 10:05:40
1,290,610,000
verified fixed
db438b4
1,298,640,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaHeuristicScannerTest.java
JDT
323
337,150
Bug 337150 [typing] Incorrect indentation in string continuation
HEAD Started with -------------------------------------------------------------------- package p; class A { void foo() { String[] array ={ "this is the 1st string"+ "this is the 1st string"+ "this is the 1st string"+ "this is the 1st string"+ "this is the 1st string", "this is the 2nd string"+ "this is the 2nd string"+ "this is the 2nd string"+ "this is the 2nd string"+ "this is the 2nd string" }; } } --------------------------------------------------------------------- Replace "this is the 2nd string"+ "this is the 2nd string"+ "this is the 2nd string"+ "this is the 2nd string"+ "this is the 2nd string" with "this is the new 2nd string"+ "this is the new 2nd string"+ "this is the new 2nd string"+ "this is the new 2nd string"+ "this is the new 2nd string" => Result is ----------------------------------------------------------------------------- package p; class A { void foo() { String[] array ={ "this is the 1st string"+ "this is the 1st string"+ "this is the 1st string"+ "this is the 1st string"+ "this is the 1st string", "this is the new 2nd string"+ "this is the new 2nd string"+ "this is the new 2nd string"+ "this is the new 2nd string"+ "this is the new 2nd string" }; } } ----------------------------------------------------------------------------- All the lines after the second one are indented by 2. (This works fine if the 1st string is replaced) The concrete use case can be seen in org.eclipse.jdt.core.tests.compiler.regression.JavadocBugsTest.testBug128954(). Thanks Olivier for pointing this out.
2011-02-14 13:21:02
1,297,710,000
verified fixed
9eaa707
1,298,610,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaAutoIndentStrategyTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
JDT
324
338,154
Bug 338154 [typing] "Automatically close <angle> brackets" should not add > when type argument follows
HEAD The "Automatically close <angle> brackets" feature from the Typing preference page should not add the closing > when it is already present. This already works fine for (parentheses): import java.util.*; public class Try { void foo(Object o) { List<String> var= new ArrayList|String>(); foo|var); } } When you replace the "|" with "<" and "(", respectively, then you see the good behavior for "(" and the bad additional ">" that gets inserted after the "<".
2011-02-24 15:42:28
1,298,580,000
resolved fixed
79c6211
1,298,580,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/BracketInserterTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
JDT
325
338,089
Bug 338089 [quick fix] "Infer Generic Type Arguments..." shows up twice
HEAD The "Infer Generic Type Arguments..." shows up twice, e.g on class instance creations: package xy; import java.util.ArrayList; import java.util.List; public class Try { void foo() { List<String> var= new ArrayList(); // caret in ArrayList, Ctrl+1 } }
2011-02-24 09:19:03
1,298,560,000
resolved fixed
eecc21a
1,298,560,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
JDT
326
332,521
Bug 332521 [quick assist] Ctrl+1 on missing Javadoc is 'Rename in file' first which wouldn't actually fix the problem
null
2010-12-14 09:03:42
1,292,340,000
verified fixed
d010262
1,298,480,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
JDT
327
337,903
Bug 337903 [quick fix] for raw type warning, should at least be as good as for unresolved type
null
2011-02-22 16:26:23
1,298,410,000
resolved fixed
9875e0c
1,298,420,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/LocalCorrectionsSubProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
JDT
328
337,887
Bug 337887 [type hierarchy] MethodOverrideTester and Type Hierarchy don't consider flags etc.
null
2011-02-22 14:24:13
1,298,400,000
verified fixed
62ade1f
1,298,400,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyContentProvider.java
JDT
329
117,960
Bug 117960 [quick assist] Inversion of 'value' of conditional expressions is incorrect
Start with this code: String scheme1 = ""; String scheme2 = ""; if (!(scheme1 == null ? scheme2 == null : ((scheme2 != null) && scheme1.equals(scheme2)))) return false; 2) Put the cursor next to the ! at the beginning of the if statement and select the "push negation down" quick fix. The resulting code has compile errors: if (!scheme1 == null ? scheme2 == null : ((scheme2 != null) && scheme1.equals(scheme2))) return false; Error: "The operation "!" is undefined for the argument type(s) String."
2005-11-24 15:58:18
1,132,870,000
resolved fixed
051346b
1,298,300,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
330
335,778
Bug 335778 [quick assist] 'Pull Negation up' and 'Push Negation down' unnecessarily available
3.7 M5 ------------------------------------------------------------ package snippet; public class Snippet { void foo(Object a) { if (!(a instanceof String)) { } } } ------------------------------------------------------------ - Select "!(a instanceof String)" - Ctrl+1 - 'Pull Negation up' and 'Pull Negation down' are available, but they do not really do anything here...
2011-01-29 14:33:23
1,296,330,000
verified fixed
cbc922f
1,298,290,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/QuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
JDT
331
252,104
Bug 252104 [quick assist] Convert to switch produces compile errors for conditional expression
N20081005-2000 See the following snippet: ------------- package p; public class B { public static void main(String[] args) { switch(getFoo() ? getBar() : getBar()) { case 1: System.out.println(); break; } } private static int getBar() { return 0; } private static boolean getFoo() { return false; } } ------ Using the "Convert switch to if/else" quick assist fails to add the correct parentheses to the expression. After the quick assist is done there are currently two quick fixes: * add cast to boolean * Insert null check In this case these two quick fixes are not really useful as we don't come closer to a compilable output.
2008-10-25 19:23:14
1,224,980,000
resolved fixed
8a55e7d
1,298,270,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
332
335,173
Bug 335173 [clean up][quick assist][inline] Fix detection and creation of unnecessary parentheses
null
2011-01-24 06:28:51
1,295,870,000
verified fixed
bb95c0c
1,298,260,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test39_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test39_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test40_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test40_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test41_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test41_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test42_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test42_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test43_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractConstant/canExtract/A_test43_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test625.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test626.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test627.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test628.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_in/A_test629.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test625.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test626.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test627.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test628.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/expression_out/A_test629.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test105_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test105_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test106_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test106_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test107_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test107_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test108_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test108_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test109_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test109_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test24/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test33/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test35/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test35/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test36/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test36/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test37/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test37/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_out/TestArray.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestInfixExpression1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestInfixExpression2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestInfixExpression1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestInfixExpression2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/expression_out/TestConditionalExpression.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_in/TestDiffPlus.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_in/TestPlusPlus_1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestDiffPlus.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestPlusPlus.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestPlusPlus_1.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/operator_out/TestTimesTimes.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/simple_out/TestComment2.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test36_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test36_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test41_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test41_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test42_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test42_out.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test43_in.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/canInline/A_test43_out.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression1.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression2.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression3.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression4.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/Expression5.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression1.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression2.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression3.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression4.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameter/simple/out/Expression5.java org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/object_in/TestCompoundWrite4.java org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/object_out/TestCompoundWrite4.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractConstantTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractMethodTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractTempTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineConstantTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SefTests.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AdvancedQuickAssistTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/GetterSetterQuickFixTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GetterSetterUtil.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/NecessaryParenthesesChecker.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.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/code/CallInliner.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.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/InlineTempRefactoring.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/SourceProvider.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/AccessAnalyzer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
JDT
333
314,094
Bug 314094 [hovering] @see method link in Javadoc doesn't work correctly if the method is in superclass
Consider the following 2 classes: public class ClassParent { public void foo1() { } } public class ClassChild extends ClassParent{ /** * @see #foo1() */ public void foo2() { foo1(); } } Steps to reproduce: 1) Open ClassChild and select method foo2 2) In the javadoc view, under the See Also section there is link to method foo1, click on foo1 link. The javadoc for ClassChild opens instead of the doc for foo1. Selecting foo1 in @see #foo1 in the Java editor shows the javadoc correctly in the javadoc view.
2010-05-24 06:50:32
1,274,700,000
resolved fixed
4f708dd
1,298,030,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLinks.java
JDT
334
237,081
Bug 237081 [typing] Correct indentation wrong after if (test) try ... catch ...
Build ID: I20080523-0100 Steps To Reproduce: 1. Copy the code below in a new java editor 2. Select all, and ctrl+I (Correct Indentation) 3. The global assignment statement should be aligned with the "if", while it is aligned with the "try" More information: import java.io.File; public class TestCorrectIndentation { private boolean _GLOBAL; public void foo() { try { File file = new File("foo"); if (file.exists()) try { // do stuff } catch (RuntimeException ex) { System.err.println("Impossible faire une URL pour le fichier " + file); } // one level of increment should not be there _GLOBAL = _GLOBAL && test(); } finally { // nothing } } private boolean test() { // TODO Auto-generated method stub return false; } }
2008-06-13 10:20:23
1,213,370,000
resolved fixed
74b1f37
1,298,010,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaHeuristicScannerTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
JDT