issue_id
int64
2.03k
426k
title
stringlengths
9
251
body
stringlengths
1
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
updated_files
stringlengths
29
34.1k
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
unknown
report_datetime
unknown
95,928
Bug 95928 Generalize Type throws exceptions / is not available on certain types
N20050519-0010 With unparameterized types, generalize type can be activated by placing the caret anywhere inside an unqualified type. With parameterized types, the whole type must be selected. The refactoring should automatically detect the generalizable type around the caret location Sometimes, not even selecting the whole type works (e.g. selecting the type "List<Object>" (second parameter of method test2(..))). And with qualified type names (even unparameterized), the refactoring spits: org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: assertion failed;No constraint variable matches the selected ASTNode. at org.eclipse.jdt.internal.corext.Assert.isTrue(Assert.java:139) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeTypeRefactoring.findConstraintVariableForSelectedNode(ChangeTypeRefactoring.java:880) at org.eclipse.jdt.internal.corext.refactoring.structure.ChangeTypeRefactoring.computeValidTypes(ChangeTypeRefactoring.java:416) at org.eclipse.jdt.internal.ui.refactoring.ChangeTypeWizard$1.run(ChangeTypeWizard.java:195) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Here's an example class to play around: public class Dummy { String fValue2 = "Eclipse"; List<String> fValue = Arrays.asList("Eclipse"); String test(String arg) { return null;} List<String> test2(java.util.List<Object> aList, List<Object> l){ return null; } }
verified fixed
ec2a81b
["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/negative/A_testQualifiedFieldRef_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/negative/A_testQualifiedFieldRef_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricEmptySelection_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricEmptySelection_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricLocalVar_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricLocalVar_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricParameter_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricParameter_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testQualifiedNameEmptySelection_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testQualifiedNameEmptySelection_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeTypeRefactoringTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-26T09:09:29Z"
"2005-05-19T13:40:00Z"
93,988
Bug 93988 [quick fix] Add quickfix for @SuppressWarnings
null
verified fixed
73b1a82
["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/QuickAssistProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T16:37:17Z"
"2005-05-06T20:06:40Z"
77,627
Bug 77627 Convert anonymous: generates unnecessary generic type [refactoring] [convert anonymous]
M3 test candidate public class A<T> { <X> void bar() { Object o= new Object() {}; } } - convert anonymous generates public class A<T> { private final class DD<X> { } <X> void bar() { Object o= new DD<X>(); } } which ins't necessary.
verified fixed
7df54c2
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T12:47:07Z"
"2004-11-03T13:53:20Z"
90,556
Bug 90556 [organize import] JDT makes sensless static imports on Organize Imports
null
verified fixed
57bff30
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClipboardOperationAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T12:32:59Z"
"2005-04-07T02:13:20Z"
96,532
Bug 96532 JavaElementLabels#getTypeSignatureLabel(...) should handle capture
null
verified fixed
11d662a
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T12:28:43Z"
"2005-05-24T21:26:40Z"
94,810
Bug 94810 Generate Delegate Methods for multiple fields problem
I20050509-2010 In the CU below: - invoke Generate Delegate Methods - choose equals() from a and hashCode() from b - generate -> two delegate methods for a "class C { Object a; Object b; } "
verified fixed
e975949
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/AddDelegateMethodsOperation.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T11:08:02Z"
"2005-05-11T19:33:20Z"
92,519
Bug 92519 [refactoring] inline method - result does not compile
3.1M6 Inline the setter. public class InlineMethodBug { private Object data; InlineMethodBug(Object data){ this.setData(data); } //inline this method, remove decl private void setData(Object bytes) { this.data= bytes; } } you get this (does not compile): public class InlineMethodBug { private Object data; InlineMethodBug(Object data){ InlineMethodBug r = this; r.r.data= data; } }
verified fixed
c7c5b67
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/receiver_in/TestThisReceiver.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/receiver_out/TestThisReceiver.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T10:44:42Z"
"2005-04-24T19:13:20Z"
79,906
Bug 79906 [refactoring] convert anonym to inner should follow naming conventions
20041201 The 'convert anonym to inner class' refactoring should follow the naming conventions. - use field pre/suffixes for introduced fields, remove params and local pre/suffixes for used variables - use 'this' if preferred by the user for example: public void foo(final int pVar1) { final int lVar2= 1; Runnable r= new Runnable() { public void run() { int x= pVar1 + lVar2; } }; } -> private final class Inner implements Runnable { private final int fVar1; private final int fVar2; private Inner(int pVar1, int pVar2) { super(); fVar1 = pVar1; fVar2 = pVar2; } public void run() { int x= fVar1 + fVar2; } }
verified fixed
13aa832
["org.eclipse.jdt.ui.tests.refactoring/resources/ConvertAnonymousToNested/canConvert/A_test11_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ConvertAnonymousToNested/canConvert/A_test12_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ConvertAnonymousToNested/canConvert/A_test19_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ConvertAnonymousToNested/canConvert/A_test20_out.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T10:42:01Z"
"2004-12-01T19:40:00Z"
96,581
Bug 96581 Remove references to internal code in jdt.junit plug-in
N20050525-0010
verified fixed
25ab1c2
["org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/FailureTab.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestHierarchyTab.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/TestSearchEngine.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T09:56:58Z"
"2005-05-25T08:33:20Z"
96,222
Bug 96222 [build path] Java User Libraries import/export format is not backward compatible
Hi, I have problems importing Java User Libraries from Eclipse 3.0.2 to the latest Eclipse 3.1M7. It appears that the format of .userlibraries file has been changed and is not compatible with previous Eclipse release anymore. I have investigated the difference and found out that new Eclipse 3.1M7 fails to process path values with backslash ("\") separator. Replacing backslash characters by Unix-like slash "/" fixes the problem. Could you look at the problem, please.
verified fixed
7f69585
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-25T09:14:47Z"
"2005-05-21T12:53:20Z"
94,794
Bug 94794 quick fix for missing javadoc tags inserts @param at wrong position
null
verified fixed
57d0c1f
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/JavadocQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T15:58:31Z"
"2005-05-11T16:46:40Z"
95,632
Bug 95632 [build path] exception when changing source folders
null
verified fixed
774a22b
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/AddExternalArchivesOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/AddLibraryOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/AddSelectedLibraryOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/AddSelectedSourceFolderOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/CreateFolderOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/CreateOutputFolderOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/EditFiltersOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/EditOutputFolderOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/ExcludeOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/IncludeOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/LinkedSourceFolderOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/RemoveFromClasspathOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/ResetAllOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/ResetAllOutputFoldersOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/ResetOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/UnexcludeOperation.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/buildpath/UnincludeOperation.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathBasePage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T14:49:16Z"
"2005-05-17T20:00:00Z"
96,172
Bug 96172 [refactoring] Moving method with static import in body gives illegal result.
--------------- Source.java ------------------ import static java.lang.Integer.*; class Source { static int getInt () { return parseInt(""); } } ---------------- Target.java BEFORE ----------- class Target {} ---------------- Target.java AFTER ------------ class Target { static int getInt () { return parseInt(""); } } // COMPILE ERROR!
verified fixed
d9a27fc
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T14:20:04Z"
"2005-05-20T20:13:20Z"
93,430
Bug 93430 Access rules - 'Combine rules...' checkbox does not reflect status on required project
Build: I20050426-1700 Scenario: - create new project 'RequiredProject'; - create new project 'DependentProject'; - open the latter's properties; in the 'Java Build Path/Projects' tab, add RequiredProject; - expand the newly created node and select the 'Access rules: (No restrictions)' line; - click 'Edit...'; - check the 'Combine rules...' checkbox; - click 'OK'; notice the 'Access rules: Using rules of child entries' label; - click 'Edit...' again; - the 'Combine...' checkbox should be checked, but it isn't. As a side effect, I would expect the removal of this property to be difficult (else than by recreating the project from scratch).
verified fixed
37e6c4a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AccessRulesDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T14:05:35Z"
"2005-05-02T16:06:40Z"
92,967
Bug 92967 SelectionButtonDialogFieldGroup accesses unitialized field
I0426, found with FindBugs Line 68 in SelectionButtonDialogFieldGroup looks like: if (fButtonsStyle == SWT.RADIO) { But fButtonsStyle is guaranteed to be 0 at this point since it hasn't been initialized yet. This should probably either be "buttonsStyle", or not done until after "fButtonsStyle= buttonsStyle;".
verified fixed
c43dae2
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T13:55:13Z"
"2005-04-27T19:26:40Z"
94,304
Bug 94304 [code manipulation] Fails to create a class in enum
With Eclipse I20050506-1600, I run a problem to create a inner class in enum: 1. select an enum in the package explorer 2. call new wizard to create a inner class 3. check the "Enclosing type" 4. Put a name in the "Name:" Field 5. Click the button "OK". I got the following exception: Caused by: java.lang.IllegalArgumentException: Node does not exist at org.eclipse.jdt.core.dom.rewrite.ListRewrite.insertBefore (ListRewrite.java:205) at org.eclipse.jdt.internal.core.CreateElementInCUOperation.insertASTNode (CreateElementInCUOperation.java:249) at org.eclipse.jdt.internal.core.CreateElementInCUOperation.generateNewCompilation UnitAST(CreateElementInCUOperation.java:184) at org.eclipse.jdt.internal.core.CreateElementInCUOperation.executeOperation (CreateElementInCUOperation.java:137) at org.eclipse.jdt.internal.core.JavaModelOperation.run (JavaModelOperation.java:718) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1716) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation (JavaModelOperation.java:782) at org.eclipse.jdt.internal.core.SourceType.createType (SourceType.java:153) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType (NewTypeWizardPage.java:1808) at org.eclipse.jdt.internal.ui.wizards.NewClassCreationWizard.finishPage (NewClassCreationWizard.java:55) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run (NewElementWizard.java:114) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation (BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run (JavaModelOperation.java:718) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1716) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3654) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run (WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java:346) The samething can be done in Java editor.
verified fixed
d127cc8
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T13:47:45Z"
"2005-05-10T13:00:00Z"
91,081
Bug 91081 [quick fix] Quick complete should introspect method change when return val from method
null
verified fixed
dccf32b
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ReturnTypeQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T12:57:08Z"
"2005-04-12T07:13:20Z"
95,128
Bug 95128 [refactoring] Inline method on class with varargs constructor
Against I20050513-0010 Attaching whole project, because I've not been able to determine exactly what the minimum feature set to expose the bug is. Using the attached project, inline the method getSides() on class Card. Inside the caller getSide(), a new undefined local variable is introduced. Interestingly, the local variable always has the same name as the name of the local variable through which getSides() is called from CardTest.test00threeSideConstructor.
verified fixed
a7d83cf
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_in/Test_95128.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_out/Test_95128.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T12:17:03Z"
"2005-05-13T16:00:00Z"
90,425
Bug 90425 Code Templates preference pages show recursive links between project-specific and workspace settings
I20050405-0800 Java > Code Style > Code Templates preference pages show recursive links between project-specific and workspace settings. The links should not appear in a dialog that was opened from another settings dialog.
verified fixed
e2ff5b0
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertyAndPreferencePage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T11:58:24Z"
"2005-04-06T09:33:20Z"
73,656
Bug 73656 Encoding: refactoring should flush the undo stack on encoding changes
Refactoring should flush the undo stack on encoding changes. It is questionable what to do if the encoding changes since the encoding has an impact on the number of characters. Alternativly the UndoTectFileChange could remember the encoding and could compare it in isValid(...).
verified fixed
a488126
["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/BufferValidationState.java", "org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/RefactoringCoreMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T11:08:13Z"
"2004-09-10T12:40:00Z"
67,814
Bug 67814 Show In > Package Explorer doesn't ask for removal of last filter [package explorer]
200406180010; Not a dup of 66646. 'Show In > Package Explorer' doesn't ask for removal of a filter iff there's only a single filter set. Steps: - Disable all filters in Package Explorer, except for 'Referenced Libraries'. - Open editor for java.util.Vector - Navigate > Show In > Package Explorer => fails, doesn't ask for filter removal. Works iff at least one other filter (which would not filter the element) is active.
verified fixed
0756025
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/CustomFiltersActionGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T09:39:44Z"
"2004-06-18T14:46:40Z"
67,451
Bug 67451 type filters ignored in dialog fields [refactoring] [code assist]
3.0rc2 add a type filter for *awt* now awt.List is filtered out from code assist and such. however, if you use Move refactoring and use code assist in the dest field, you still see awt.List in there (why a binary type would end up in the move dest list is another question)
verified fixed
a644084
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/JavaTypeCompletionProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T09:27:36Z"
"2004-06-16T15:33:20Z"
96,399
Bug 96399 [open type] render working set name in dialog title
null
verified fixed
57c32a9
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaUIMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionComponent.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T09:21:26Z"
"2005-05-24T07:33:20Z"
94,403
Bug 94403 Provide option(s) that allow to hide/filter based on access restriction type
null
verified fixed
7946712
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T08:57:01Z"
"2005-05-10T15:46:40Z"
94,795
Bug 94795 Refactoring continues after canceling the Save All job
I20050509-2010 'Save All Modified Resources' prior to a refactoring can be circumvented by: - start a long-running job that locks the workspace (e.g., with the org.eclipse.ui.examples.job plug-in) - dirty a CU opend in an editor - invoke Encapsulate Field on a field in this CU - choose OK in the 'Save All Modified Resources' dialog - cancel the unnamed job in the progress dialog (will file separate PR for the unnamed job) - wait -> progress dialog opens again - cancel the long-running job from the first step -> the refactoring proceeds :-)
verified fixed
43bce2a
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringSaveHelper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-24T08:27:17Z"
"2005-05-11T16:46:40Z"
94,959
Bug 94959 Doubli-clicking on 'workspace matches' separator in Open Type dialog closes it
N20050512-0010 Since the separator is not a valid selection, the dialog should stay open
verified fixed
1d92b56
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionComponent.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T18:26:30Z"
"2005-05-12T15:00:00Z"
93,689
Bug 93689 Inlining static field has illegal result.
--------- BEFORE --------------- package ibsn.j2ee.utils; import org.apache.log4j.Logger; import static org.apache.log4j.Logger.*; public final class ExceptionHdlr { private static final Logger logger_ = getLogger( ExceptionHdlr.class ); public static void handleException(final Throwable t) { handleException(logger_,t); } public static void handleException(final Logger loggerObj, final Throwable t) { loggerObj.error("",t); } } ------------ AFTER -------------- package ibsn.j2ee.utils; import org.apache.log4j.Logger; import static org.apache.log4j.Logger.*; public final class ExceptionHdlr { public static void handleException(final Throwable t) { handleException(getLogger,t); } // COMPILE ERROR! public static void handleException(final Logger loggerObj, final Throwable t) { loggerObj.error("",t); } }
verified fixed
2ed83b2
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test26/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineConstant/canInline/test26/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineConstantTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T16:47:37Z"
"2005-05-04T18:06:40Z"
67,417
Bug 67417 NPE when performing Refactor>Inline [refactoring]
build 3.0RC2 1) create X.java public class X { void bar() { show(""); } public void show(String d) { System.out.println(d); } public void show(String d) { System.out.println(""); } } 2) Select a 'foo' method declaration 3) Open Refactor menu 4) Select Refactor>Inlinne an NPE occur !ENTRY org.eclipse.ui 4 0 Jun 16, 2004 10:01:45.848 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.code.TargetProvider.create (TargetProvider.java:89) at org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.<init> (InlineMethodRefactoring.java:131) at org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.create (InlineMethodRefactoring.java:147) at org.eclipse.jdt.ui.actions.InlineAction.tryInlineMethod (InlineAction.java:141) at org.eclipse.jdt.ui.actions.InlineAction.run(InlineAction.java:116) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2732) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2398) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1362) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:252) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:334) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:272) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:638) at org.eclipse.core.launcher.Main.main(Main.java:622)
verified fixed
eab4a74
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/invalid/TestMultipleMethods.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringCoreMessages.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T16:38:38Z"
"2004-06-16T07:13:20Z"
88,806
Bug 88806 [refactoring] Change Method Signature removes comment between parameter type and name
Build N20050303-0010 I started with this method: public void packetReceived( final RoutedPacket pkt, final PktNodeInfo fromNode, final PktNodeInfo toNode, final BitVector/*64*/sendTime, final BitVector/*64*/recvTime) Note that there is a comment instead of a space between the type BitVector and the argument name. While I would prefer a space, the current Eclipse formatter does not leave one. (I believe at one point it used to put a space before the comment and a newline after, which was arguably worse.) However, the formatter is not the issue here. Now, I want to use the Change Method Signature to replace those BitVector arguments with long arguments. Here's what it produces: public void packetReceived( final RoutedPacket pkt, final PktNodeInfo fromNode, final PktNodeInfo toNode, final longsendTime, final longrecvTime) Note that the comment is gone (which is fine with me, but maybe not right in all sitations), but there is no space to separate the tokens.
verified fixed
b050dd1
["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAll62_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testAll62_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/TightSourceRangeComputer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T15:15:33Z"
"2005-03-22T19:33:20Z"
87,682
Bug 87682 PasteResourceFromClipboardActionTest are useless
null
verified fixed
f3215ce
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/reorg/AllTests.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/reorg/PasteResourcesFromClipboardActionTest.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T14:41:42Z"
"2005-03-10T18:40:00Z"
96,302
Bug 96302 [implementation] useless statement in getAutoEditStrategies(...)
In JavaSourceViewerConfiguration.getAutoEditStrategies(...) the line autoEditStrategies.toString(); is useless.
verified fixed
3bcbeea
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T14:39:19Z"
"2005-05-23T14:53:20Z"
95,927
Bug 95927 [5.0][quick assist] Support iterablesin enhanced for loop quick assist
null
verified fixed
efec162
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertIterableLoopProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T14:32:44Z"
"2005-05-19T13:40:00Z"
94,170
Bug 94170 Javadoc links in help view don't navigate directly to specific anchors in HTML
Using M6 on WinXP, and using default help settings, clicking Javadoc links in the help view cause the correct Javadoc page to be displayed, but the help view won't navigate to the correct anchor point in the Javadoc HTML--the page loads but won't scroll to the correct location in the docs for the particular field/method one has requested Javadocs for...you're left at the top of the page. However, right-clicking the Javdoc link in the help view and choosing "Open in Help Contents" (as opposed to the default "Open") will open the Javadoc in an external browser which will navigate to the correct location on the correct page. Right-clicking in the Javadoc page and choosing "Properties" does show a complete URL including the "#methodName(param list)" anchor name...it's just that the internal help view won't scroll to the specified location.
verified fixed
44da5cd
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/JavadocHelpContext.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T14:19:11Z"
"2005-05-09T17:33:20Z"
96,174
Bug 96174 [typing] Mysterious /*${cursor}*/ added when completing an else
N20050519-0010 1. Enter the following: if (true) { } el<ctrl+space> 2. Choose "else" as the completion. 3. The result is: if (true) { } else { /*${cursor}*/ } I am not sure what ${cursor} means, but it seems like this is a bug.
verified fixed
a5c743a
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/template/java/JavaFormatter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T13:35:35Z"
"2005-05-20T20:13:20Z"
94,789
Bug 94789 Introduce parameter does not call validateEdit [refactoring]
I20050509-2010: Steps to reproduce: - Checkout project in watch/edit mode, using send notifications to CVS server and always prompt settings - Invoke Introduce Parameter on method of this project -> Refactoring does not prompt whether the user would like to send the notification or not -> Refactoring should call Checks.validateModifiesFiles
verified fixed
4c5bd4b
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T12:46:55Z"
"2005-05-11T16:46:40Z"
85,274
Bug 85274 Project rename Undo after error does nothing [refactoring]
(Using 3.1 M5 practice build) If you set the .project file of an unshared Java project to read-only and perform a Refactor/Rename from the Packages Explorer, you will get an error. When this happens, the user is presented with the option to Undo but this does not revert the project to it's original name. Either the Undo should work or be disabled.
verified fixed
7e17369
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T10:49:51Z"
"2005-02-15T15:06:40Z"
72,836
Bug 72836 [refactor] InLine simple method with "this." created extra code
For example, start with: public class InLineTest { private void foo() { System.out.println(); } private void bar() { this.foo(); } } Select foo() to in-line and you get: public class InLineTest { private void bar() { InLineTest r = this; // THIS EXTRA LINE IS NOT NEEDED AT ALL! ;-) System.out.println(); } } Version 3.1M1.
verified fixed
9e28ee5
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_in/Test_72836.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_out/Test_72836.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T10:40:39Z"
"2004-08-28T02:26:40Z"
85,807
Bug 85807 ImportRewrite#addImport(...): javadoc should tell that result can be used as variable type
I20050217-2000 If I understand that correctly, all ImportRewrite#addImport(...) methods should be able to deal with anonymous and array types/bindings: - they add imports for all types referenced in the given type reference - they return a type that can be used to declare a variable to which an object of the original type can be assigned The javadocs should be updated to include these two points.
verified fixed
07e04ac
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportRewrite.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T10:37:49Z"
"2005-02-18T09:46:40Z"
95,423
Bug 95423 M7 JDT Open Type Dialog Issues With Multiple 'Identical' Projects
null
verified fixed
1f25449
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionComponent.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T10:30:07Z"
"2005-05-16T19:00:00Z"
96,280
Bug 96280 [typing] Smart paste has problems if second line has only whitespaces
N20050523-0010 Paste the following into a method: void hasOneExitPoint() { } void hasTwoExitPoints(int i) { if (i < 0) callsMethodThatThrowsRuntimeException(i); }
verified fixed
3e03f42
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T10:24:33Z"
"2005-05-23T09:20:00Z"
86,842
Bug 86842 [quick assist] Intention "Split variable declaration" loses "final"
Example: final FcFile file = lockNextFile(); Invoke the intention on variable 'file' and you get: FcFile file; file = lockNextFile(); instead of the expected: final FcFile file; file = lockNextFile();
verified fixed
91298ee
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T10:17:19Z"
"2005-02-28T14:13:20Z"
85,403
Bug 85403 [quick assist] convert 'switch' into if-else-if fails if case has block
I20050215-2300 test case: switch (a) { case 1 : { System.out.println("1"); break; } }
verified fixed
aef5df6
["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
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T08:51:59Z"
"2005-02-16T13:20:00Z"
96,137
Bug 96137 (regression) Type hierarchy displays its name in the content area when empty
null
verified fixed
429a7d5
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-23T07:38:08Z"
"2005-05-20T17:26:40Z"
73,297
Bug 73297 [quick fix] Open Build path dialog quick fix
A jar was removed and not replace with the newer one. Subsequently, I got the error "The project was not built since its build path is incomplete. Cannot find the class file for javax.activation.DataSource. Fix the build path then try building this project...". It is a minor thing, but for beginners quite helpful if upon double-click on this error, the project properties - Java Build Path would open in the "Libraries" tab.
verified fixed
a48fef5
["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/QuickFixProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-22T15:04:59Z"
"2004-09-05T16:00:00Z"
73,011
Bug 73011 [wizards] The Code Template inserted into the wrong place [code manipulation]
In my preference, I have change my Code Template - Code - New Java File to be as follows: ${typecomment} /* * Created on ${date} */ ${package_declaration} ${type_declaration} ----------------- However, when I create a new java class that extends or implement something, the result java file inserted the package declaration in the middle of my type comment. This result in a class that has compilation error. Something Like this : //**************************************************************** // xxxxx import org.eclipse.debug.core.ILaunch; import org.eclipse.debug.core.model.IDebugElement; import org.eclipse.debug.core.model.IDebugTarget; // xxxxxxxxx // ssssssss //**************************************************************** /** * @author jcyfung */ /* * Created on Aug 31, 2004 */
verified fixed
7f8d111
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-22T10:24:48Z"
"2004-08-31T22:06:40Z"
82,940
Bug 82940 [quick fix] Missing sensible conversion suggestion
For this code > % cat Test.java import java.util.Collections; import java.util.List; public class Test { interface Wrapper { int doit(); } private static final List<Wrapper> STD_WRAPPERS = Collections.singletonList ((Wrapper)new Wrapper() { public int doit() { return 0; } }); private static final List<Wrapper> STD_WRAPPERS2 = Collections.singletonList (new Wrapper() { public int doit() { return 0; } }); } The value passed Collections.singletonList is actually of the right type so a sensible conversion would be to put in the cast (see the difference between the 2 statics). The current quick fixes offered assume the type being assigned to is wrong (when infact it is right). A useful quick fix would be to cast the parameter to the right type to give the left type (this would help with any 1 arg method of the form X<T> method(T)
resolved wontfix
e4bcd14
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/MissingReturnTypeCorrectionProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-21T22:09:03Z"
"2005-01-17T05:33:20Z"
82,231
Bug 82231 [build path] Hard to find type restriction compiler problem preferences
I20050104-1600 There compiler preference page contains a Warning/Error node with many sub-entries . I tried to find where I could change the 'warning' for the access of internal types to 'error'. No luck until I realized that the Build node also contains Warning/Error settings.
verified fixed
0016285
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/BuildPathDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/BuildPathsPropertyPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaBuildConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ProblemSeveritiesPreferencePage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertyAndPreferencePage.java", "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/AccessRulesDialog.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/buildpaths/LibrariesWorkbookPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/JavaCapabilityConfigurationPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewJavaProjectWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-21T18:11:49Z"
"2005-01-05T13:00:00Z"
96,219
Bug 96219 [implementation] OperationCanceledException gets logged
N20050521-0010 OperationCanceledException gets logged if reconcile is canceled during Java editor reconcile or if AST creation is canceled during AST Provider's AST creation.
verified fixed
9c6bc17
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-21T11:21:57Z"
"2005-05-21T10:06:40Z"
96,048
Bug 96048 Using the "Remove" button to remove source code file in the Java Build Path/Libraries does not remove path
Eclipse 3.1M7 Java 1.5.0_02 In the Java Build Path/Libraries tab, if a source code file has been attached to a library, then using the "Remove" button will not remove the path. Instead one needs to use "Edit" to clear the field. Steps to reproduce: 1. Attach src.jar to the rt.jar 2. Select "Source code attachment:" line 3. Click "Remove" (UI shows that there is no attachment) 4. Click "OK" to accept 5. Reopen Java Build Path/Libraries 6. Discover that src.jar is still attached to rt.jar
verified fixed
506ce30
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T15:25:04Z"
"2005-05-20T00:46:40Z"
81,877
Bug 81877 Package explorer forgets active working set [package explorer]
3.1 M4 1. open pkg explorer. 2. select a working set, pkg explorer updates and filters out projects. 3. close pkg explorer. 4. open package explorer again and the working set is no longer applied. This used to work.
verified fixed
0a1d7aa
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T13:13:51Z"
"2004-12-23T19:26:40Z"
94,399
Bug 94399 [preferences] Multiple requests for rebuild
Build: I20050509-2010 1) Open a new workspace 2) Create a Java project 3) Modify at least one preference on every "Compiler" preference page. 4) Click ok -> You are prompted to do a full rebuild for each page that has changed. If you changed three pages, you get three prompt dialogs. The user should only be prompted once. Even worse, all three or four builds are queued up and run one after the other. If you don't cancel the builds, the workspace is rebuilt several times.
verified fixed
3e70c4a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/CoreUtility.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T13:10:43Z"
"2005-05-10T15:46:40Z"
95,843
Bug 95843 [open type] Open Type dialog re-selects selected item.
Version: 3.1.0 Build id: I20050509-2010 When opening a type in the open type dialog on M7, if you type in text that does not change the current selection (i.e. continue typing already matched text) the dialog re-selects the item and causes a lot of flashing.
verified fixed
b2bd57c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaUIMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionComponent.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T11:09:07Z"
"2005-05-18T21:00:00Z"
89,516
Bug 89516 Override indicator: heuristic improvements
M6 test pass public class Test extends ArrayList<String> { public boolean add(int i) { return false; } } Method witk base types shouldn't be considered overriding methods with type parameters.
verified fixed
6b135c7
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T09:13:20Z"
"2005-03-30T13:40:00Z"
94,902
Bug 94902 Sort members should warn about possible semantic changes
I20050509-2010 Sort members changes the order of the literals in enumerations, which changes the values of the literals and can impact compatibility between network clients and storage formats. Also under some circumstances the initialization order of fields can affect the result.
verified fixed
5f23368
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T09:03:36Z"
"2005-05-12T06:40:00Z"
80,359
Bug 80359 Selection inside comment using surround refactoring [refactoring]
200412011139: When selecting an entire line ending with a //$NON-NLS-n$ comment using the line number ruler, the error message "Selection ends inside a comment" appears. The refactoring should be able to deal with such selections, since it ends on a single-line comment, which is obviously contained in the selection.
verified fixed
418ea5a
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-20T08:32:12Z"
"2004-12-07T11:46:40Z"
80,996
Bug 80996 [Quick Fix] Incorrect return type of created method
Eclipse Version: 3.1.0 Build id: 200412081200 Place the following code in Eclipse - The class name is QuickFixEquals. package eclipse.bug; import java.util.List; public class QuickFixEquals { public boolean hasChildren() { if(getContentSpec().equals("Test")) return true; return false; } } Note that the code is importing java.util.List This would give a compilation error with a quick fix option. On applying QuickFix the following code is generated: private List getContentSpec() { // TODO Auto-generated method stub return null; } I would expect the return type to be Object - but it turned out to be List! [If you remove the import statement, it correctly sets the return type of getContentSpec to Object.] If the original class was import java.util.ArrayList; import java.util.List; public class QuickFixEquals { public boolean hasChildren() { if(getContentSpec().equals("Test")) return true; return false; } public List<String> getList() { return new ArrayList<String>(); } } The QuickFix creates the following method - private AbstractList<E> getContentSpec() { // TODO Auto-generated method stub return null; }
verified fixed
8625ea4
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T15:56:50Z"
"2004-12-14T21:33:20Z"
94,561
Bug 94561 Move member methods and CUs not on build path
RC0 - create a CU not on build path - create a method foo() - select the method in the outliner - activate Refactor->Move observe: you get a dialog telling you that not possible target exists. You should get a dialog first telling you that the CU is not on the build path
verified fixed
a052e8a
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T15:34:21Z"
"2005-05-10T21:20:00Z"
94,560
Bug 94560 Introduce factory active for classses not on build path
- create a class not on the build path - select a constructor in the outliner - activate Introduce Factory Observe: the refactoring tries to start which generates exceptions in the log. The standard dialog box should be shown instead informing the user that the CU isn' on the build path. Tobias, can you please look into this. Will be an easy fix.
verified fixed
3cf6291
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceFactoryAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T15:28:25Z"
"2005-05-10T21:20:00Z"
94,556
Bug 94556 Move instance method active for classes not on build path
RC0 - create a test case that allows moving a method to a new file (best is to create only one class) - move the CU to a folder not on the build path - select the method in the outliner and activate move method observe: the refctoring comes up. The refactoring should open a message box and should inform the user that the CU isn't on the build path instead.
verified fixed
fec45fb
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T15:25:00Z"
"2005-05-10T21:20:00Z"
95,942
Bug 95942 [5.0] quick assist: assign to new local infers illegal type
null
verified fixed
c3c6cb0
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportsStructure.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T14:23:29Z"
"2005-05-19T13:40:00Z"
95,153
Bug 95153 [refactoring] Move member type to new file misses required container field
Against I20050513-0010 Code: public class Bar { private final class Inner { public void add() { // Bar.this.hashCode(); addTo(Bar.this); } void addTo(Bar map) { } } } If you move Inner to a new file, the UI incorrectly does not require a field of type Bar to be added, and the error below is thrown if one is not provided. If the commented line is uncommented, the field is required, and all is good. java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:327) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:282) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:547) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:613) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:406) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:409) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554) at org.eclipse.jface.window.Window.runEventLoop(Window.java:803) at org.eclipse.jface.window.Window.open(Window.java:781) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startMoveInnerRefactoring(RefactoringExecutionStarter.java:273) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.run(ConvertNestedToTopAction.java:154) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:226) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) 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:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554) at org.eclipse.jdt.internal.ui.actions.QuickMenuAction.run(QuickMenuAction.java:79) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:182) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:108) at org.eclipse.core.commands.Command.execute(Command.java:311) at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:452) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:722) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:766) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:543) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:486) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:110) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:781) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Control.traverse(Control.java:2779) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2620) at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:827) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2638) at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:3341) at org.eclipse.swt.widgets.Display.filterMessage(Display.java:795) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2550) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160) 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:330) at org.eclipse.core.launcher.Main.basicRun(Main.java:274) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:193) at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:1239) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring$TypeReferenceQualifier.visit(MoveInnerToTopRefactoring.java:261) at org.eclipse.jdt.core.dom.ThisExpression.accept0(ThisExpression.java:136) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:244) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:143) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497) at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:483) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.createCompilationUnitRewrite(MoveInnerToTopRefactoring.java:883) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.createChangeManager(MoveInnerToTopRefactoring.java:817) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkFinalConditions(MoveInnerToTopRefactoring.java:729) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:189) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1716) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
verified fixed
f4bbcf3
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveInnerToTopWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/RefactoringMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T14:15:12Z"
"2005-05-13T16:00:00Z"
80,364
Bug 80364 [Quick Assist] "Assign parameter to field" does not work for existing field
In this small example, there does not occur the quick-fix to "Assign parameter to new field": public class Foo { private final Bar bar; public Foo(Bar bar) { } } Even worse: when I remove the final from the variable declaration, invoking the quick-fix creates a new variable bar2 instead of reusing the existing one.
verified fixed
d18446b
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T13:57:54Z"
"2004-12-07T14:33:20Z"
95,148
Bug 95148 [refactoring] Move member type to new file fails on member of enum
Against I20050513-0010. Code: public enum CopyOfHelperType { SETUP, TEARDOWN; static class AnnotationInvoker { private CopyOfHelperType type; public AnnotationInvoker(CopyOfHelperType type) { this.type = type; } void invoke(Object theInstance) throws IllegalAccessException, Throwable { } } public void invokeTheAnnotation(final Object theInstance) throws Throwable, IllegalAccessException { new AnnotationInvoker(this).invoke(theInstance); } } Move AnnotationInvoker to a new file. Assertion failed error: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:327) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2137) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.createChange(RefactoringWizard.java:573) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSuccessorPage(RefactoringWizard.java:416) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.getStartingPage(RefactoringWizard.java:399) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.createContents(RefactoringWizardDialog2.java:526) at org.eclipse.jface.window.Window.create(Window.java:418) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996) at org.eclipse.jface.window.Window.open(Window.java:770) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startMoveInnerRefactoring(RefactoringExecutionStarter.java:273) at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.run(ConvertNestedToTopAction.java:154) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:226) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) 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:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554) at org.eclipse.jdt.internal.ui.actions.QuickMenuAction.run(QuickMenuAction.java:79) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:182) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:108) at org.eclipse.core.commands.Command.execute(Command.java:311) at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:452) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:722) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:766) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:543) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:486) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:110) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:781) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Control.traverse(Control.java:2779) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2620) at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:827) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2638) at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:3341) at org.eclipse.swt.widgets.Display.filterMessage(Display.java:795) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2550) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160) 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:330) at org.eclipse.core.launcher.Main.basicRun(Main.java:274) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: null argument; at org.eclipse.jdt.internal.corext.Assert.isNotNull(Assert.java:108) at org.eclipse.jdt.internal.corext.Assert.isNotNull(Assert.java:86) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.findTypeDeclaration(MoveInnerToTopRefactoring.java:389) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkConstructorParameterNames(MoveInnerToTopRefactoring.java:681) at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring.checkFinalConditions(MoveInnerToTopRefactoring.java:727) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1716) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
verified fixed
23780e0
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T13:47:08Z"
"2005-05-13T16:00:00Z"
95,937
Bug 95937 Leverage new initializeAferLoad method from JDT/Core
null
verified fixed
72774aa
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/TypeInfo.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/TypeInfoHistory.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/InitializeAfterLoadJob.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaUIMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionComponent.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/EditWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/SelectWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetFilterActionGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T13:35:02Z"
"2005-05-19T13:40:00Z"
79,507
Bug 79507 [quick assist] "Inverse if statement" quick assist doesn't work
"Inverse if statement" quick assist replaces if (args.length > 5) System.out.println("OK"); else if (args.length < 3) System.out.println("KO"); with if (args.length <= 5) if (args.length < 3) System.out.println("KO"); else System.out.println("OK");
verified fixed
4170d04
["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
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T11:13:14Z"
"2004-11-25T16:26:40Z"
84,670
Bug 84670 ChangeTypeRefactoring fails when parameterized type is assigned to raw type
The helper method implemented in ChangeTypeRefactoring checking if a type A is assignment compatible to type B doesn't handle raw types correctlt. Had to disable test method testRawSubType
verified fixed
cfbe4c4
["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricField_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricField_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricReturnType_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeTypeRefactoring/positive/A_testParametricReturnType_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeTypeRefactoringTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T11:10:30Z"
"2005-02-08T10:53:20Z"
95,145
Bug 95145 [refactoring] Move member type to new file creates compile error
Against I20050513-0010. public class Exposer<T> { class Inner { T foo; } T foo() { Inner inner = new Inner(); return inner.foo; } } Move Inner to a new file. The resulting code does not compile (the required type parameter is not added to the Inner reference in foo())
verified fixed
efe7964
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T11:04:23Z"
"2005-05-13T16:00:00Z"
88,396
Bug 88396 [5.0] [refactoring] [move] Move member type refactoring does not update static import
Given the following source file: package pack; import static pack.Test.Color.*; public class Test { enum Color {WHITE, BLACK} public static void main(String[] args) { Color c = BLACK; switch(c) { case BLACK: System.out.println("Black"); break; case WHITE: System.out.println("White"); break; } } } Put the cursor on the definition of "Color". Select Refactor -> Move Member Type to New File. Hit ok. The static import in Test.java is now squiggled. It still reads: import static pack.Test.Color.*; It should read: import static pack.Color.*;
verified fixed
fcc30e5
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T09:14:25Z"
"2005-03-17T22:53:20Z"
95,785
Bug 95785 [5.0] Content assist for Collection#toArray(T[]) does not show additional info
N20050518-0010 (also with HEAD of JDT/UI and JDT/Core) - have 'Fill argument names on completion' and 'Guess filled method arguments' enabled - in the method below (in a 5.0 project), execute contant assist after toArray and choose "toArray(Object[] a)": public void test(java.util.List aList){ aList.toArray } => There's not javadoc for this method => the line now reads: aList.toArray(toarray - convert collection to array) - changing the parameter type to List<Object> splits the proposal in two and emits a beep when the proposals are inserted: - toArray(T[]) T[] - Collection - toArray(T[]) T[] - List => Expected: only the one from List is proposed; no beep.
verified fixed
5dffa4a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodProposalInfo.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T07:56:48Z"
"2005-05-18T15:26:40Z"
95,862
Bug 95862 NPE in CompletionProposalCollector
N20050517-0010 Found in .log, sorry no steps. Nothing strange seen in the UI !ENTRY org.eclipse.ui 4 4 2005-05-18 22:18:15.713 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-05-18 22:18:15.713 !MESSAGE Failed to execute runnable (java.lang.NullPointerException) !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:2940) at org.eclipse.swt.SWT.error(SWT.java:2863) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2898) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2557) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160) 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:330) at org.eclipse.core.launcher.Main.basicRun(Main.java:274) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.NullPointerException at org.eclipse.jdt.ui.text.java.CompletionProposalCollector.<init>(CompletionProposalCollector.java:129) at org.eclipse.jdt.internal.ui.text.java.ExperimentalResultCollector.<init>(ExperimentalResultCollector.java:33) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcessor.internalComputeCompletionProposals(JavaCompletionProcessor.java:323) at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcessor.computeCompletionProposals(JavaCompletionProcessor.java:313) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1499) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:256) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:253) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:216) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:211) at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:327) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) ... 18 more
verified fixed
6fd7bb6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T07:36:29Z"
"2005-05-18T21:00:00Z"
95,311
Bug 95311 [javadoc wizard] Allow setting of -source 1.5 through UI
null
verified fixed
be0c09d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocExportMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocSpecificsWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWriter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-19T07:29:42Z"
"2005-05-15T15:13:20Z"
95,584
Bug 95584 call hierachy takes long to prune frequent method names
null
resolved fixed
3de4989
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/callhierarchy/CallerMethodWrapper.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringScopeFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T16:11:29Z"
"2005-05-17T14:26:40Z"
95,135
Bug 95135 [refactoring] NPE from convert anonymous to nested inside enum
Against I20050513-0010 Code: public enum CopyOfHelperType { SETUP, TEARDOWN; public void invokeTheAnnotation() { new Object() { void invoke() { } }.invoke(); } } Try to convert the anonymous object to nested. On every keystroke when entering the new name, an NPE (below) is logged in the error log, and the OK button is never enabled
verified fixed
11dc2c5
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T15:28:00Z"
"2005-05-13T16:00:00Z"
95,562
Bug 95562 [nls tooling] External Strings doesn't use validateEdit
I tried to externalize some strings in the CVS UI plugin. It failed because my message class (CVSUIMessages) was read only. The tool should use validateEdit to make the file writtable.
verified fixed
76fc862
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSSubstitution.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T14:54:42Z"
"2005-05-17T14:26:40Z"
95,672
Bug 95672 Focus changes slow when java browsing perspective open
To reproduce: 1. Run Eclipse in your favorite profiler 2. Open the Java browsing perspective 3. Profile the time taken to switch between java editors On my system, approx. 50% of the time is spent in JavaBrowsingPart.partBroughtToTop. Notice that this method continues to dominate activation changes, even when another perspective is active and no java browsing parts are visible.
verified fixed
7ecef2c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T14:52:23Z"
"2005-05-17T22:46:40Z"
86,624
Bug 86624 Need UI to control @Override annotation
M5a public class X extends ArrayList<String> { } - add a add(String) method using code assit. You get @Override public boolean add(String o) { return super.add(o); } which is great. However we need UI to control whether @Override should be generated or not.
verified fixed
fdd635e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NameConventionConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T12:56:39Z"
"2005-02-25T14:00:00Z"
94,680
Bug 94680 Strange behaviour when activating/deactivating project specific settings when workspace is locked
I20050509-2010 - lock the workspace using the job example plug-in - open the properties on a Java project - go to code template settings - check enable project specific settings - press OK observe: the OK button gets disabled, but the dialog stay. The user can even click the cancel button in this situations. Pressing cancel still applies the settings. The stack tract in this situation (after pressing the OK button) is "main" prio=7 tid=0x000359e0 nid=0x590 in Object.wait() [0x0007e000..0x0007fc40] at java.lang.Object.wait(Native Method) - waiting on <0x03f15c00> (a org.eclipse.core.internal.jobs.ThreadJob) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:170) - locked <0x03f15c00> (a org.eclipse.core.internal.jobs.ThreadJob) at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:88) at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:190) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:96) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1671) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1711) at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:310) at org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:351) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:530) at org.eclipse.jdt.internal.ui.preferences.CodeTemplateBlock.performOk(CodeTemplateBlock.java:539) at org.eclipse.jdt.internal.ui.preferences.CodeTemplatePreferencePage.performOk(CodeTemplatePreferencePage.java:68) at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:850) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148) at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:830) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:295) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:218) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2901) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2534) at org.eclipse.jface.window.Window.runEventLoop(Window.java:803) at org.eclipse.jface.window.Window.open(Window.java:781) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) 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:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2901) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2534) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:345) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:158) 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:328) at org.eclipse.core.launcher.Main.basicRun(Main.java:272) at org.eclipse.core.launcher.Main.run(Main.java:974) at org.eclipse.core.launcher.Main.main(Main.java:950) Martin, don't know if this is use or core resources.
verified fixed
a9faab1
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T12:49:30Z"
"2005-05-11T14:00:00Z"
93,249
Bug 93249 Code assist doesn't propose full method stub
- take revision 1.8 of BuildPathAction. - in run method add the following IRunnableWithProgress runnable= new IRunnableWithProgress() { }; - inside the runnable type run<code assist> and select run observe: only the following method signature gets inserted. No method body. Additionally IProgressMonitor is fully qualified. public void run(org.eclipse.core.runtime.IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
verified fixed
45b5461
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T10:57:04Z"
"2005-04-29T10:20:00Z"
86,515
Bug 86515 [Drag and Drop] Drag and drop (move) for project
Drag and drop (move) for project onto Explorer deletes the project from the file system. But this is not reflected in the workspace. Pressing refresh - provides dialog "location deleted" and remove project from the workspace.
verified fixed
1b4f4ac
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T10:49:32Z"
"2005-02-24T18:33:20Z"
88,854
Bug 88854 [refactoring] Error message in Change Method Signature dialog doesnt correctly display method name if name contains character &
Error message in the Change Method Signature dialog does not correctly display method name if the name contains character &. You may complete the following steps in order to reproduce this scenario: 1. Create a new Java project and add a new Java class into the newly created project. 2. Implement a method in the class created in step 1. 3. In the Outline view, select the method implemented in step 2, right click and choose Refactor -> Change Method Signature from the context menu. The Change Method Signature dialog. 4. Type &abc in the Method name: filed. Expected Behavior: An error message should be displayed stating that &abc is not a valid Java identifier. Expected Behavior: An error message is displayed stating that abc (instead of &abc) is not a valid Java identifier. See the attached screenshot of the Change Method Signature dialog for more information.
verified fixed
245dc4b
["org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T10:31:42Z"
"2005-03-23T15:00:00Z"
95,399
Bug 95399 [quick fix] QuickFix - serialVersionUID does not generates
Pressing `Add default serial version ID` in quickFix adds /** * */ private static final long serialVersionUID = 1L; The same is for `Add generated serial version ID`.
verified fixed
b78a529
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionLaunchConfigurationDelegate.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T09:43:02Z"
"2005-05-16T16:13:20Z"
95,401
Bug 95401 [refactoring] [inline] Inlining method of generic class gives illegal result.
--------------------- BEFORE -------------------------- class Bug { class Model<Row extends java.util.List> { Row getObjectAtRow(){ return new java.util.HashSet<Row>().iterator().next(); } } class UI<Clazz extends java.util.ArrayList>{ public final Clazz[] getBeginAndEndSelections() { return (Clazz[])java.lang.reflect.Array.newInstance (tableModel_.getObjectAtRow().getClass(),1); } } Model<java.util.ArrayList> tableModel_; void foo(){ new UI<java.util.ArrayList>().getBeginAndEndSelections(); } } ------------------------- AFTER ------------------------------------- class Bug { class Model<Row extends java.util.List> { Row getObjectAtRow(){ return new java.util.HashSet<Row>().iterator().next(); } } class UI<Clazz extends java.util.ArrayList>{ } Model<java.util.ArrayList> tableModel_; void foo(){ Clazz[] getBeginAndEndSelections = (ArrayList[]) java.lang.reflect.Array.newInstance(new UI<java.util.ArrayList> ().tableModel_.getObjectAtRow().getClass(),1); // COMPILE ERROR! } }
verified fixed
783aa28
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedType3.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedType3.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T09:41:17Z"
"2005-05-16T16:13:20Z"
94,426
Bug 94426 [refactoring] inline method shows "no changes" for non-fatal error
null
verified fixed
56c7708
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_in/Test_76241.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_in/Test_94426.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_out/Test_76241.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/bugs_out/Test_94426.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTestSetup.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineMethodRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T08:05:00Z"
"2005-05-10T15:46:40Z"
93,654
Bug 93654 Provide select all / deselect all buttons for JavaWorkingSetPage
null
closed fixed
7d4b3c6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T08:03:22Z"
"2005-05-04T15:20:00Z"
94,689
Bug 94689 Infer type arguments should be more graceful with exceptions
The current implementation stop precessing as soon as an exception occurs. This leads to the fact that as soon there is one single file which we can't process properly the whole refactoring can't be applied. Can't we catch the standard exceptions (using ISafeRunnble) add them to a refactoring status and present them to the user and skip only those files which caused an exception. Even if we then don't change all the code the refactoring could still be helpful.
verified fixed
e83d5da
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringCoreMessages.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T07:54:28Z"
"2005-05-11T14:00:00Z"
95,671
Bug 95671 [javadoc] Missing and duplicate mnemonics on JavadocConfigurationBlock, etc
N20050517-0010 There are no mneumonics to switch between Javadoc URL specification and Javadoc in archive specification. 'B' is used for both Browse buttons in Javadoc in archive grouping. On my platform this means I cannot use the keyboard to get to the second button (easily). The warning message for the Validate... contains an extra space before the period. "Location might be invalid . Files..."
verified fixed
e10f82e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-18T07:51:30Z"
"2005-05-17T22:46:40Z"
95,528
Bug 95528 [content assist] additional '(' after proposal insertion
N20050517-0010 - invoke content assist after: System.out.p - type '(' -> auto insertion with an additional '(': System.out.print(false() This is using 'completion inserts' and 'argument guessing'.
verified fixed
99ba03d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T15:39:38Z"
"2005-05-17T08:53:20Z"
94,564
Bug 94564 Infer type argument: Change is named Java model modifications
RC 0 The name of the change should be Infer Type arguments. As a result the undo currently looks funny.
verified fixed
45dc160
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T15:28:30Z"
"2005-05-10T21:20:00Z"
95,560
Bug 95560 [content assist] generic types context info displays at wrong position
null
verified fixed
c845c25
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalResultCollector.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GenericJavaTypeProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T15:15:40Z"
"2005-05-17T14:26:40Z"
94,559
Bug 94559 Generalize type active for classses not on build path
RC0 - create a class not on the build path - select a field in the outliner - activate Generalize type Observe: the refactoring comes up. A dialog box should be shown instead.
verified fixed
37d99b3
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T14:38:25Z"
"2005-05-10T21:20:00Z"
94,048
Bug 94048 [code manipulation] "Generate Constructor using Fields" doesn't work
In a Java project I cannot use the context menu "Generate Constructor using Fields". I get this error message: "There are no constructors from the superclass which may be used." Using Eclipse 3.1M4 this menu item was working. In 3.1M5a and 3.1M6 it doesn't.
verified fixed
51bfa0c
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T14:31:27Z"
"2005-05-08T08:13:20Z"
92,841
Bug 92841 Inline Method duplicates generic type arguments list [refactoring][5.0]
HEAD void use () { Vector<? extends Number> vn = me(); } private Vector<? extends Number> me() { Vector<Integer> vn= new Vector<Integer>(); vn.add(13); return vn; } Inlining me() gives this (generic type arguments lists duplicated): void use () { Vector<Integer><Integer> vn1= new Vector<Integer><Integer>(); vn1.add(13); Vector<? extends Number> vn = vn1; }
verified fixed
976d756
["org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedType1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_in/TestParameterizedType2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedType1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/generic_out/TestParameterizedType2.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T14:26:12Z"
"2005-04-26T21:13:20Z"
84,353
Bug 84353 [typing] Hippie completion fills undo stack
I20050202-0800 Toggling through the lists adds each item to the undo stack and hence Undo (Ctrl+Z) undoes each by each.
verified fixed
1073b83
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompoundEditExitStrategy.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ICompoundEditListener.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ListenerList.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T12:53:32Z"
"2005-02-03T17:00:00Z"
69,101
Bug 69101 Quick Fix new class does not update imports [quick fix]
1. Ctrl-1 New Class to resolve non-existing type 2. Change package target for new class 3. New class created but need to add import manually because package doesn't match.
verified fixed
3a6220c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizard.java", "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/NewElementWizard.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/internal/ui/wizards/NewPackageCreationWizard.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderCreationWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T12:44:13Z"
"2004-07-01T00:00:00Z"
91,409
Bug 91409 Project Open/Close items are disabled when Package Explorer active
Project Open/Close option in the Project menu is disabled in Plugin prespective.
verified fixed
b70e103
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/OpenCloseWorkingSetAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetActionGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T11:10:06Z"
"2005-04-14T14:46:40Z"
95,179
Bug 95179 [type filters] Type Filters not respected
Using 0506, I re-enabled my java.awt.* Type Filter, and invoked Organize Imports. I prompted to resolve AWT's and SWT's Rectangle. AWT should have been filtered.
verified fixed
abe31ee
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/TypeFilter.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T10:51:34Z"
"2005-05-13T18:46:40Z"
95,326
Bug 95326 [code manipulation] Class wizard produces junk
Env: 3.1M7 Sometimes the class wizard produces junk when generating a new class skeleton (seems that constructors are placed inside the import statements). With the following example, the bug can always reproduced: 0) no enclosing type 1) Create a new Class: JxX509TrustManager 2) Modifiers: public only 3) SuperClass: java.lang.Object 4) Interfaces: javax.net.ssl.X509TrustManager 5) Stubs: constructor, abstract methods 6) Generate comments: no 7) Finish produces: <pre> package bla.bla; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import j public JxX509TrustManager() { super(); // @todo Auto-generated constructor stub }avax.net.ssl.X509TrustManager; public class JxX509TrustManager implements X509TrustManager { public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { // @todo Auto-generated method stub } public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { // @todo Auto-generated method stub } public X509Certificate[] getAcceptedIssuers() { // @todo Auto-generated method stub return null; } } </pre>
verified fixed
7acb7e5
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T10:25:37Z"
"2005-05-15T23:33:20Z"
75,672
Bug 75672 Incorrect quick fix proposals [quick fix]
If I invoke CTRL+1 on a method's name to select "Rename in File", I get quick fixes to create the method in each of the superclasses. The method is private, so it doesn't make sense to create the method in a superclass. Also, I would rank "Rename in File" as higher priority even when the other option applies. Currently it is the last item on the list.
verified fixed
afe4271
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T09:50:44Z"
"2004-10-05T21:00:00Z"
76,416
Bug 76416 Method signature using QuickFix incorrect in static methods
Very Minor bug, When using quickfix to create method in an static anonymous inner class.. then the resulting method created is not static... but it needs to be. Example: 1. Create Class: public class SwingApplication { public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable(){ public void run() { createGui(); } } ); } } 2. Eclipse will give error that createGui() does not exist. 3. Use quickfix, and select 'Create method 'createGui()' in SwingApplication'. 4. Notice that the created method should be static...
verified fixed
94b971c
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedMethodsQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T09:16:24Z"
"2004-10-16T04:13:20Z"
62,086
Bug 62086 [User library] Jars in User Libraries Can't be ordered
Inorder to get a patch to Easymock to work the patch jar must be first in the classpath. There does not appear to be a way to do this with the User Libraries. I'm using the I20040506 build.
verified fixed
8d0b2c7
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PreferencesMessages.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPUserLibraryElement.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/JavadocLocationDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentDialog.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2005-05-17T07:37:52Z"
"2004-05-13T12:06:40Z"