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
2,035
168,834
Bug 168834 [getter setter] should remove final field modifier
I20061219-1300 Given: package test; public class E { private final int field; public E() { field= -1; } } 1. Source>Generate Getters and Setters... 2. Check 'field' (why is it not already checked?) 3. OK Is: Dialog is asking me if I want to skip the generation of the setter (due to final modifier of field) Should: What I want is that the action removes the final modifier. There is code which can do that: VariableDeclarationRewrite
2006-12-21 04:47:43
1,166,690,000
resolved fixed
b761de5
1,166,800,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateGettersSettersTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddGetterSetterOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/CodeGenerationMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
JDT
2,036
163,121
Bug 163121 [quick assist] "Convert to enhanced for loop" proposes existing name "element"
I20061101-0800 "Convert to enhanced for loop" proposes existing name "element", causing compile errors: void foo(Object[] x, Object[] y) { for (int i= 0; i < y.length; i++) for (int j= 0; j < x.length; j++) System.out.println(y[i]); } - convert outer for - convert inner for => result: void foo(Object[] x, Object[] y) { for (Object element : y) for (Object element : x) System.out.println(element); }
2006-11-01 14:38:28
1,162,410,000
resolved fixed
251bcef
1,166,780,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 org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertLoopFix.java
JDT
2,037
168,032
Bug 168032 [package explorer] cannot reveal resources in closed working sets
3.3 M3 - make sure to have the Package Explorer in working sets mode - open any file - collapse the working set containing that file - in the editor do a "Show in > Package Explorer" from the context menu Observe: you hear a beep, but the file is not revealed in the Package Explorer - expand working set, try again Observe: not it works
2006-12-14 05:49:37
1,166,090,000
verified fixed
be100df
1,166,720,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
JDT
2,038
168,007
Bug 168007 [build path] Removing an attribute removes selection
I20061214-0010 1. expand rt.jar on the 'Libraries' build path page 2. click 'Remove' ==> the entry is update but the selection is lost EXPTECTED: the entry is still gray selected (because the list does not have the focus)
2006-12-14 02:53:53
1,166,080,000
resolved fixed
ca9722e
1,166,700,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
JDT
2,039
168,209
Bug 168209 [actions] Javadoc Attachments do not open on Shift-F2 when target folder contains spaces and plug-in is not jarD
Build ID: M20060629-1905 Steps To Reproduce: 1. Switch Target Platform to a one that contains spaces in path 2. Put a plug-in that implements the extension-point 'org.eclipse.pde.core.javadoc' and is *not* jarD up into the this Target Platform 3. Within the ide create a class that references a class that's described by the Javadoc Attachment plug-in. Try to open the Javadoc Attachment from within the ide using Shift-F2 --> An error dialog shows up, denoting that the file could not be found If the plug-in (not the documentation itself) is jarD it does work. Also the javadoc that does show up on hover. The cause for this is that the path is percent encoded and the file exists check fails. It brings up the error dialog, although the url is valid and the OpenBrowserUtil would open this file. Due to this check is only executed if protocol is "file", this does not occur when the plug-in is jarD. See: org.eclipse.jdt.ui.actions.OpenExternalJavadocAction.run(IJavaElement element) line 191 if ("file".equals(baseURL.getProtocol())) { //$NON-NLS-1$ URL noRefURL= JavaUI.getJavadocLocation(element, false); if (!(new File(noRefURL.getFile())).isFile()) { String message= ActionMessages.OpenExternalJavadocAction_no_entry; showMessage(shell, Messages.format(message, new String[] { labelName, noRefURL.toExternalForm() }), false); return; } } More information:
2006-12-15 09:38:51
1,166,190,000
resolved fixed
3bbd22e
1,166,550,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java
JDT
2,040
164,626
Bug 164626 [actions] Add 'Show in...' to context menu of any Java view, not just editor
Add the ALT+Shift+W (Show in...) on the right click menu on any file, not just the java ones. Note that the keyboard shortcut already exists on any type of file, it's just not mapped onto the right-click menu.
2006-11-15 07:16:37
1,163,590,000
resolved fixed
ae29476
1,166,540,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/NewSearchViewActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenViewActionGroup.java
JDT
2,041
167,682
Bug 167682 [package explorer] 'Referenced Libraries' node stays when all libraries filtered
I20061212-0010 The 'Referenced Libraries' node stays in the Package Explorer when all libraries are filtered (enable filters 'Libraries from external' and 'Libraries from project'). This is inconsistent with the 'Plug-in Dependencies' node which is removed as soon as the 'Libraries from external' filter is active.
2006-12-12 12:12:13
1,165,940,000
resolved fixed
a5ee9bb
1,166,520,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/LogicalPackage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewTreeViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/LibraryFilter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/LayoutActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
JDT
2,042
75,843
Bug 75843 Deadlock arised when calling JDIDebugModel.createMethodEntryBreakpoint
We are now having quite a few cases where a deadlock occurred when we were trying to created an internal breakpoint by calling JDIDebugModel.createMethodEntryBreakpoint. The deadlock will freeze the entire UI. The situation can be summarized into the following: 1. The UI thread (main thread) is in the process of displaying a GUI component, e.g. a dialog 2. The processing of the UI component triggers our debugger to call JDIDebugModel.createMethodEntryBreakpoint to set an internal breakpoint. 3. The process of creating the method entry breakpoint results in the WorkbenchContentProvider.resourceChanged(IResourceChangeEvent) to be executed, which calls Display.syncExec(Runnable). 4. And we have a deadlock. Since I have already discussed this issue with folks from both the JDT team and UI team, I just want to reemphasize a few points: 1. Delay the displaying of the GUI component is not a valid solution, because it is the displaying of the GUI component that triggers the rest of the reaction chain. 2. The process of displaying the GUI component is pending because the information required by the GUI component cannot be completed due to the breakpoint creation. I am including the thread snapshots when the deadlock is occurred: The main thread shows: Thread [main] (Suspended) OS.DispatchMessageW(MSG) line: not available [native method] OS.DispatchMessage(MSG) line: 1467 Display.readAndDispatch() line: 2429 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 1377 Workbench.runUI() line: 1348 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 254 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 141 IDEApplication.run(Object) line: 96 PlatformActivator$1.run(Object) line: 335 EclipseStarter.run(Object) line: 273 EclipseStarter.run(String[], Runnable) line: 129 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 85 NativeMethodAccessorImpl.invoke(Method, Object, Object[]) line: 58 DelegatingMethodAccessorImpl.invoke(Method, Object, Object[]) line: 60 Method.invoke(Object, Object[]) line: 391 Main.basicRun(String[]) line: 185 Main.run(String[]) line: 684 Main.main(String[]) line: 668 The thread that is responsible for the creation of the java method entry breakpoint shows: Thread [org.eclipse.jdt.debug: JDI Event Dispatcher] (Suspended) Semaphore(Object).wait(long, int) line: not available [native method] Semaphore(Object).wait(long) line: 223 Semaphore.acquire(long) line: 37 UISynchronizer.syncExec(Runnable) line: 42 Display.syncExec(Runnable) line: 3096 WorkbenchContentProvider.resourceChanged(IResourceChangeEvent) line: 107 NotificationManager$2.run() line: 283 InternalPlatform.run(ISafeRunnable) line: 615 Platform.run(ISafeRunnable) line: 747 NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], IResourceChangeEvent, boolean) line: 277 NotificationManager.broadcastChanges(ElementTree, int, boolean) line: 151 Workspace.broadcastChanges(int, boolean) line: 172 Workspace.endOperation(ISchedulingRule, boolean, IProgressMonitor) line: 900 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1682 JavaMethodEntryBreakpoint(JavaBreakpoint).run(ISchedulingRule, IWorkspaceRunnable) line: 769 JavaMethodEntryBreakpoint.<init>(IResource, String, String, String, int, int, int, int, boolean, Map) line: 87 JDIDebugModel.createMethodEntryBreakpoint(IResource, String, String, String, int, int, int, int, boolean, Map) line: 553 WSAJavaMethodEntryBreakpoint.setBreakpoint(IResource, IDebugTarget) line: 35 WSAJavaMethodEntryBreakpoint (WSAJavaMethodBreakpoint).setTemporaryBreakpoint(IResource, IDebugTarget) line: 35 WSABreakpointManager.setMethodEntryBreakpoint(String, String, String) line: 893 WSAJavaThread.handleBreakpointHit(IBreakpoint) line: 468 WSAJavaThread.handleDebugEvents(DebugEvent[]) line: 255 WSAJavaDebugTarget.filterJavaEvents(DebugEvent[]) line: 731 WSAJavaDebugTarget.filterDebugEvents(DebugEvent[]) line: 705 DebugPlugin$EventNotifier.run() line: 936 InternalPlatform.run(ISafeRunnable) line: 615 Platform.run(ISafeRunnable) line: 747 DebugPlugin$EventNotifier.dispatch(DebugEvent[]) line: 960 DebugPlugin.fireDebugEventSet(DebugEvent[]) line: 337 EventDispatcher.fireEvents() line: 296 EventDispatcher.dispatch(EventSet) line: 181 EventDispatcher.run() line: 221 Thread.run() line: 813
2004-10-07 16:21:54
1,097,180,000
verified fixed
69fdb44
1,166,460,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
JDT
2,043
168,412
Bug 168412 [navigation] CTRL+O tree should expand first level items when editor opened on nested class
I have EMF in my classpath. I open a nested, top-level class (EcoreUtil$Copier). When I invoke CTRL+O, I see the outline with only the class name shown. Expectation is that the top-level treeitems should be expanded initially. Maybe it is being calculated as 2nd-level because of the filtered outer class.
2006-12-18 10:10:55
1,166,450,000
resolved fixed
bb07862
1,166,460,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
JDT
2,044
139,805
Bug 139805 [preferences] Java Editor preference page cut off in High Contrast
RC2 1) Change your window resolution to 1152x768 2) Select Use High Contrast from the Accessibility options 3) Restart when prompted 4) Open the preference dialog 5) Select java - > Editor
2006-05-02 15:07:31
1,146,600,000
resolved fixed
5f16fd2
1,166,460,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorAppearanceConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorColoringConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaTemplatePreferencePage.java
JDT
2,045
168,104
Bug 168104 [preferences] Make configurable errors non-fatal preference option more prominent
If I want to mark Unused Imports as errors in my files, I should be able to do so without preventing that CU from being compiled successfully. My desire is to see a Red X in the decorators for Tasks View, Synchronize View, etc., not to prevent the file from compiling. Some teams allow warnings to be present in their files. For example, a reference to a deprecated class cannot be hidden without compiling with Java 5. In this use case, there are more severe levels of hygiene errors that should be displayed as red X's, but should not cause compile problems that prevent running and hot-swapping.
2006-12-14 13:56:22
1,166,120,000
resolved fixed
6371524
1,166,440,000
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 org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesConfigurationBlock.java
JDT
2,046
167,706
Bug 167706 [preferences] Selecting 5.0 compliance with 6.0 JRE should not warn
I20061212-0010 In a project with a 6.0 JRE on the build path, go to project properties > Java Compiler and set compiler compliance to 5.0 => the "make sure you have a 5.0 JRE" warning makes no sense
2006-12-12 13:48:07
1,165,950,000
resolved fixed
25d7e20
1,166,430,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
JDT
2,047
167,714
Bug 167714 [quick assist] add commands for refactoring quick fixes to support keybindings
I20061212-0010 Add commands for the new refactoring quick fixes to support keybindings: Extract local, extract constant, inline local, convert local to field, convert anonymous to member type.
2006-12-12 14:23:21
1,165,950,000
resolved fixed
e7ddac4
1,166,220,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
JDT
2,048
167,663
Bug 167663 rename does not fully reveal renamed type
20061212-0010 1. create type A 2. Select the type name 'A' in the editor and invoke 'Rename' from the context menu 3. Dialog shows up, enter A1 as new name 4. After the rename, the selection is still on 'A', should be 'A1'
2006-12-12 10:43:02
1,165,940,000
resolved fixed
8d9c6ce
1,166,200,000
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameLinkedMode.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/refactoring/RenameSupport.java
JDT
2,049
167,646
Bug 167646 [package explorer] Source generation actions still enabled after delete
20061212-0010 - select a java file on the package explorer - press 'Delete' and confirm to delete - after the delete open the 'Source' global menu > 'Generate Getter' and other source generation menues are still enabled
2006-12-12 10:05:52
1,165,940,000
resolved fixed
1a03e00
1,166,180,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
JDT
2,050
167,616
Bug 167616 [build path] Java project gets into weird state when .classpath is gone
I20061212-0010 1. create a Java project P 2. delete the .classpath file 3. close P 4. open P 5. open the build path dialog ==> shows a JRE system library 6. press OK ==> P still doesn't shows a JRE 7. create class C ==> errors are reported
2006-12-12 08:32:20
1,165,930,000
resolved fixed
da6022a
1,166,170,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/BuildPathsPropertyPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
JDT
2,051
167,554
Bug 167554 [package explorer] Double-clicking on a closed project should open it
null
2006-12-12 04:11:40
1,165,910,000
resolved fixed
c39a7cc
1,166,120,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java
JDT
2,052
167,644
Bug 167644 [build path] no feedback when removing source attachement
I20061212-0010 1. expand rt.jar on the 'Libraries' build path page 2. click 'Remove' ==> the entry is not update (still shows the source location) If you den select the entry again, the button is grayed out. Also, when hitting 'Edit...' no location is shown. Look like an update problem of the entry text and the 'Remove' button.
2006-12-12 09:59:17
1,165,940,000
verified fixed
90a90c1
1,166,020,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
JDT
2,053
167,634
Bug 167634 [JUnit] println in TestElement
When running plugin tests I am getting prints to the console. It looks like a println in org.eclipse.jdt.internal.junit.model.TestElement.setStatus(*) PW
2006-12-12 09:36:12
1,165,930,000
verified fixed
01ef0d7
1,166,020,000
org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/model/TestElement.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java
JDT
2,054
167,570
Bug 167570 [quick assist] Convert local variable to field misses references
I20061212-0010 Have: public class Bug { void foo() { Bug i = new Bug(); i.foo(); } } Use the 'Convert local variable to field' quick assist on i (after 'Bug i') ==> the 'i' on 'i.foo()' is not linked and hence not updated.
2006-12-12 05:45:19
1,165,920,000
verified fixed
90f0d5d
1,166,020,000
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
JDT
2,055
167,622
Bug 167622 [package explorer] Enable 'Show referenced library node' option by default
I20061212-0010 Remove this option and show the library node per default. I can't hardly imagine that anyone wants to turn it off.
2006-12-12 09:00:37
1,165,930,000
verified fixed
4d2d6b9
1,165,940,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
JDT
2,056
166,966
Bug 166966 [Compare] Support for validateEdit in Java structure compare
Adding support for validateEdit in compare required some minor changes to the JavaStructureCreator. I will attach a patch.
2006-12-06 10:17:14
1,165,420,000
resolved fixed
669ce3d
1,165,860,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
JDT
2,057
166,961
Bug 166961 [quick assist] Extract constant quick assist should have lower priority then extract local
I20061205-1200 Extract constant quick assist is cool, however it should have a lower priority then extract local: 1. It happens that I hit enter without even looking at the proposals and then I'm surprised by the result. 2. I think extract local is more important/more often used.
2006-12-06 10:03:53
1,165,420,000
resolved fixed
cf4574d
1,165,860,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
JDT
2,058
166,519
Bug 166519 [build path] display read-only access rules for execution environments
null
2006-12-01 12:12:56
1,164,990,000
resolved fixed
26f0531
1,165,850,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
JDT
2,059
167,215
Bug 167215 [preferences] Java editor templates: something is broken
HEAD Preferences > Java Editor > Templates; Edit; Insert Variable... => Some of the descriptions are raw HTML, e.g. "argType - <b>${<i>id..."
2006-12-08 04:52:53
1,165,570,000
verified fixed
800e805
1,165,830,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaTemplatePreferencePage.java
JDT
2,060
163,050
Bug 163050 [clean up] Convert for loop does not check index variable
null
2006-11-01 07:01:19
1,162,380,000
verified fixed
2cb173a
1,165,580,000
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
2,061
167,049
Bug 167049 [build path] NPE in JavaModelUtil
Build ID: M20060921-0945 Steps To Reproduce: 1. Create plugin project, open project properties 2. Go to Java Build Path, tab Libraries 3. Click 'Add Class Folder' 4. Add plugin root as class folder More information: eclipse.buildId=M20060921-0945 java.version=1.4.2_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -console -consoleLog -clean Error Thu Dec 07 10:16:42 CET 2006 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.internal.corext.util.JavaModelUtil.isExcludedPath(JavaModelUtil.java:671) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage.addToExclusions(BuildPathBasePage.java:81) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage.addExclusionPatterns(BuildPathBasePage.java:70) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage.fixNestingConflicts(BuildPathBasePage.java:54) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.askForAddingExclusionPatternsDialog(LibrariesWorkbookPage.java:295) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:273) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$0(LibrariesWorkbookPage.java:230) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:185) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.buttonPressed(TreeListDialogField.java:167) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doButtonSelected(TreeListDialogField.java:385) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(TreeListDialogField.java:381) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(TreeListDialogField.java:346) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-12-07 04:22:15
1,165,480,000
verified fixed
789ca6f
1,165,570,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathBasePage.java
JDT
2,062
165,689
Bug 165689 [spell checking] enable quick fix menu
I20061121-1845 Ctrl+1 now works for fix spelling problems in text editors but there is now quick fix menu entry.
2006-11-23 12:41:33
1,164,300,000
verified fixed
63a607e
1,164,980,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditorActionContributor.java
JDT
2,063
158,292
Bug 158292 [misc] add document performance tests
3.3M2 We should regularly run performance tests on the document and text store. There already are performance tests for the line tracker. The patch I will attach adds abstract performance tests for any IDocument and ITextStore implementations, as well as concrete tests for the following classes: - org.eclipse.jface.text.Document - org.eclipse.jface.text.GapTextStore - org.eclipse.jface.text.SequentialRewriteTextStore -- Implementation: Looking at some performance tests reveals that often boilerplate code needs to be written for performance tests (example: LineTrackerPerformanceTest): typically, a testXXX method does the following four things: - create performance meters for warm-up and measuring - call the measureXXX method N times with the warm-up meter - call the measureXXX method M times with the measurement meter - commit and assert performance measurements The provided patch provides a specialized TestCase (PerformanceTestCase2) that does exactly that in its #runTest method. Similar, there is a specialized TestSuite (PerfTestSuite) that uses reflection to find any methods that start with "measure" and take one argument of type PerformanceMeter.
2006-09-22 08:34:22
1,158,930,000
resolved fixed
6cff626
1,164,980,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/AbstractDocumentPerformanceTest.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentPerformanceTest.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentPerformanceTestSuite.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/GapTextStorePerformanceTest.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/PerfTestSuite.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/PerformanceTestCase2.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/TextPerformanceTestCase2.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/TextStorePerformanceTest.java
JDT
2,064
75,353
Bug 75353 [navigation] Open on selection should use just caret location
F3 will attempt to find a type based on the current selection range. If the selection range is length 0, it will take the encompassing "word" and try to find that element. But, if a range is selected, it will try to match based on the selected text. I don't understand when someone would use this latter case. To me, I would prefer to have it always take the caret location, and then search based on the surrounding word, never the selection range. For example, I search for a method containing the word "accessible", and I find a method call to "getAccessible". Now, I want to go to the method declaration using F3, but part of the method name is swiped. I would never want to open the Type "Accessible", but this is what happens.
2004-09-29 17:48:31
1,096,490,000
resolved fixed
3829d0d
1,164,900,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java
JDT
2,065
166,222
Bug 166222 [refactoring] Wizard-based refactorings cannot be started
I20061128-0800 All wizard-based refactorings just do nothing when they are started via the normal UI actions. In the SDK, this affects Pull Up, Extract Supertype, Clean Up, and Externalize Strings.
2006-11-29 12:22:27
1,164,820,000
verified fixed
587b00b
1,164,820,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 org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizardOpenOperation.java
JDT
2,066
119,251
Bug 119251 [quick assist] "Invert if statement" removes parts of condition
Build id: I20051130-1215 Consider the following code: ------ public class A { { if (!a() && !b() && !c() && !d()) foo(); else bar(); } private void foo() {} private void bar() {} private boolean a() { return false; } private boolean b() { return false; } private boolean c() { return false; } private boolean d() { return false; } } ----------- Call "Invert if statement" on the if. Expression is changed to if ((a()) || (b()))
2005-12-05 10:25:59
1,133,800,000
verified fixed
1c8a9f1
1,164,820,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
2,067
133,517
Bug 133517 [quick fix] don't update location when cursor at end of problem
- place the cursor at the end of a problem - CTRL + 1 jumps to the beginning of the problem
2006-03-28 08:26:46
1,143,550,000
resolved fixed
1a1fcf8
1,164,820,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java
JDT
2,068
165,646
Bug 165646 [build path] BuildPath -> Classpath -> Order and Export -> New functions
Hi, I've implemented a new feature: Now it is possible to move the selected item in the classpath to top or bottom. Not step by step only. Here's my patch: ### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.ui Index: ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java,v retrieving revision 1.154 diff -u -r1.154 BuildPathsBlock.java --- ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java 10 Nov 2006 17:22:19 -0000 1.154 +++ ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java 23 Nov 2006 10:08:38 -0000 @@ -163,9 +163,11 @@ NewWizardMessages.BuildPathsBlock_classpath_up_button, NewWizardMessages.BuildPathsBlock_classpath_down_button, /* 2 */ null, + NewWizardMessages.BuildPathsBlock_classpath_top_button, + NewWizardMessages.BuildPathsBlock_classpath_bottom_button, + /* 5 */ null, NewWizardMessages.BuildPathsBlock_classpath_checkall_button, NewWizardMessages.BuildPathsBlock_classpath_uncheckall_button - }; fClassPathList= new CheckedListDialogField(null, buttonLabels, new CPListLabelProvider()); @@ -173,8 +175,10 @@ fClassPathList.setLabelText(NewWizardMessages.BuildPathsBlock_classpath_label); fClassPathList.setUpButtonIndex(0); fClassPathList.setDownButtonIndex(1); - fClassPathList.setCheckAllButtonIndex(3); - fClassPathList.setUncheckAllButtonIndex(4); + fClassPathList.setTopButtonIndex(3); + fClassPathList.setBottomButtonIndex(4); + fClassPathList.setCheckAllButtonIndex(6); + fClassPathList.setUncheckAllButtonIndex(7); fBuildPathDialogField= new StringButtonDialogField(adapter); fBuildPathDialogField.setButtonLabel(NewWizardMessages.BuildPathsBlock_buildpath_button); Index: ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java,v retrieving revision 1.49 diff -u -r1.49 NewWizardMessages.java --- ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java 17 Aug 2006 10:30:25 -0000 1.49 +++ ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java 23 Nov 2006 10:08:37 -0000 @@ -222,6 +222,8 @@ public static String BuildPathsBlock_classpath_label; public static String BuildPathsBlock_classpath_up_button; public static String BuildPathsBlock_classpath_down_button; + public static String BuildPathsBlock_classpath_top_button; + public static String BuildPathsBlock_classpath_bottom_button; public static String BuildPathsBlock_classpath_checkall_button; public static String BuildPathsBlock_classpath_uncheckall_button; public static String BuildPathsBlock_buildpath_label; Index: ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties,v retrieving revision 1.236 diff -u -r1.236 NewWizardMessages.properties --- ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties 6 Oct 2006 14:26:39 -0000 1.236 +++ ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties 23 Nov 2006 10:08:38 -0000 @@ -256,6 +256,8 @@ BuildPathsBlock_classpath_up_button=&Up BuildPathsBlock_classpath_down_button=&Down +BuildPathsBlock_classpath_top_button=&Top +BuildPathsBlock_classpath_bottom_button=&Bottom BuildPathsBlock_classpath_checkall_button=Select &All BuildPathsBlock_classpath_uncheckall_button=D&eselect All Index: ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java,v retrieving revision 1.60 diff -u -r1.60 ListDialogField.java --- ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java 25 Sep 2006 08:47:23 -0000 1.60 +++ ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java 23 Nov 2006 10:08:38 -0000 @@ -88,6 +88,9 @@ return data; } } + + private static final boolean MOVE_TO_TOP = true; + private static final boolean MOVE_TO_BOTTOM = false; protected TableViewer fTable; protected Control fTableControl; @@ -104,6 +107,8 @@ private int fRemoveButtonIndex; private int fUpButtonIndex; private int fDownButtonIndex; + private int fTopButtonIndex; + private int fBottomButtonIndex; private Label fLastSeparator; @@ -153,6 +158,8 @@ fRemoveButtonIndex= -1; fUpButtonIndex= -1; fDownButtonIndex= -1; + fTopButtonIndex= -1; + fBottomButtonIndex= -1; } /** @@ -185,7 +192,27 @@ fDownButtonIndex= downButtonIndex; } - /** + /** + * Sets the index of the 'top' button in the button label array passed in the constructor. + * The behavior of the button marked as the 'top' button will then be handled internally. + * (enable state, button invocation behavior) + */ + public void setTopButtonIndex(int topButtonIndex) { + Assert.isTrue(topButtonIndex < fButtonLabels.length); + fTopButtonIndex= topButtonIndex; + } + + /** + * Sets the index of the 'bottom' button in the button label array passed in the constructor. + * The behavior of the button marked as the 'bottom' button will then be handled internally. + * (enable state, button invocation behavior) + */ + public void setBottomButtonIndex(int bottomButtonIndex) { + Assert.isTrue(bottomButtonIndex < fButtonLabels.length); + fBottomButtonIndex= bottomButtonIndex; + } + + /** * Sets the viewer comparator. * @param viewerComparator The viewer comparator to set */ @@ -224,6 +251,16 @@ if (!fButtonControls[index].isEnabled() && fUpButtonIndex != -1) { fButtonControls[fUpButtonIndex].setFocus(); } + } else if (index == fTopButtonIndex) { + top(); + if (!fButtonControls[index].isEnabled() && fTopButtonIndex != -1) { + fButtonControls[fTopButtonIndex].setFocus(); + } + } else if (index == fBottomButtonIndex) { + bottom(); + if (!fButtonControls[index].isEnabled() && fBottomButtonIndex != -1) { + fButtonControls[fBottomButtonIndex].setFocus(); + } } else { return false; } @@ -231,7 +268,17 @@ } - // ------ layout helpers + private void bottom() + { + moveBottom(getSelectedElements()); + } + + private void top() + { + moveTop(getSelectedElements()); + } + + // ------ layout helpers /* * @see DialogField#doFillIntoGrid @@ -504,9 +551,9 @@ protected boolean getManagedButtonState(ISelection sel, int index) { if (index == fRemoveButtonIndex) { return !sel.isEmpty(); - } else if (index == fUpButtonIndex) { + } else if (index == fUpButtonIndex || index == fTopButtonIndex) { return !sel.isEmpty() && canMoveUp(); - } else if (index == fDownButtonIndex) { + } else if (index == fDownButtonIndex || index == fBottomButtonIndex) { return !sel.isEmpty() && canMoveDown(); } return true; @@ -800,7 +847,26 @@ return res; } - private void moveUp(List toMoveUp) { + private List moveTopBottom( List elements, List move, boolean topOrBottom ) { + int nElements= elements.size(); + int nElementsMove = move.size(); + List topBottom= new ArrayList(nElementsMove); + List other= new ArrayList(nElements-nElementsMove); + for (int i= 0; i < nElements; i++) { + Object curr= elements.get(i); + if (move.contains(curr)) { + topBottom.add(curr); + } else { + other.add(curr); + } + } + List res= new ArrayList(nElements); + res.addAll( topOrBottom == MOVE_TO_TOP ? topBottom : other ); + res.addAll( topOrBottom == MOVE_TO_BOTTOM ? topBottom : other ); + return res; + } + + private void moveUp(List toMoveUp) { if (toMoveUp.size() > 0) { setElements(moveUp(fElements, toMoveUp)); fTable.reveal(toMoveUp.get(0)); @@ -813,7 +879,23 @@ fTable.reveal(toMoveDown.get(toMoveDown.size() - 1)); } } - + + private void moveTop( List toMoveTop ) + { + if (toMoveTop.size() > 0) { + setElements(moveTopBottom(fElements, toMoveTop, MOVE_TO_TOP)); + fTable.reveal(toMoveTop.get(0)); + } + } + + private void moveBottom( List toMoveBottom ) + { + if (toMoveBottom.size() > 0) { + setElements(moveTopBottom(fElements, toMoveBottom, MOVE_TO_BOTTOM)); + fTable.reveal(toMoveBottom.get(0)); + } + } + private List reverse(List p) { List reverse= new ArrayList(p.size()); for (int i= p.size()-1; i >= 0; i--) {
2006-11-23 05:52:05
1,164,280,000
resolved fixed
165731f
1,164,810,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
JDT
2,069
165,798
Bug 165798 [compare] Patch to use new API from Compare
null
2006-11-24 11:25:15
1,164,390,000
resolved fixed
eecea6b
1,164,800,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureDiffViewer.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java
JDT
2,070
142,508
Bug 142508 [rename] Refactoring text search fails to find occurences preceeded by #
On renaming a class (f.ex. myPack.MyClass ) via refactoring RefactoringScanner fails to find occurences in special comments looking like /*#myPackMyClass hiddenField*/ The reason is that code in RefactoringScanner around line 172 looks like: if (beforeQualifierPos >= 0) { char beforeQualifierChar= value.charAt(beforeQualifierPos); boolean charBeforeQualifierIsQualifierPart= isQualifierPart(beforeQualifierChar); // true if the char before the qualifier is a normal letter // (and therefore invalidates the whole string) return charBeforeQualifierIsQualifierPart ? NO_MATCH : MATCH_QUALIFIED; }
2006-05-18 11:11:25
1,147,970,000
verified fixed
89ea110
1,164,740,000
org.eclipse.jdt.ui.tests.refactoring/resources/RefactoringScanner/C.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RefactoringScannerTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringScanner.java
JDT
2,071
165,520
Bug 165520 [JUnit] Cannot open the junit test by clicking in the JUnit view
Using I20061121-1845, I cannot open a JUnit test by clicking on a failing test in the JUnit view. Setting as blocker since this makes it really paintful to use the JUnit tests. This might be a bug in JUnit. If this is the case, please let them know asap. org.eclipse.core.runtime.AssertionFailedException: assertion failed: ContentViewer must have a content provider when input is set. at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:243) at org.eclipse.jdt.internal.junit.ui.CompareResultDialog.setCompareViewerInput(CompareResultDialog.java:250) at org.eclipse.jdt.internal.junit.ui.CompareResultDialog.setInput(CompareResultDialog.java:255) at org.eclipse.jdt.internal.junit.ui.CompareResultsAction.updateOpenDialog(CompareResultsAction.java:65) at org.eclipse.jdt.internal.junit.ui.FailureTrace.updateEnablement(FailureTrace.java:172) at org.eclipse.jdt.internal.junit.ui.FailureTrace.showFailure(FailureTrace.java:159) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$10.run(TestRunnerViewPart.java:1545) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28) at org.eclipse.swt.widgets.Display.syncExec(Display.java:3878) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.postSyncRunnable(TestRunnerViewPart.java:1208) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.showFailure(TestRunnerViewPart.java:1542) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.handleTestSelected(TestRunnerViewPart.java:1537) at org.eclipse.jdt.internal.junit.ui.TestViewer.handleSelected(TestViewer.java:303) at org.eclipse.jdt.internal.junit.ui.TestViewer.access$0(TestViewer.java:297) at org.eclipse.jdt.internal.junit.ui.TestViewer$TestSelectionListener.selectionChanged(TestViewer.java:73) at org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator.fireSelectionChanged(SelectionProviderMediator.java:131) at org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator.doSelectionChanged(SelectionProviderMediator.java:112) at org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator$InternalListener.selectionChanged(SelectionProviderMediator.java:40) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:850) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:153) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2004) at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1605) at org.eclipse.jdt.internal.junit.ui.TestViewer.selectFirstFailure(TestViewer.java:568) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.selectFirstFailure(TestRunnerViewPart.java:984) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$2.run(TestRunnerViewPart.java:430) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155) at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer.java:36) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3440) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3080) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1945) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1909) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:425) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962)
2006-11-22 15:30:58
1,164,230,000
verified fixed
d8091bf
1,164,300,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultDialog.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultsAction.java
JDT
2,072
165,211
Bug 165211 [preferences] Fup of bug 165210, please surface the new code formatter option
Once the code formatter is fixed, the code formatter preference page should surface it. I'll try to provide a patch to get accustomed with this code.
2006-11-20 15:04:06
1,164,050,000
resolved fixed
b0ca6c0
1,164,100,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/BlankLinesTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/FormatterMessages.java
JDT
2,073
89,107
Bug 89107 [spell checking] Java characters are spell checked
static final char OBJ = '\ufffc'; This get's highlighed by the spell checker. I don't think spell-checking a char ever makes sense, but I could be wrong :-).
2005-03-25 10:50:03
1,111,770,000
resolved fixed
f2faab5
1,164,100,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaSpellingEngine.java
JDT
2,074
96,910
Bug 96910 [spell checking] ArrayIndexOutOfBoundsException AbstractSpellDictionary
N20050526-0010 Found in .log No steps. !ENTRY org.eclipse.ui.workbench.texteditor 4 2 2005-05-26 22:58:17.452 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench.texteditor". !STACK 0 java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.ensureCapacity(ArrayList.java:171) at java.util.ArrayList.add(ArrayList.java:352) at org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.hashWord(AbstractSpellDictionary.java:327) at org.eclipse.jdt.internal.ui.text.spelling.HtmlTagDictionary.load(HtmlTagDictionary.java:55) at org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.isCorrect(AbstractSpellDictionary.java:338) at org.eclipse.jdt.internal.ui.text.spelling.HtmlTagDictionary.isCorrect(HtmlTagDictionary.java:40) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker.isCorrect(DefaultSpellChecker.java:329) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker.execute(DefaultSpellChecker.java:243) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingEngine.check(JavaSpellingEngine.java:56) at org.eclipse.jdt.internal.ui.text.spelling.SpellingEngine.check(SpellingEngine.java:77) at org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine.check(DefaultSpellingEngine.java:68) at org.eclipse.ui.texteditor.spelling.SpellingService$1.run(SpellingService.java:103) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1038) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:108) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:80) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingReconcileStrategy.reconcile(JavaSpellingReconcileStrategy.java:147) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:94) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75) at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:318) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
2005-05-27 02:27:54
1,117,180,000
resolved fixed
8f5f678
1,164,040,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/HtmlTagDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaDocTagDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/TaskTagDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/AbstractSpellDictionary.java
JDT
2,075
70,728
Bug 70728 [spell checking][api (internal)] Change SpellCheckingEngine.getAvailableLocales
R3.0 This method has a bad name: it does not return the available locales but the available (read-only) platform dictionaries.
2004-07-23 10:35:59
1,090,590,000
resolved fixed
6a52bb3
1,164,040,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java
JDT
2,076
64,307
Bug 64307 [preferences][spell checking] Spelling Pref-Page: Initial element in browse dialog not set
20040527 - Open the spelling preference page - Enter a dictionary path - Press browse. The initial directory shown in the browse dialog is not the dictionary dialog. This requires you to find the same folder again every time - Note: I think the space between the text field and the browse button is some picels too wide
2004-05-27 07:17:53
1,085,660,000
resolved fixed
8340002
1,164,030,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java
JDT
2,077
164,779
Bug 164779 [actions] Opening project should be easier
3.3 M3 To open a closed project I need to make sure no other project is selected. This is a pain. The action to open a project should always be enabled as long as there is at least one closed project.
2006-11-16 03:41:01
1,163,670,000
resolved fixed
011b016
1,164,030,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ProjectActionGroup.java
JDT
2,078
165,015
Bug 165015 [JUnit] JUnit runner should check that the suite() method is static before invoking it
Using HEAD. Since this method is invoked with null as the receiver (because it is static), the runner should check that it is static. Otherwise you'll get a NPE.
2006-11-17 13:59:53
1,163,790,000
resolved fixed
e0f6b4f
1,164,020,000
org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/junit3/JUnit3TestLoader.java
JDT
2,079
163,804
Bug 163804 [clean up] Tries to generate SerialUID for enum types
null
2006-11-08 09:06:26
1,162,990,000
resolved fixed
cb40fb4
1,164,020,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java
JDT
2,080
163,906
Bug 163906 [implementation] commitWorkingCopy() assumes file already exists
ICompilationUnit.commitWorkingCopy() fails if the resource does not already exist. This makes it difficult for APT to save to disk, during build, a type that was created during reconcile. What's worse, the failure mode is that the file does get created, but in a location relative to the disk root rather than relative to the workspace. Inside commitWorkingCopy(), the stack looks like this: FileBuffers.getWorkspaceFileAtLocation(IPath) line: 72 FileBuffers.getFileStoreAtLocation(IPath) line: 138 JavaTextFileBuffer.commitFileBufferContent(IProgressMonitor, boolean) line: 488 JavaTextFileBuffer(JavaFileBuffer).commit(IProgressMonitor, boolean) line: 131 DocumentAdapter.save(IProgressMonitor, boolean) line: 392 CommitWorkingCopyOperation.executeOperation() line: 123 CommitWorkingCopyOperation(JavaModelOperation).run(IProgressMonitor) line: 720 Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 1742 CommitWorkingCopyOperation(JavaModelOperation).runOperation(IProgressMonitor) line: 784 CompilationUnit.commitWorkingCopy(boolean, IProgressMonitor) line: 341 The FileBuffers and JavaTextFileBuffers classes come from org.eclipse.core.filebuffers. FileBuffers.getWorkspaceFileAtLocation() returns null if the file does not exist in the workspace; then getFileStoreAtLocation() returns null; and that makes commitFileBufferContent() "fall back" to writing the file relative to the disk root rather than the workspace root. For instance, it might write the type com.xyz.A to c:/foo/generated-src/com/xyz/A.java, rather than writing it to a folder under the "foo" project. I am not sure what the correct behavior should be. It could: - throw an exception if the file does not already exist; - create the file if needed, but throw an exception if the package fragment folder does not exist; - create both the folder and the file as needed.
2006-11-08 22:13:28
1,163,040,000
verified fixed
f708d2e
1,164,020,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/CompilationUnitDocumentProviderTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/DocumentAdapter.java
JDT
2,081
164,943
Bug 164943 [clean up] Does remove used import on organize import if syntax error
I20061114-1636 Given: package test; import java.util.Observable; import java.util.Observer; public class E1 { public void foo(Observable ob) { ob.addObserver(new Observer() { public void update(Observable o, Object arg) { } }; } } 1. Run clean up on E1 with 'Organize Imports' enabled Is: import java.util.Observer; is removed Should: not be removed This is major because with clean up on save enabled this results in imports been removed which are required, on save. This is especially bad when a conflicting import (List) is removed. Strange is, that when just running 'Organize Imports' then the import is not removed. Must be a clean up problem...
2006-11-17 06:08:00
1,163,760,000
verified fixed
d22b0ec
1,164,010,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ImportsFix.java
JDT
2,082
113,592
Bug 113592 [change method signature] dialog should provide unique parameter names
Repeatedly clicking on the Add button in the Refactor ... Change Method Signature dialog adds new parameters all named "newParam". Perhaps the default parameter names could be newParam1, newParam2 etc. Steps to reproduce ... Create a Java Project Create a Java Class Ca Create method newMethod(..) in Ca with no parameters. Select newMethod in Package Exporer and execute the Change Method Signature refactoring through the context menu. In the resulting dialog click on the "Add" button twice. RESULT: 2 identical parameters with the same name "newParam" are added and an error is displayed at the bottom "Duplicate parameter name: 'newParam'".
2005-10-24 16:31:51
1,130,190,000
resolved fixed
33bc22b
1,163,780,000
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/ParameterInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java
JDT
2,083
162,395
Bug 162395 [browsing] Packages view does not show children of packages from jars in hierarchical presentation
3.2 and HEAD; was OK in 3.1.2 The Packages view does not show children of packages from jars in hierarchical presentation mode. Steps: - import org.junit as binary plug-in - switch to Java Browsing perspective - set Package Presentation of Packages view to Hierarchical - select org.junit in Projects view -> package junit is shown as empty package with no children
2006-10-26 08:56:05
1,161,870,000
resolved fixed
2bbd41b
1,163,680,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java
JDT
2,084
164,472
Bug 164472 [JUnit] compiler warning in build N20061114-0010
1. WARNING in /src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestLoader.java (at line 20) public ITestReference[] loadTests(final Class[] testClasses, String testName, String[] failureNames, final RemoteTestRunner listener) { Class is a raw type. References to generic type Class<T> should be parameterized
2006-11-14 09:37:05
1,163,520,000
resolved fixed
fcc65bb
1,163,610,000
org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4TestLoader.java
JDT
2,085
40,478
Bug 40478 [convert local] convert local variable to field can declare field as final if method is construtor [refactoring]
The "Convert Local Variable to Field" refactoring pops up a dialog box. Part of that dialog box as where to initialise the field. If "Current method" is selected then the option below "Declare field as 'final'" is greyed out. This should not happend if the "Current method" is a constructor because you can have the field as final.
2003-07-18 12:02:03
1,058,540,000
resolved fixed
6d498c0
1,163,610,000
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/PromoteTempToFieldTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/PromoteTempToFieldRefactoringContribution.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java
JDT
2,086
139,140
Bug 139140 [JUnit] Compare Result dialog should not be modal
Currently, the compare results dialog (in the Failure Trace view) is modal which means that I can't copy&paste several typos from it back into the source code.
2006-04-28 09:38:39
1,146,230,000
resolved fixed
597d271
1,163,530,000
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultDialog.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultsAction.java org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/FailureTrace.java
JDT
2,087
164,318
Bug 164318 [content assist] Wildcard's label are 'null'
build I20061108-1600 public class X<U> { void test(X<?> t) { t.fo| // do ctrl + space at | } U foo(U u) { return null; } } The label of the proposal is: foo(null u) Object - X It should be at least: foo(? u) Object - X and maybe: foo(? u) ? - X With the following example: public class X<U> { void test(X<?> t) { t.foo(null); } U foo(U u) { return null; } } If you place the cursor above the 'foo' invocation the hover shows: ? X.foo(? u)
2006-11-13 09:34:51
1,163,430,000
resolved fixed
4dbfdc3
1,163,500,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SignatureUtil.java
JDT
2,088
163,192
Bug 163192 [quick fix] 'Remove @Override' and 'create method in super type' don't appear with 6.0
null
2006-11-02 06:22:27
1,162,470,000
resolved fixed
4a6554a
1,163,170,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java
JDT
2,089
163,709
Bug 163709 [organize imports] Organize imports fails as long as there are parsing errors
Create a new class and start typing code which requires an import like : JButton b = new JButton(); Pressing control-o will do the import. However, redo the exercise and type other code after that one like : JButton b = new JButton(); JList c = new JL JButton will be recognized as a to-be-imported type, yet the incomplete line blocks the import ! A weird and annoying issue.
2006-11-07 15:45:23
1,162,930,000
resolved fixed
552a7b3
1,163,090,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java
JDT
2,090
163,454
Bug 163454 Typo in JavaDoc of org.eclipse.jdt.internal.corext.Corext
/** * Facade for JavaPlugin to not conterminate corext classes. */ should be /** * Facade for JavaPlugin to not contaminate corext classes. */ BTW: I tried to search for other occurrences of "conterminate" but didn't find a way in source of imported plug-ins as "Binary projects with linked content".
2006-11-04 14:53:46
1,162,670,000
resolved fixed
555adc3
1,163,010,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/Corext.java
JDT
2,091
163,799
Bug 163799 [clean up] No need to generate SUID for Externalizable classes
I20061102-1715 + HEAD Given: package test; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; public class E3 implements Externalizable { public void readExternal(ObjectInput in) throws IOException,ClassNotFoundException {} public void writeExternal(ObjectOutput out) throws IOException {} } This class is flagged as: The serializable class E3 does not declare a static final serialVersionUID field in 3.3M3 if compiler warning is enabled for 'Serializable class without serialVersionUID'. In HEAD it is not flagged anymore, resulting in a JDT/UI test failure in CleanUpTest. Was this changed on purpose?
2006-11-08 08:40:24
1,162,990,000
resolved fixed
ed27484
1,163,000,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java
JDT
2,092
155,003
Bug 155003 [model] Missing exception types / wrong signature?
R3.2 and 3.3 M1 Hovering over a binary method call no longer shows the exception types. Tracked this down to JavaElementLabels line 476 and 477 where a wrong signature seems to be produced (for the test case below the signature is "()!+LTest;". This used to work in 3.1 and should be fixed for 3.2.1 Test Case: hover over "newInstance" in the code below: public class Test { public void x() throws InstantiationException, IllegalAccessException { getClass().newInstance(); } }
2006-08-24 04:42:40
1,156,410,000
verified fixed
643cb06
1,162,900,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java
JDT
2,093
162,914
Bug 162914 [refactoring] Rename preview: should see if derived things are filtered
I20061031-0656 Rename preview: the header should indicate when derived things are filtered (similar to Problems or Search view).
2006-10-31 10:21:49
1,162,310,000
resolved fixed
4ccb620
1,162,830,000
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewWizardPage.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringUIMessages.java
JDT
2,094
162,908
Bug 162908 [refactoring] Refactoring preview: should not mark CU children as derived
I20061031-0656 Refactoring preview: should not mark CU children as derived: this is redundant info since all children of a derived CU are derived.
2006-10-31 09:59:46
1,162,310,000
resolved fixed
9da3723
1,162,830,000
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/AbstractChangeNode.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewNode.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/TextEditGroupNode.java
JDT
2,095
162,911
Bug 162911 [refactoring] Refactoring filter: radio group items should not be separated
I20061031-0656 Refactoring filter: radio group items should not be separated (Show All is separated but is connected with other items).
2006-10-31 10:16:36
1,162,310,000
resolved fixed
20104c7
1,162,830,000
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewWizardPage.java
JDT
2,096
76,638
Bug 76638 [Call Hierarchy] Copy in Call pane copies marking in Members pane
Having the following class: public class MultipleCaller { public void caller() { callee(1); callee(2); callee(3); } private void callee(int i) { } } Steps to reproduce: 1. Open Call Hierachy on callee(int). 2. Mark "caller()" entry in "Members" pane 3. "Call" pane show three entries 4.a. Mark one of the entries in "Call" pane. 5.a. Invoke "Copy" (<Ctrl>-<C>) 6.a. Clipboard contains following: "caller()" (Marking of "Members" pane was copied) Additionally: 4.b. Mark two (or three) entries in "Call" pane 5.b. Invoke "Copy" (<Ctrl>-<C>) 6.b. Clipboard contains following: caller() caller() (Marking of "Members" pane was copied as often as number of lines you marked in "Call" pane) Maybe the first one (a.) is a feature request: "Support copy in Call Hierarchy Call pane". But the second (b.) is a real bug.
2004-10-20 03:55:12
1,098,260,000
resolved fixed
0d7f5b3
1,162,820,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CopyCallHierarchyAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/LocationCopyAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/LocationViewer.java
JDT
2,097
163,495
Bug 163495 [misc] Focus on Javadoc view looses selection in Java browsing views
Steps to reproduce: 1. Open Java Browsing perspective 2. Open Javadoc view 3. Select a class in Types view 4. Scroll down in the Javadoc view Result: The selection in Project, Packages and Types is lost. When browsing classes it's tedious to always reselect the project, the package and the class. The selection shouldn't be lost when scrolling in the Javadoc view.
2006-11-05 16:12:36
1,162,760,000
resolved fixed
10b6ac7
1,162,800,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/AbstractInfoView.java
JDT
2,098
162,890
Bug 162890 [clean up] 'Organize imports' subsumes 'Remove unused imports'
I20061030-1704 The 'Organize imports' clean up subsumes 'Remove unused imports'. If they are both enabled, there's no point in executing 'Remove unused imports' (it will only cause conflicts and need another AST).
2006-10-31 08:03:27
1,162,300,000
resolved fixed
e685874
1,162,570,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java
JDT
2,099
162,871
Bug 162871 [open type] Open Type: Container shown even if option is disabled
I20061030-1704 1. Ctrl+Shift+T 2. open java.util.List 3. Ctrl+Shift+T 2. enable to show container 3. type List ==> container shown on all items 4. disable show container ==> container still shown on the history item 5. click on the item ==> container info goes away
2006-10-31 05:15:04
1,162,290,000
resolved fixed
670e076
1,162,570,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java
JDT
2,100
163,038
Bug 163038 [clean up] Convert for loop save participant change has no name
Given: package pack; public class E1 { public void foo(int[] ints) { for (int i = 0; i < ints.length; i++) { System.out.println(ints[i]); } } } 1. Enable 'Convert for loops' in clean up save participant 2. Make editor dirty 3. Save 4. Open Edit menu Is: 'Undo' Should: something along the line of 'Undo Loop Conversion' Hint: Maybe there is an 'Undo Format' first, undo it and then you see the nameless undo.
2006-11-01 05:26:18
1,162,380,000
resolved fixed
33463a5
1,162,570,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.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/FixMessages.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java
JDT
2,101
163,044
Bug 163044 [clean up] Custom profile not removed when going back
Given: package pack; public class E1 { public void foo() { System.out.println(10); } } 1. Run Source>Clean Up... on E1 2. Make sure Eclipse [built-in] is profile for E1 project 3. Select 'Custom profile' 4. On 'Code Organizing' select 'Format source code' 5. Press next Is: code is formatted 6. Press back 7. Select 'Use configured profile' 8. Press next Is: Code is formatted Should: Not be formatted This is veeeeeeeeeeery bad, and very easy to fix. I would like to have that in M3. Will attach a patch. Markus?
2006-11-01 06:11:41
1,162,380,000
verified fixed
00a0a11
1,162,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java
JDT
2,102
162,895
Bug 162895 [clean up] custom profile section in dialog: unchecked topics have enabled children
I20061030-1704 Clean Up dialog, custom profile section: unchecked topics have enabled children. E.g. Code Style > Expressions > Use parentheses... is not checked, but the children are active. Changing the children has no effect unless the parent is checked too. Same problem for all nested settings.
2006-10-31 08:29:42
1,162,300,000
verified fixed
d76a746
1,162,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java
JDT
2,103
162,867
Bug 162867 Open Type opens type that does not exist
I20061030-1704 When a JAR is removed outside the workspace (or while not running and then started) and the Java project not refreshed then open type still finds types from that JAR. That is the same behavior as in 3.2.x BUT: in 3.2.x a dialog tells that the type cannot be opened. In I20061030-1704 the dialog goes ahead and opens the editor which of course shows an error. In addition a log entry is created. Steps: 1. start fresh workspace 2. import org.eclipse.text (or any other project) as binary project 3. exit 4. delete the JAR from the workspace 5. start 6. Ctrl+Shift+T 7. type "ADoc*" ==> AbstractDocument is listed 8. select it The .log entry: !SESSION 2006-10-31 10:43:35.773 ----------------------------------------------- eclipse.buildId=I20061030-1704 java.version=1.5.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH Framework arguments: -update -keyring c:\eclipse\.keyring -application org.eclipse.ui.ide.workbench -showlocation Command-line arguments: -update -keyring c:\eclipse\.keyring -application org.eclipse.ui.ide.workbench -showlocation -data c:\eclipse\workspaces\tmp !ENTRY org.eclipse.ui 4 0 2006-10-31 10:44:01.334 !MESSAGE Unable to create editor ID org.eclipse.jdt.ui.ClassFileEditor: I/O exception !STACK 0 java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.zip.ZipFile.<init>(ZipFile.java:234) at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:1836) at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.getJar(JarPackageFragmentRoot.java:161) at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:78) at org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(PackageFragmentRoot.java:170) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229) at org.eclipse.jdt.internal.core.JarPackageFragment.generateInfos(JarPackageFragment.java:115) at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:218) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:249) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235) at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:255) at org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:311) at org.eclipse.jdt.internal.core.ClassFile.getSourceRange(ClassFile.java:470) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.probeInputForSource(ClassFileEditor.java:691) at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput(ClassFileEditor.java:620) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:2604) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:767) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:764) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2280) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2622) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2649) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:838) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1156) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1109) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1335) at org.eclipse.ui.internal.PartStack.add(PartStack.java:458) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102) at org.eclipse.ui.internal.PartStack.add(PartStack.java:444) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:61) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:818) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:717) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:678) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2569) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2504) at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2496) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2481) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2476) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2461) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:295) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:169) at org.eclipse.jdt.ui.JavaUI.openInEditor(JavaUI.java:670) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:65) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:75) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3463) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3077) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1924) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1888) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962)
2006-10-31 04:46:27
1,162,290,000
verified fixed
82af7f4
1,162,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog2.java
JDT
2,104
162,892
Bug 162892 [clean up] takes wrong profile
I20061030-1704 Clean up on active editor takes wrong clean up profile. I can provide the workspace if you cannot reproduce. Marking as major since the user has no clue what's going on.
2006-10-31 08:19:33
1,162,300,000
verified fixed
2bf8248
1,162,380,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpPostSaveListener.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java
JDT
2,105
162,960
Bug 162960 [content assist] field completion does not apply required proposal
I20061031-0656 package p; public class P { void m(Q q){ q. // Ctrl+Space, Enter } } package q; public class Q { public Object aField; public void aMethod() { } public class AClass { } } => 'aField' shows up as content assist proposal, but applying it does not add an import for q.Q. Works fine for aMethod(). No support for AClass, but that's OK.
2006-10-31 13:08:04
1,162,320,000
verified fixed
b978150
1,162,380,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/CompletionProposalCollector.java
JDT
2,106
162,548
Bug 162548 [clean up] Save participant does set cursor to editor top
I20061024-1200 (+plugin export) Given: package test; import java.io.*; public class E1 { } and enabled clean up on save participant with save participant profile. 1. Make editor dirty 2. Save Is: cursor jumps to editor top. Should: Stay exactly where it is. Also all foldings are expanded.
2006-10-27 07:19:17
1,161,950,000
verified fixed
d8b10b6
1,161,950,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/AbstractFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpPostSaveListener.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ImportsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/LinkedFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeFormatFix.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CommentFormatFix.java
JDT
2,107
162,530
Bug 162530 [save participant] Auto disabled participant can't be enabled
I20061024-1200 1. Have an enabled save participant throwing an exception 2. Participant is disabled 3. Go to preference page and enable it Is: participant is not enabled.
2006-10-27 04:09:43
1,161,940,000
resolved fixed
eddef9b
1,161,940,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/saveparticipant/SaveParticipantRegistry.java
JDT
2,108
162,434
Bug 162434 [content assist] Code conpletion for 'for' doesn't choose the correct collection
N20061026-0010 When using the 'for' xource code completion it used to automatically choose the most recently defined collection but now doesn't... If I enter the following line... List trimParts = presentation.getLayout().getTrimForParts(); ...and hot Ctrl-Space and select 'iterate over collection' I now get the following... for (Iterator iterator = alwaysOffActionSets.iterator(); iterator.hasNext();) { type name = (type) iterator.next(); } Note that the collection is 'alwaysOffActionSets' rather than 'trimParts' which is what I used to get. Not sure but perhaps the choice is alphabetical now?
2006-10-26 12:24:24
1,161,880,000
resolved fixed
d6c2434
1,161,930,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java
JDT
2,109
162,374
Bug 162374 [clean up] Allow dialog profile
I20061024-1200 When executing clean up with wizard, it should be possible to enable and edit a profile in the wizard. The profile is only stored in the dialog settings.
2006-10-26 06:08:07
1,161,860,000
resolved fixed
6dce579
1,161,860,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CodeStyleTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/MemberAccessesTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/MissingCodeTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/UnnecessaryCodeTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java
JDT
2,110
161,617
Bug 161617 [ast rewrite] replacing InstanceofExpression.LEFT_OPERAND_PROPERTY should ensure whitespace
Try to extract a local from the expression "new Object()" -------------------- Bug.java ---------------------- class Bug { { System.err.println(new Object()instanceof Object); } }
2006-10-19 14:21:19
1,161,280,000
verified fixed
79a4f9f
1,161,860,000
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test100_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test100_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractTempTests.java
JDT
2,111
162,179
Bug 162179 Cannot edit a class using Open Type dialog after having loaded source of a plugin
Build I20061017-0800. I have opened an editor on JavaElementLabels class when org.eclipse.jdt.ui was not loaded in my workspace => Editor was opened on JavaElementLabels.class file using source attachement... Everything was fine. After that, I checked-out org.eclipse.jdt.ui plugin from CVS repository. Editor was closed automatically during this operation and so I wanted to open the editor on this class again. Then, I systematically got following error: "Unable to create editor ID org.eclipse.jdt.ui.ClassFileEditor: The classfile is not on the classpath" and so, I was not able to open an editor on this class... It seems that Open Type dialog history stored the previous path to class file and the only way for me to open the file was to explicitely remove JavaElementLabels from the history...
2006-10-25 05:14:34
1,161,770,000
verified fixed
243c721
1,161,790,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/OpenTypeHistory.java
JDT
2,112
162,045
Bug 162045 [clean up] (with format) on dirty file saves file
N20061023-0010 Clean up (with format) on dirty file saves file.
2006-10-24 05:00:10
1,161,680,000
resolved fixed
0251e81
1,161,700,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java
JDT
2,113
65,841
Bug 65841 [typing] Pasted comment wrong when using smart paste
If you have a comment like this: // this is a comment And you copy/paste the entire line to a new line (including leading indentation) you get the correct result: // this is a comment However, if you copy/paste the line *without* the leading indentation to a new line, you incorrectly get: // this is a comment
2004-06-04 19:10:14
1,086,390,000
resolved fixed
fb77351
1,161,620,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
JDT
2,114
161,910
Bug 161910 [nls tooling] Missing Hover-Warning when NLS link broken due to empty messages file
To reproduce the bug, create a string and externalize it. If you now delete the key value pair in the respective properties file and then hover the externalized string you will get a warning saying the key is missing. This works fine if the properties file is not empty. If it is empty, no hover is displayed. The code that prevents the hover to appear in this case can be found in org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover line 111 Properties properties= NLSHintHelper.getProperties(propertiesFile); if (properties == null || properties.isEmpty()) return null; In case the properties file is empty a warning should be returned rather than null.
2006-10-23 04:28:09
1,161,590,000
resolved fixed
101b71b
1,161,600,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaHoverMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/NLSStringHover.java
JDT
2,115
161,577
Bug 161577 [open type] StringIndexOutOfBoundsException "Searching for all types"
Build id: I20061017-0800 * Opened the "Open type dialog" * Typed a capital "S" in the dialog java.lang.StringIndexOutOfBoundsException at java.lang.String.charAt(String.java:415) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$TypeInfoComparator.compareName(TypeInfoViewer.java:176) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$TypeInfoComparator.compare(TypeInfoViewer.java:157) at java.util.Arrays.mergeSort(Arrays.java:1322) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1310) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.mergeSort(Arrays.java:1311) at java.util.Arrays.sort(Arrays.java:1238) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$SearchEngineJob.getSearchResult(TypeInfoViewer.java:682) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractSearchJob.internalRun(TypeInfoViewer.java:571) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractSearchJob.doRun(TypeInfoViewer.java:518) at org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$AbstractJob.run(TypeInfoViewer.java:484) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
2006-10-19 10:35:53
1,161,270,000
resolved fixed
dc8b22b
1,161,370,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java
JDT
2,116
161,444
Bug 161444 [build path] NPE trying to open a JavaProject
eclipse.buildId=I20061010-0800 java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060919 (JIT enabled) J9VM - 20060915_08260_lHdSMR JIT - 20060908_1811_r8 GC - 20060906_AA BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA Framework arguments: -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -debug -consolelog -console -showlocation I got this trying to open a java project. Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getRequiredProjects(ClassPathContainer.java:138) at org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.getChildren(ClassPathContainer.java:130) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getContainerPackageFragmentRoots(PackageExplorerContentProvider.java:257) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:203) at org.eclipse.jdt.ui.StandardJavaElementContentProvider.hasChildren(StandardJavaElementContentProvider.java:232) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1946) at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:740) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:181) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1974) at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2570) at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:982) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2505) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1717) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:850) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1724) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:850) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1692) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1648) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.internalRefresh(PackageExplorerPart.java:270) at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1418) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1326) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:401) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1416) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1373) at org.eclipse.jdt.internal.ui.viewsupport.FilterUpdater$1.run(FilterUpdater.java:51) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 20 more
2006-10-18 13:27:59
1,161,190,000
resolved fixed
a67f93f
1,161,370,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java
JDT
2,117
161,414
Bug 161414 [package explorer] NPE from Packages Explorer on restart
I got the following NPE in the Packages Explorer after a restart: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.packageview.WorkingSetAwareContentProvider.getWorkingSetChildren(WorkingSetAwareContentProvider.java:109) at org.eclipse.jdt.internal.ui.packageview.WorkingSetAwareContentProvider.getChildren(WorkingSetAwareContentProvider.java:85) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1214) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:658) at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isExpandable(ProblemTreeViewer.java:170) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:1978) at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2574) at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:983) at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:798) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:775) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:779) at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1352) at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:963) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1339) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1326) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:401) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1328) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1564) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.createPartControl(PackageExplorerPart.java:636) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1147) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:623) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:535) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:569) at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:244) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:983) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2412) at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2613) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2594) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1979) at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2859) at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2807) at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1683) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1423) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1681) at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1652) at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1531) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1475) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1087) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1849) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962)
2006-10-18 10:17:23
1,161,180,000
resolved fixed
7adcfdd
1,161,360,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetAwareContentProvider.java
JDT
2,118
160,860
Bug 160860 [type wizards] option to tell type wizards to not open an editor
20061012 Follow up to up 110643: An option to configure the action to not open an editor in the end.
2006-10-13 09:49:08
1,160,750,000
resolved fixed
a6f7db0
1,161,360,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewAnnotationCreationWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewClassCreationWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewEnumCreationWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewInterfaceCreationWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewAnnotationWizardAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewClassWizardAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewEnumWizardAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewInterfaceWizardAction.java
JDT
2,119
149,633
Bug 149633 [implementation] AssertionFailedError in DocumentLineDifferInitializationTest
null
2006-07-05 03:34:02
1,152,080,000
verified fixed
18ec632
1,161,350,000
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/AbstractDocumentLineDifferTest.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentLineDifferInitializationTest.java org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/DocumentLineDifferModificationTest.java
JDT
2,120
161,713
Bug 161713 [clean up] NPE on organize imports
Given: package test; import java.io.*; public class E1 {} 1. Enable 'Organize Imports' in clean up 2. Disable 'Show Clean Up Wizard' 3. Clean up 'E1' is: java.lang.NullPointerException at org.eclipse.jdt.internal.corext.fix.ImportsFix.createCleanUp(ImportsFix.java:38) at org.eclipse.jdt.internal.ui.fix.ImportsCleanUp.createFix(ImportsCleanUp.java:70) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.calculateSolutions(CleanUpRefactoring.java:220) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpASTRequestor.acceptAST(CleanUpRefactoring.java:196) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:712) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:466) at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:707) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpParser.createASTs(CleanUpRefactoring.java:374) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring$CleanUpFixpointIterator.next(CleanUpRefactoring.java:453) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.cleanUpProject(CleanUpRefactoring.java:668) at org.eclipse.jdt.internal.corext.fix.CleanUpRefactoring.checkFinalConditions(CleanUpRefactoring.java:622) at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:81) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1742) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4063) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
2006-10-20 08:17:38
1,161,350,000
resolved fixed
54e9a18
1,161,350,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ImportsCleanUp.java
JDT
2,121
161,672
Bug 161672 u's with umlauts in test resources are causing failures when using IBM Java JRE 1.4.2 or 5.0
There are two resources which contain non UTF-8 characters: org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Before.java org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Modified.java These files are causing IndentActionTes.testUnchanged to fail with the following trace: sun.io.MalformedInputException at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262) at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:314) at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:364) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250) at java.io.InputStreamReader.read(InputStreamReader.java:212) at java.io.Reader.read(Reader.java:143) at org.eclipse.jdt.text.tests.performance.FileTool.read(FileTool.java:192) at org.eclipse.jdt.text.tests.performance.ResourceTestHelper.read(ResourceTestHelper.java:133) at org.eclipse.jdt.text.tests.IndentActionTest.assertIndentResult(IndentActionTest.java:97) at org.eclipse.jdt.text.tests.IndentActionTest.testUnchanged(IndentActionTest.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:23) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:58) at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:105) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2882) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:45) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962)
2006-10-19 20:13:18
1,161,300,000
resolved fixed
36b6d66
1,161,340,000
org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Before.java org.eclipse.jdt.text.tests/testResources/indentation/unchanged/Modified.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java
JDT
2,122
153,247
Bug 153247 [templates] Templates content assist additional info outdated and improvable
I20060807-2000 Templates content assist additional info is outdated and improvable. - Some proposals like arg have a cryptic string at the end. I guess that's an example of usage. If so, then this should be clearly stated with a title "Example: ..." - arg: refers to TypeVar, should be arg - elem: refers to ElementType - name and var: should have an example - variables that accept arguments should - show their arguments in the proposal name - start their additional info with the full definition as in help, e.g. ${id:var(type name)} for var
2006-08-09 04:44:23
1,155,110,000
resolved fixed
4db40b1
1,161,270,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitCompletion.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/ElementTypeResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/FieldResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaVariable.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/LocalVarResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TypeVariableResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/VarResolver.java
JDT
2,123
161,282
Bug 161282 [content assist] Applying proposal from the content assist history results in unresolved type
Create a blank file with a main method, and type in the method: Set[CTRL-SPACE and import Set]<String> my = new [CTRL-SPACE and choose TreeSet, and finish the line] You should have ended up with: Set<String> my = new TreeSet<String>(); Where TreeSet was "auto-added" by Eclipse, but it will be underlined red, for you still need to import it. Expected: if Eclipse added TreeSet, it should have added an import line for it.
2006-10-17 12:54:07
1,161,100,000
resolved fixed
e64b758
1,161,190,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposalComputer.java
JDT
2,124
161,395
Bug 161395 [preferences] Formatter profile not correctly exported
1. Go to Preferences>Java>Code Style>Formatter 2. Select "Eclipse built in' 3. Edit... 4. Change the name 5. Select 'Spaces only' as 'Tab policy' 6. Export... Is: The exported profile has 'tab' as 'Tab policy' I guess the export action does not export the working values (Executing 'Apply' before step 6 solves the problem).
2006-10-18 07:24:28
1,161,170,000
resolved fixed
04df559
1,161,170,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog.java
JDT
2,125
161,359
Bug 161359 [content assist] Second choice not inserted
Activating the content assist in the following example shows two entries. Selecting the first "twice" inserts the text. Selecting the second entry "Main.this.twice" does nothing. Workaround: remember the proposed entry and type it manually. Version: 3.2.0 Build-ID: M20060629-1905 JDK 1.4.2_12 or JDK 1.5.0_06 === Code Example === public class Main { int twice = 0; Inner inner = new Inner(){ void notImportant(){ int left = tw /* want to select Main.this.twice*/ // ^Place cursor here // and press Control+blank. Two entries are shown // but selecting entry "Main.this.twice" // inserts nothing } }; abstract class Inner { int twice =1; abstract void notImportant(); } }
2006-10-18 01:41:01
1,161,150,000
resolved fixed
6a3929a
1,161,170,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
JDT
2,126
107,496
Bug 107496 [content assist] Automatic Imports Enhancement
Is it possible to import a class as you type instead of using "Add Import" or "Organise Imports" ? Both the later options are useful and good but disrupt the flow of your typing. As you know, when the "type" is not found, code completions are not available on the "type". So you have to stop and do an "Add Import" or an "Organise Imports" and then continue typing. My suggestion is this; just like code completion (which pops up automatically) "add import" should popup if the parser recognizes a non-unique class or interface; user will then select what he/she wants and continue. If the class or interface is unique import it quietly so that users can continue typing with code-completion. Ofcourse this does mean that when you type "StringBuilder", "String" will also be quietly imported. But such imports will be cleared later via a user invoked "Organise Imports". For non-unique types a pop-up delay can help minimize user anoyance (i.e reasonably fast typers will never face irrelevant pop-ups). Ofcourse some users will completely reject this idea (as bad or due to performance issues) - hence a preference control to enable/disable this feature. I can't imagine there being any performance issues as currently "Add Import" or "Organise Imports" are pretty fast. What do you guys think. Cheers
2005-08-19 22:02:20
1,124,500,000
verified fixed
bac6051
1,161,100,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaCompletionProposal.java
JDT
2,127
160,966
Bug 160966 [quick fix] Provide quick fix for incorrect @Override annotation
Version: 3.3.0 Build id: I20060922-0010 If you specify an @Override annotation on a method that does not override a method in a superclass you correctly get a compiler error stating as much. It would be nice if there were a quick fix for this problem to remove the offending annotation. Another possible fix would be to add the missing superclass method, but this possibly less useful. A similar fix could be provided when you specify an annotation in the wrong position (like on a constructor)
2006-10-14 18:54:43
1,160,870,000
resolved fixed
b465d63
1,161,080,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.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/AbstractMethodCompletionProposal.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/NewDefiningMethodProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.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/QuickFixProcessor.java
JDT
2,128
157,791
Bug 157791 [clean up] UI imrpovements for multiple file clean up
20060919 - select more than one CU, start 'Clean Up' - the wizard that shows up could be improved the following way: - description should be changed to: 'Cleaning up 5 selected files' - body: Using profile '<a>ProfileX</a>' for files in project 'X' (<a>Configure...</a>) Using profile '<a>ProfileY</a>' for files in project 'Y' (<a>Configure...</a>) - Checkbox: Do not show this dialog again
2006-09-19 08:19:33
1,158,670,000
resolved fixed
3769779
1,161,000,000
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpProfileManager.java
JDT
2,129
159,884
Bug 159884 In synchronize view, some changes are hidden when view is "All Models" or "Java Workspace"
A developer on my team added some files into CVS. I should note that the root folder of the project serves as the source folder, in case that makes any difference. When I do a team>synchronize, I do not see these added files if the view is "All Models" or "Java Workspace". If I change it to "Workspace", I see them. I don't know what the difference between "Java Workspace" and "Workspace" is, but it seems intuitive to me that if something appears when "Workspace" is selected, it should appear when "All Models" is selected. The synchronize view did show the project as having incoming changes, that is the project was present in the synchronize view when in incoming mode, but there was nothing under the project in the tree view.
2006-10-05 10:33:22
1,160,060,000
verified fixed
f89287e
1,160,990,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/model/ContentProviderTests.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/model/MockPluginView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java
JDT
2,130
160,858
Bug 160858 [clean up] Show clean up wizard also on single cu
I20061010-0800 The clean up wizard is, at the moment, only shown when selecting more then on cu, that's confusing. The user should be able to select on the clean up preference page if he wants to see the wizard or not.
2006-10-13 09:33:55
1,160,750,000
resolved fixed
1ab1a6a
1,160,750,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpStressTest.java org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CleanUpAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/MultiFixMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpConfigurationBlock.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/CleanUpMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
JDT
2,131
159,699
Bug 159699 [content assist] NPE in Content Assist when action has no keybinding
null
2006-10-04 05:16:43
1,159,950,000
verified fixed
f925341
1,160,730,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java
JDT
2,132
160,521
Bug 160521 [Compare] Changes needed to support file buffers
null
2006-10-11 13:31:31
1,160,590,000
resolved fixed
9864ea0
1,160,660,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java
JDT
2,133
157,796
Bug 157796 [misc] 'Text Editing' navigation and selection commands block widget shortcuts of class file editor without source
I20060919-0010, same in 3.2 Most navigation and selection commands don't work in the class file editor: - 'Edit > Select All' (Ctrl+A) is enabled, but does not do anything - 'Edit > Expand Selection To' actions are enabled, but just show a dialog - Ctrl+Left, Ctrl+Shift+Left, Home, Ctrl+Home, Shift+Home, and their equivalents with Right/End don't work
2006-09-19 08:55:03
1,158,670,000
resolved fixed
2e0eb7e
1,160,650,000
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
JDT
2,134
160,270
Bug 160270 [clean up] Converting iterable loop removes update expressions
We tested a general cleanup of our code and found a problem with the cleanup of loops. The following testcase shows that cleanup removes code in the for-loop that it shouldn't, the "i++" is silently removed although later code depends on it. I think in these cases the cleanup should just do nothing to avoid changing behaviour: public void testEclipseLoopCleanupError() { // //////////////////////////////////////////////// // before cleanup // //////////////////////////////////////////////// { List<String> output = new LinkedList<String>(); output.add("Test1"); int i = 0; for (Iterator<String> it = output.iterator(); it.hasNext(); ++i) { final String o = it.next(); assertEquals("Test1", o); } assertEquals(1, i); } // //////////////////////////////////////////////// // after cleanup // //////////////////////////////////////////////// { List<String> output = new LinkedList<String>(); output.add("Test1"); int i = 0; for (String o : output) { assertEquals("Test1", o); } assertEquals(1, i); } }
2006-10-10 03:23:27
1,160,470,000
verified fixed
d0ff4aa
1,160,560,000
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java
JDT