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
72,315
Bug 72315 Add new code formatter option
null
resolved fixed
dfa333e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/NewLinesTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-19T14:48:51Z"
"2004-08-19T21:13:20Z"
73,984
Bug 73984 Editing user library jar path after path change does not work [build path]
1) Create a directory containing jar file 2) Add this jar file to a new user library 3) Rename directory from 1) 4) Update the path to jar file in user libraries (select old jar reference, select new location in browser, open -> path is not updated, but old path is still used
resolved fixed
d4c8605
["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
"2004-10-19T12:40:25Z"
"2004-09-15T14:53:20Z"
76,439
Bug 76439 Classfile editor: Allow source attachment option for classes in class folders
20041017 When you open a class file for a class folder that has no source attchment you see a message 'No source available...' but no button that brings you to the source attachment page like it is done for JARs. ClassfileEditor line 225 is too restrictive, the test .isArchive() seems to be too much
resolved fixed
b115662
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-18T09:56:32Z"
"2004-10-17T10:46:40Z"
76,363
Bug 76363 NPE in AdvancedQuickAssistProcessor.getFullyCoveredNodes
null
resolved fixed
5cce2be
["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
"2004-10-18T08:57:23Z"
"2004-10-15T14:20:00Z"
35,381
Bug 35381 Newly added items are not inserted at correct position in package explorer
I20030319 (RC3) On MacOS X: - create new Java project "test" - select project - create folder "A" inside this project Observe: "A" shows up as last child of "test" - collapse tree node "test" - exapnd tree node "test" Observe: now "A" shows up at correct position
verified fixed
1ac0e02
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-17T08:30:22Z"
"2003-03-20T17:06:40Z"
69,817
Bug 69817 Externalize Strings Wizard: should not touch escaped characters [nls] [refactoring]
Eclipse 3.0 Externalize a string containing escaped characters "\r\n\t\f". The cell editor on the table shows only "square" characters insted of the escape sequences. Said characters should not be translated when editing strings. They are (correctly) not changed when written to the .properties file without change.
resolved fixed
3952584
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/ExternalizeWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-14T17:08:50Z"
"2004-07-12T11:00:00Z"
76,242
Bug 76242 NPE in Unimplemented Methods Completion Proposal
!SESSION Oct 14, 2004 12:22:52.857 eclipse.buildId=I200409300800 java.version=1.4.2_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Command-line arguments: -J-Xmx512m !ENTRY org.eclipse.ui 4 4 Oct 14, 2004 12:22:52.857 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 Oct 14, 2004 12:22:52.857 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.correction.UnimplementedMethodsCompletionProposal.evalUnimplementedMethods(UnimplementedMethodsCompletionP roposal.java:198) at org.eclipse.jdt.internal.ui.text.correction.UnimplementedMethodsCompletionProposal.getRewrite(UnimplementedMethodsCompletionProposal.java:7 3) at org.eclipse.jdt.internal.ui.text.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:61) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.initializeTextChange(CUCorrectionProposal.java:135) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.performChange(CUCorrectionProposal.java:258) at org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.apply(CUCorrectionProposal.java:289) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:420) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.selectProposalWithMask(CompletionProposalPopup.java:362) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:720) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKey(ContentAssistant.java:622) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:404) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55) 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.Widget.sendEvent(Widget.java:820) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747) 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.Widget.sendEvent(Widget.java:820) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1736) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1732) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3073) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2975) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3351) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1488) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2441) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
resolved fixed
d207d96
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-14T16:44:28Z"
"2004-10-14T10:33:20Z"
66,170
Bug 66170 Different implementation of method override - ctrl+space vs Override/Implement method dialog [code manipulation]
I'm in a class that extends Wizard. Seems strange (wrong) to me that when I type "createp" and ctrl+space in the editor I get: public void createPageControls(Composite pageContainer) { // TODO Auto-generated method stub } But when I use the Source > Override/Implement Methods... to get the dialog and select createControl I get: public void createPageControls(Composite pageContainer) { // TODO Auto-generated method stub super.createPageControls(pageContainer); } Why no super in the ctrl+space generation of the overridden method? If by design it seems confusing by design (the inconsistency). This 3.0 behavior is consistent with what happens in 2.1 - but not sure if that means it is right. Feels wrong.
resolved fixed
416f1f9
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeCompletionTest.java", "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
"2004-10-14T16:35:26Z"
"2004-06-08T15:53:20Z"
49,353
Bug 49353 Javadoc preference does not indicate bad exe until field is edited. [javadoc]
I upgarded from Sun Java 1.4.2_02 to 1.4.2_03. When I open the Javadoc preference page, the entry fields shows "C:\Java\sun\1.4.2_02\bin\javadoc.exe", which no longer exists but the error icon and message is NOT displayed at the top of the pane. If I edit the field but leave the entry still bogus, THEN the error icon and message appear. I think the error should appear as soon as the pane is displayed. Version 3.0.m6.
resolved fixed
f8486b5
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-12T14:40:58Z"
"2003-12-26T23:06:40Z"
75,954
Bug 75954 Changing anything on Launcher blows away JUnit Test Method
null
resolved fixed
724dbe7
["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-12T13:50:19Z"
"2004-10-08T18:26:40Z"
75,824
Bug 75824 [UI] Menu in the package explorer view doesn't work anymore
With Eclipse in Linux/GTK Menu in the package explorer doesn't work anymore. We cannot "select a working set", "filter", "sort" etc... in this view
resolved fixed
4a87457
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetMenuContributionItem.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-11T10:40:44Z"
"2004-10-07T17:26:40Z"
73,671
Bug 73671 [1.5] Signature.getTypeArguments should also tolerate normal types
20040910 Currently, when using Signature.getTypeArguments on a normal (non-parametrized) type you get a IAE. It would be nicer (and IMO also more correct) to get an empty array
verified fixed
0f88a25
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-08T15:11:58Z"
"2004-09-10T15:26:40Z"
75,839
Bug 75839 [implementation] Export templates doesn't release the file
If you do an export templates from Window->Preferences->Java->Code Style->Code Templates, the file exported into is not released. That means it can't be accessed by anyone else (for example, I tried to use wordpad to look at it and it wouldn't because it was locked). It is only released when you close out Eclipse entirely. Thanks.
resolved fixed
5ddeb83
["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
"2004-10-08T10:13:24Z"
"2004-10-07T20:13:20Z"
75,193
Bug 75193 Add a quick-fix for "'enum' should not be used as an identifier [...]"
Version 3.1.M2. Add a quick-fix for: 'enum' should not be used as an identifier, since it is a reserved keyword from source level 1.5 The quick-fix would do a rename on local variable called 'enum' to 'enumeration'.
resolved fixed
5278e81
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-08T09:44:58Z"
"2004-09-28T16:46:40Z"
69,586
Bug 69586 [misc] BadLocationException in AbstractLineTracker.getLineNumberOfOffset()
Eclipse 3.0 final Just saw the following exception in my log. I can't tell what I was doing at that time, though. --- snip --- org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTracker.java:155) at org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:781) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.hasQuickFixLightBulb(QuickAssistLightBulbUpdater.java:263) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.doSelectionChanged(QuickAssistLightBulbUpdater.java:216) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.access$0(QuickAssistLightBulbUpdater.java:205) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater$1.selectionChanged(QuickAssistLightBulbUpdater.java:129) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:164) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:136) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) --- snap ---
resolved fixed
c25c22b
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistLightBulbUpdater.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-08T08:54:48Z"
"2004-07-08T09:46:40Z"
75,296
Bug 75296 Quick fix "Add throws declaration" resets existing javadoc
If a method already has javadoc @throws declared for SOME of the exceptions thrown from the method causing the Quick fix to appear, and I apply the quick fix, then my javadoc @throws declarations for ALL concerning exceptions are reset :-(
resolved fixed
dcb5544
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-07T18:00:28Z"
"2004-09-29T15:00:00Z"
67,614
Bug 67614 After "create field", additional text is inserted at multiple locations
I wrote the following method call: assertEquals(1.0d, blah(), delta); The field "delta" is not yet declared. I press Ctrl-1 and select "create field". The resulting line is: private Object delta; By typing the following sequence of keys: [Tab] double [Tab] [Right] = 0.0001d I change that manually to: private double delta = 0.00001d; Surprisingly, my original method call is now changed to: assertEquals(1.0d, blah(), delta = 0.00001d); And that is of course wrong. (BTW, I believe that the Ctrl-1 aid should guess the expected field type, but that's a different issue.)
resolved fixed
8168b45
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-07T16:23:03Z"
"2004-06-17T11:00:00Z"
70,079
Bug 70079 [rulers] override indicators for anonymous classes
Must have function override indicators for Anonymous classes as well
resolved fixed
6a42200
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OverrideIndicatorManager.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-07T15:56:39Z"
"2004-07-15T05:40:00Z"
75,786
Bug 75786 [typing] correct indentation fails for indented braces
null
resolved fixed
81d02e4
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-07T14:46:06Z"
"2004-10-07T11:53:20Z"
67,644
Bug 67644 "Organize Imports" imports inner classes but the compiler think it unnecessary [code manipulation]
Here is an example. There are two packages, a and b. Class A is in package a, with an inner class named AA (showed in the code following). ----- A.java --------------------------------------- package a; public class A { public class AA { }; } And there is a class named B in package b that use class A and A.AA: ----- B.java ----------------------------- package b; public class B { public void useA() { A a = new A(); A.AA aa = a.new AA(); } } If I use the "Organize Imports" command, it will add two import statements: import a.A; import a.A.AA; But after that, the compiler shows a warning, saying that "the import a.A.AA is never used".
resolved fixed
2b33101
["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/dom/ScopeAnalyzer.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-07T13:04:46Z"
"2004-06-17T13:46:40Z"
75,155
Bug 75155 NLS wizard does not detect accessor and properties file in some cases
3.1 M2 1. open CopyResourceChange rev. 1.11 2. in line 41 remove the //$NON-NLS-1$ 3. save 4. open the NLS wizard ==> it does not detect the accessor nor the properties file It should be smarter (assume some //$NON-NLS-1$ got lost) and detect the correct values
resolved fixed
57a1a0e
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHint.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHintHelper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-07T10:13:13Z"
"2004-09-28T11:13:20Z"
75,711
Bug 75711 AstProvider should not create AST if requested by SelectionListenerWithASTManager
3.1 M2 If SelectionListenerWithASTManager waits for an AST and the editor closes we should not create an AST for that one but return null instead.
resolved fixed
42c5061
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClipboardOperationAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OverrideIndicatorManager.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingReconciler.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindOccurrencesEngine.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/OverrideIndicatorLabelDecorator.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-06T16:32:54Z"
"2004-10-06T13:40:00Z"
75,200
Bug 75200 [Decorators] Color and Font decorators dissapear in Package Explorer
3.0 M2 The CVS font/color decorations dissapear in the packages explorer, or do not apply to all the elements they should. I will investigate on our end, but this seems to be a package explorer problem since the navigator always shows these decorations correctly.
resolved fixed
1d6b34b
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ResourceToItemsMapper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-05T09:06:08Z"
"2004-09-28T19:33:20Z"
75,423
Bug 75423 [projection] NPE and IAE in ProjectionDocument
Build 20040930 Linux-GTK I've found today's build very unstable. The following exceptions appear many times in my .log file: !ENTRY org.eclipse.ui 4 0 Sep 30, 2004 13:26:26.402 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.text.projection.ProjectionDocument.normalize(ProjectionDocument.java:593) at org.eclipse.jface.text.projection.ProjectionDocument. masterDocumentAboutToBeChanged(ProjectionDocument.java:712) at org.eclipse.jface.text.projection.ProjectionDocumentManager. fireDocumentEvent(ProjectionDocumentManager.java:121) at org.eclipse.jface.text.projection.ProjectionDocumentManager. documentAboutToBeChanged(ProjectionDocumentManager.java:138) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument. java:583) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:993) at org.eclipse.jdt.internal.ui.javaeditor.PartiallySynchronizedDocument. replace(PartiallySynchronizedDocument.java:92) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$BracketInserter. left(CompilationUnitEditor.java:722) at org.eclipse.jface.text.link.LinkedModeModel.exit(LinkedModeModel.java:348) at org.eclipse.jface.text.link.LinkedModeModel$DocumentListener. documentChanged(LinkedModeModel.java:201) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java: 682) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:645) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:630) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:707) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:998) at org.eclipse.jdt.internal.ui.javaeditor.PartiallySynchronizedDocument. replace(PartiallySynchronizedDocument.java:92) at org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:995) at org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:551) at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java: 238) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5604) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6444) at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2488) at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5485) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4983) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:973) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:997) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:982) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:2374) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1859) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:448) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1228) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3169) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method) at org.eclipse.swt.widgets.Display.eventProc(Display.java:902) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2361) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) !ENTRY org.eclipse.ui 4 4 Sep 30, 2004 13:26:30.366 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 Sep 30, 2004 13:26:30.367 !MESSAGE overlaps with existing fragment !STACK 0 java.lang.IllegalArgumentException: overlaps with existing fragment at org.eclipse.jface.text.projection.ProjectionDocument. internalAddMasterDocumentRange(ProjectionDocument.java:285) at org.eclipse.jface.text.projection.ProjectionDocument. addMasterDocumentRange(ProjectionDocument.java:493) at org.eclipse.jface.text.projection.ProjectionDocument. adaptProjectionToMasterChange(ProjectionDocument.java:677) at org.eclipse.jface.text.projection.ProjectionDocument. masterDocumentAboutToBeChanged(ProjectionDocument.java:711) at org.eclipse.jface.text.projection.ProjectionDocumentManager. fireDocumentEvent(ProjectionDocumentManager.java:121) at org.eclipse.jface.text.projection.ProjectionDocumentManager. documentAboutToBeChanged(ProjectionDocumentManager.java:138) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument. java:583) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:993) at org.eclipse.jdt.internal.ui.javaeditor.PartiallySynchronizedDocument. replace(PartiallySynchronizedDocument.java:92) at org.eclipse.jdt.internal.ui.text.template.contentassist.TemplateProposal.apply(TemplateProposal. java:144) at org.eclipse.jface.text.contentassist.CompletionProposalPopup. insertProposal(CompletionProposalPopup.java:415) at org.eclipse.jface.text.contentassist.CompletionProposalPopup. selectProposalWithMask(CompletionProposalPopup.java:362) at org.eclipse.jface.text.contentassist.CompletionProposalPopup. verifyKey(CompletionProposalPopup.java:720) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener. verifyKey(ContentAssistant.java:622) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:404) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:973) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:997) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:982) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:852) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:973) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:997) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:982) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:2374) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1859) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:448) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1228) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3169) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method) at org.eclipse.swt.widgets.Display.eventProc(Display.java:902) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2361) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
verified fixed
0695460
["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/BracketInserterTest.java", "org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JdtTextTestSuite.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-10-01T15:11:58Z"
"2004-09-30T21:33:20Z"
75,316
Bug 75316 [preferences] Provide a generic way to update dependencies
I200409280800 On the spelling preference page, check to spell-check comments Click Restore defaults The nested checkboxes under "spell-check comments" remain enabled.
resolved fixed
59eea85
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/SpellingConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-30T09:09:01Z"
"2004-09-29T17:46:40Z"
75,264
Bug 75264 [typing] BadLocationException with LinkedCorrectionProposal
I200409281200 public class MyClass { public MyClass(Comparable theThing) { } } - set caret into theThing - invoke QuickAssist and apply "Assign parameter to new Field" - press Tab => This stacktrace goes to the log 3 times: org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:904) at org.eclipse.jdt.internal.ui.javaeditor.PartiallySynchronizedDocument.get(PartiallySynchronizedDocument.java:74) at org.eclipse.jdt.internal.ui.text.correction.LinkedCorrectionProposal$LinkedModeProposal.validate(LinkedCorrectionProposal.java:429) at org.eclipse.jface.internal.text.link.contentassist.CompletionProposalPopup2.validateProposal(CompletionProposalPopup2.java:582) at org.eclipse.jface.internal.text.link.contentassist.CompletionProposalPopup2.setProposals(CompletionProposalPopup2.java:525) at org.eclipse.jface.internal.text.link.contentassist.CompletionProposalPopup2.showProposals(CompletionProposalPopup2.java:201) at org.eclipse.jface.internal.text.link.contentassist.ContentAssistant2.showPossibleCompletions(ContentAssistant2.java:1298) at org.eclipse.jface.text.link.LinkedModeUI.triggerContentAssist(LinkedModeUI.java:807) at org.eclipse.jface.text.link.LinkedModeUI.switchPosition(LinkedModeUI.java:843) at org.eclipse.jface.text.link.LinkedModeUI.next(LinkedModeUI.java:778) at org.eclipse.jface.text.link.LinkedModeUI$KeyListener.verifyKey(LinkedModeUI.java:447) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:404) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55) 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.Widget.sendEvent(Widget.java:820) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747) 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.Widget.sendEvent(Widget.java:820) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1736) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1732) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3073) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2975) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3351) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1488) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2441) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
resolved fixed
949bc1e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-29T13:28:19Z"
"2004-09-29T12:13:20Z"
74,004
Bug 74004 Undo for Encapsulate Field did not undo changes in subclass
20040914088 I used the encapsulate field refactoring and this caused changes in both the type and its subclass. The Undo operation correctly undid the changes in the type but the changes in the subclass remaind.
resolved fixed
ba5f4fa
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/AccessAnalyzer.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-29T10:52:15Z"
"2004-09-15T17:40:00Z"
74,580
Bug 74580 formatting for condition quick assists
3.1 M2 test pass The formatting of conditionals modified by the new quick assists is misleading. Consider the following: if (c1) { one(); } else if (c2) { two(); } else { three(); } translates into: if (!c1) if (c2) { two(); } else { three(); } else { one(); } which is correct, but it is barely visible from the formatting that the last else clause belongs to the first if statement. I would expect this (with or without the braces): if (!c1) if (c2) { two(); } else { three(); } else { one(); }
resolved fixed
33df946
["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
"2004-09-28T08:39:33Z"
"2004-09-22T16:20:00Z"
73,890
Bug 73890 [1.5] Convert to enhanced for loop quick assist should not be available if counter is used in loop
I20040907 Have the following: for (int i= 0, length= numbers.length; i < length; i++) { int number= numbers[i]; System.out.println("Number " + i + ": " + new Integer(numbers[i])); } The quick assist allows me to convert this into code which causes a compile error: for (int element : numbers) { System.out.println("Number " + i + ": " + new Integer(numbers[i])); } Note: if I first assign int number= numbers[i]; and use number instead of numbers[i] in the println then the quick assist is not offered (correct).
resolved fixed
eceb532
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertForLoopQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertForLoopProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-27T18:03:47Z"
"2004-09-14T16:40:00Z"
74,928
Bug 74928 NPE in AdvancedQuickAssistProcessor$3.isCovered
eclipse.buildId=I200409231635 java.fullversion=J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142-20040915 (JIT enabled) J9VM - 20040914_1123_lHdSMR JIT - r7_level20040912_1800 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH Command-line arguments: -update -keyring c:\eclipse\.keyring -application org.eclipse.ui.ide.workbench -showlocation Sorry no steps. Found in .log. Nothing special in UI !ENTRY org.eclipse.jdt.ui 4 10001 Sep 24, 2004 08:54:10.548 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor$3.isCovered(AdvancedQuickAssistProcessor.java:679) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor$3.postVisit(AdvancedQuickAssistProcessor.java:673) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2452) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getFullyCoveredNodes(AdvancedQuickAssistProcessor.java:670) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getInverseConditionProposals(AdvancedQuickAssistProcessor.java:344) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.hasAssists(AdvancedQuickAssistProcessor.java:51) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.hasAssists(JavaCorrectionProcessor.java:143) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.calculateLightBulb(QuickAssistLightBulbUpdater.java:229) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.doSelectionChanged(QuickAssistLightBulbUpdater.java:222) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.access$0(QuickAssistLightBulbUpdater.java:205) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater$1.selectionChanged(QuickAssistLightBulbUpdater.java:129) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:172) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:141) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
resolved fixed
edf7636
["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
"2004-09-24T18:08:13Z"
"2004-09-24T07:13:20Z"
74,540
Bug 74540 Invalid implementation of BatchSimilarSchedulingRule
null
resolved fixed
4f9fe12
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/DeferredMethodWrapper.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-24T17:22:49Z"
"2004-09-22T13:33:20Z"
57,464
Bug 57464 No 'Refactor > Rename' on constructors [refactoring]
20040405 1. In the following code example select 'A' of the constructor in the editor and open the context menu: No rename available Note that methods have a rename public class A { public A() { super(); } }
resolved fixed
cffa4ff
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameJavaElementAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-24T16:48:45Z"
"2004-04-05T15:46:40Z"
67,805
Bug 67805 Java Editor 'Show In > Package Explorer' beeps even when element selected [package explorer]
200406180010 Open a Java editor and choose 'Navigate > Show In > Package Explorer'. The Package Explorer is shown and the right element is selected. Nevertheless, there's a Display#beep() which should only occur when the element could not be shown. The problem is that PackageExplorerPart#revealAndVerify(..) sets the selection (converting the given editor input file into an IJavaElement) and then compares the new selection to the given file to determine success. This test obviously fails when the selection is not a file but a CU. That's why the beep is issued.
resolved fixed
b37b61f
["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
"2004-09-24T16:43:00Z"
"2004-06-18T14:46:40Z"
74,614
Bug 74614 Code formatter preference page: bogus preview code
3.1 M2: Code Formatter > White Space > Parameterized type > Parameterized type Preview: "Map<String, Element> map = new<String, Element> HashMap();" is wrong. BTW, in tree double "Parameterized type" is ugly, why not use something like "Type" on the second level.
resolved fixed
4d3a801
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-23T14:34:55Z"
"2004-09-22T16:20:00Z"
74,505
Bug 74505 Indent Line removes tabs inside switch statement
I200409212000 Indent Line removes tabs inside switch statement. Test Case: 1. open ResourceFileBuffer rev. 1.16 2. select line 119 - 169 3. Indent Line ==> break and other statements get alligned to "switch"
resolved fixed
8820d49
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-23T12:39:37Z"
"2004-09-22T08:00:00Z"
74,568
Bug 74568 Convert for loop QA too sensitive on caret position
3.1 M2: The "Convert for loop" QA is only available if the caret is on the "for" keyword or after the second semicolon (inside the third controlling expression). I'd expect to have this QA on all three expressions.
resolved fixed
a222b4f
["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
"2004-09-23T12:34:26Z"
"2004-09-22T16:20:00Z"
74,504
Bug 74504 Close parenthesis option does no longer work
Using build I200409212000. Although "Close brackets and parenthesis" option is not checked, when I type "if(" in Java editor, it add automatically the closing parenthesis and then I get "if ()" I've tried to set/unset it to see whether it could be a wrong initialization after build update but it did not change anything... Problem does not happen with brackets: when I type "char[" it does not close it automatically...
resolved fixed
ef3c487
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-23T10:41:50Z"
"2004-09-22T08:00:00Z"
74,513
Bug 74513 NPE in JavaSourceViewerConfiguration when changing compiler level
I200409212000 Tried to change compiler compliance level between 1.4 and 1.5. The folowing class was open in a java editor: package a; public class Ref { enum Cards { } } Error Sep 22, 2004 12:12:02.814 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration.handlePropertyChangeEvent(JavaSourceViewerConfiguration.java:813) at org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingManager.handlePropertyChangeEvent(SemanticHighlightingManager.java:468) at org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingManager.propertyChange(SemanticHighlightingManager.java:455) at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:162) at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:151) at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:452) at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:406) at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:68) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$OptionsAdapter.firePropertyChangeEvent(JavaEditor.java:415) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$OptionsAdapter$PropertyChangeListener.propertyChange(JavaEditor.java:351) at org.eclipse.jdt.internal.ui.preferences.MockupPreferenceStore.firePropertyChangeEvent(MockupPreferenceStore.java:74) at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.firePropertyChangeEvents(OptionsConfigurationBlock.java:191) at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.setOptions(OptionsConfigurationBlock.java:166) at org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock.performOk(OptionsConfigurationBlock.java:428) at org.eclipse.jdt.internal.ui.preferences.CompilerPropertyPage.performOk(CompilerPropertyPage.java:180) at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:813) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:794) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:223) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:538) 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:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2783) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2442) at org.eclipse.jface.window.Window.runEventLoop(Window.java:706) at org.eclipse.jface.window.Window.open(Window.java:684) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:186) at org.eclipse.jface.action.Action.runWithEvent(Action.java:988) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419) 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:2783) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2442) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1443) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1414) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:271) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
resolved fixed
7dacc70
["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
"2004-09-22T16:12:55Z"
"2004-09-22T10:46:40Z"
73,295
Bug 73295 No javadoc comment inserted with new serialVersionUID field
When the code: private static final long serialVersionUID = 1L; is generated, the new field comment is not used. Version 3.1.M1.
resolved fixed
1de3316
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SerialVersionQuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractSerialVersionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-21T12:14:48Z"
"2004-09-05T16:00:00Z"
74,171
Bug 74171 [preferences] Pref page; Restore defaults does not reset error status correctly
Version: 3.1.0 Build id: 200409140800 @@@@ Window/Preferences/Java/Editor/Hovers Select "Variable Values" Enter "Ctrl" as its hover. Delete "Ctrl" in text area so that it is empty. Click on "Restore Defaults". Observe the error will still be there.
verified fixed
5dae3b6
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-17T13:55:49Z"
"2004-09-17T14:06:40Z"
55,325
Bug 55325 [typing] Starting Javadoc comment inserts @param tags for next method
build I20040318 - open type TrimLayout - before method setSpacing, start a new method by typing a Javadoc comment - you get @param tags for the next method (even though it has its own Javadoc) For example: Type this: /**<Enter> Before this: /** * Sets the empty space surrounding the center area. This whitespace is * located between the trim and the central widget. */ public void setSpacing(int left, int right, int top, int bottom) { leftSpacing = left; rightSpacing = right; topSpacing = top; bottomSpacing = bottom; } You get: /** * * @param left * @param right * @param top * @param bottom */
verified fixed
3a832a3
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocAutoIndentStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-17T07:48:42Z"
"2004-03-19T04:20:00Z"
72,510
Bug 72510 Move field adds field to end of type
I200408170800. I moved field TestResult.fFailures to TestSuite and could not find it until I realized that it got appended to the end of TestSuite.
resolved fixed
37ab6f3
["org.eclipse.jdt.ui.tests.refactoring/resources/Copy/test_initializer_yes_type/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/Copy/test_method_yes_type/out/A.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-15T17:54:42Z"
"2004-08-24T15:06:40Z"
71,267
Bug 71267 [Search][Javadoc] SearchMatch in class javadoc reported with element of type IImportDeclaration
null
verified fixed
7cf6be8
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RenamePackageTests.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-15T10:54:27Z"
"2004-08-03T08:00:00Z"
73,337
Bug 73337 New compiler option (COMPILER_PB_ENUM_IDENTIFIER) needs UI
null
resolved fixed
485674e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-10T13:46:15Z"
"2004-09-06T17:00:00Z"
73,579
Bug 73579 Source view: StringOutOfBounds error after changing encoding
I got the following error after doing these steps: 1) create a new java class in the default package called dddd.java, open it 1b) open a second file in an editor 1c) switch back to dddd.java (i.e. make it the active editor) 2) change the encoding for that file to "UTF-16 (little-endian)" from the Edit > Encoding menu 3) click on the other file in the package explorer to cause the editor to activate 4) click back on dddd.java in the explorer and ... the follow exception is printed to the console java.lang.StringIndexOutOfBoundsException at java.lang.String.charAt(String.java:385) at org.eclipse.jdt.internal.ui.infoviews.SourceView.computeInput(Unknown Source) at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView$2.run(Unknown Source)
resolved fixed
01e181f
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/SourceView.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-10T07:22:22Z"
"2004-09-09T17:13:20Z"
72,046
Bug 72046 Add new options in the code formatter preference page [code formatter]
Adding the new 1.5 constructs in the code formatter led to the additions of the following constants: FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION FORMATTER_BRACE_POSITION_FOR_ANNOTATION_TYPE_DECLARATION FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION FORMATTER_INSERT_SPACE_AFTER_AND_IN_WILDCARD FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION_TYPE_DECLARATION FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ANNOTATION FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ANNOTATION FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD FORMATTER_INSERT_SPACE_BEFORE_AND_IN_WILDCARD FORMATTER_INSERT_SPACE_BEFORE_AT_IN_ANNOTATION_TYPE_DECLARATION FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ANNOTATION FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ANNOTATION FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANNOTATION_TYPE_DECLARATION FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION_TYPE_MEMBER_DECLARATION FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ANNOTATION_TYPE_MEMBER_DECLARATION FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT They need to be added in the code formatter preference page.
resolved fixed
d8eee48
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/BracesTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/IndentationTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/NewLinesTabPage.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-09T17:25:27Z"
"2004-08-16T18:13:20Z"
72,388
Bug 72388 No types available after opening a closed project
hi, I am using: Version: 3.1.0 Build id: 200408170800 I had a few java projects that were closed before the last shutdown of hte eclipse platform. When I restarted the platform, i used the context menu to open one of the projects. I waited till i saw that the progress monitor showing that it had started building the classes. At this point, I hit Ctrl+Shift+T to get the "open type" dialog - but instead, I got an error dialog whote title was "Type Selection" saying that "No types available". At this stage, keeping the project open, if I shutdown and restart the eclipse platform, Ctrl+Shift+T works as expected. But I should not need to restart eclipse. Could this be rectified?
closed fixed
13b9dc4
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/AllTypesCacheTest.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-08T12:59:28Z"
"2004-08-21T17:40:00Z"
72,912
Bug 72912 Cannot extract static [refactoring]
When I have the string "Windows" selected in: public static final boolean IS_OS_WINDOWS = getOSMatches("Windows"); Right-click/Refactor does not let me extract "Windows" as a static. Version 3.1.M1.
resolved fixed
ebe9a9e
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaTextSelection.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractConstantAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-07T18:08:23Z"
"2004-08-30T21:06:40Z"
73,347
Bug 73347 NPE in AdvancedQuickAssistProcessor.getInverseConditionProposals
I20040901 + plug-in export, J9 JXE Got this in log several times a day. No steps. !ENTRY org.eclipse.jdt.ui 4 10001 Sep 06, 2004 18:46:20.502 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getInverseConditionProposals(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.hasAssists(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.hasAssists(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.calculateLightBulb(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.doSelectionChanged(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.access$0(Unknown Source) at org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater$1.selectionChanged(Unknown Source) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(Unknown Source) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
resolved fixed
a9ae524
["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
"2004-09-07T09:22:05Z"
"2004-09-07T06:53:20Z"
35,590
Bug 35590 JUnit window doesn't report errors from junit.extensions.TestSetup [JUnit]
The class junit.extensions.TestSetup is a decorator to set up additional fixture state once before tests are run. I have a TestSuite wrapped into a TestSetup for that purpose. The JUnit window in the Java perspective shows neither errors (exceptions) nor failures (assertions) that happen in my TestSetup.setUp() method. The only thing I get is a comment on the status line: JUnit test run finished: 1.913 seconds (Errors: 0, Failures: 1) Just FYI, my class ActivationsTest creates a TestSuite like this: public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( new ActivationsTest( "testAddAccount" ) ); suite.addTest( new ActivationsTest( "testAddAccountReserveMobile" ) ); suite.addTest( new ActivationsTest( "testReserveAvailableMobile" ) ); return new CAMTestSetup( suite, "ActivationsTest" ); }//suite()
resolved fixed
b5279a6
["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"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-07T09:02:22Z"
"2003-03-24T18:20:00Z"
73,353
Bug 73353 [syntax highlighting] 'Abstract Method Invocation' highlighting also matches declaration
I200409011200
resolved fixed
bcea293
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-07T08:51:43Z"
"2004-09-07T09:40:00Z"
72,547
Bug 72547 Junit view doesn't select failure [JUnit]
When I run unit tests, and get a failure, JUnit does not select any of the failures automatically. This means to get any details, I need to select one by hand. Very annoying. Another user here reports that it does select one for him.
resolved fixed
d95682c
["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-03T22:36:42Z"
"2004-08-24T20:40:00Z"
66,635
Bug 66635 AddImportOnSelectionAction passes null process monitor to all types cache
I20040611_0100 Title says it all. We should avoid passing in null since the operation can take a while.
resolved fixed
3e20510
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-03T16:29:29Z"
"2004-06-11T07:46:40Z"
70,570
Bug 70570 Show Junit view on error preference totally broken [JUnit]
R3.0 The state of the Java > JUnit > "Show Junit results view only if errors or failures occur" has no effect at all i.e. the view opens whether this preference is checked or not (minor detail: if JUnit is a fast view then the pref seems to work). While this is not yet a major bug it unfortunately also affects whether the JUnit view's title (progress) gets updated: there's a missing ! and hence it does not update the title when I uncheck this preference. The only time when the icon update should not be done is when the JUnit view hasn't been created yet.
resolved fixed
93bd9dd
["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-03T13:42:43Z"
"2004-07-21T17:13:20Z"
72,923
Bug 72923 Delete from Package Explorer removes file but not empty package [package explorer]
This process is a little inconsistant. Sometimes it will work, but most of the time it will not remove the empty package structure. 1. Delete a java file in a package from the Package Explorer 2. Both java file and the empty package disappear from the Package Explorer 3. Add another file to the project 4. Click Refresh from the Package Explorer Expected Results: The empty package should not show up Actual Results: The empty package shows up Delete this package again Add a file Click Refresh The empty package shows up with one directory removed from it
resolved fixed
2aacedd
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-03T09:37:43Z"
"2004-08-30T23:53:20Z"
71,244
Bug 71244 New Quick Assist's [quick assist]
I've added several new useful (at least for me) quick assist's in class QuickAssistProcessor (from 3.0 release). Here is list of them: 1. Split condition. For example you have following code: if (condition_1 && condition_2) { do_something2(); } Now you decide that you need also execute do_something3() when condition_1 && condition_3. I.e. you want following code: if (condition_1) { if (condition_2) do_something2(); if (condition_3) do_something3(); } Currently you will need to copy condition_2 by hands. I don't know how all other, but I am very lazy. With new quick assist you can position caret on condition (for example on &&) and transform initial code in: if (condition_1) { if (condition_2) do_something2(); } 2. Join 'if' statements. This is reverse operation to "split condition". You can point on inner or outer "if" statement and ask for joining. Depending on context, quick assist will suggest to join outer "if" to inner or inner to outer, or both, if possible. Join can be used only if there are no "else" parts in "if" statements. 3. Add paranoidal parenthesis for conditions. I don't like to look on conditions and think "And what is order of executing these conditions?", so usually add parenthesis around each expression like: "collection.size() == 1" or (object == null), etc. However sometimes I have to change someone else code and would like to change source to make it more readable for me. So, I've added quick assist for adding parenthesis in such cases. For example this: list.size() == 3 && list instanceof List && c will be converted to: (list.size() == 3) && (list instanceof List) && c Just select block of code and invoke quick asisst, it will change all conditions in selected code. 4. Remove extra parenthesis. One more reverse operation. If you don't like extra parenthesis in your code, you can remove all of them and keep them only where required. For example this: (list.size() == 2) && (a || b) will be converted to: list.size() == 2 && (a || b) As you can see, it keeps parenthesis where needed. It uses precedence table for operators, so knows, where to keep parenthesis. 5. Inverse condition. Select condition and inverse it, for example when you see that there are too many "not" operators or want to exchange "then" and "else" branches in "if" statement (BTW, may be such quick assist also required?...). For example, this: a || !b && !c will be converted to: !a && (b || c) BTW, I often use what I call "fail fast" checking. I.e. when you do chain of checks, each next can be executed only if previous were successful, instead of writing deep chain of "if" statements: prepare_1; if (condition_1) { prepare_2; if (condition_2) { prepare_3; if (condition_3) { ... } } } I prefer to have prepare_1; if (!condition_1) return false; // or may be 'continue' prepare_2; if (!condition_2) return false; prepare_3; if (!condition_3) return false; ... So, condition inversing could be useful to implement assists for changing from one style of chain checking to another... I would like to have these quick assists in Eclipse, so would like to contribute them to Eclipse.
verified fixed
8a2319d
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.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
"2004-09-02T11:25:16Z"
"2004-08-02T18:06:40Z"
72,903
Bug 72903 Add variable expansion for Test Class in JUnit launch configurations [JUnit]
null
resolved fixed
1513726
["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitBaseLaunchConfiguration.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfiguration.java", "org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-01T22:18:02Z"
"2004-08-30T18:20:00Z"
72,992
Bug 72992 Projects View no longer properly handles opened/closed projects
The Projects View (Java Browsing) no longer stops displaying closed projects, nor does it display newly opened projects. Eclipse I20040831 (but been around since I20040817?) Linux, GTK2.
resolved fixed
40eb7c0
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-01T15:39:14Z"
"2004-08-31T16:33:20Z"
71,283
Bug 71283 Type Hierarchy View should show active working set in content description [type hierarchy]
Eclipse 3.0 The type hierarchy should show the active working set in the content description. Instead of WorkbenchPart#setTitle(), it should use setContentDescription() to display the focus type and active working set.
resolved fixed
0a3b0af
["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
"2004-09-01T13:44:07Z"
"2004-08-03T13:33:20Z"
67,851
Bug 67851 SelectionListenerWithASTManager should synchronized access to listener list
RC2, for post 3.0: SelectionListenerWithASTManager.PartListenerGroup should protect the access to the ListenerList from the job.
resolved fixed
b3e67cb
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/SelectionListenerWithASTManager.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-01T10:58:51Z"
"2004-06-18T17:33:20Z"
72,962
Bug 72962 [1.5][Java Element Image Provider] Does not enumerate IJavaElement.TYPE_PARAMETER
20040824: Image provider does not have a case statement for type parameter java elements and fails with AFE Steps to reproduce: - Create non-generic class C - Insert method declaration static <S> S wassup() { return null; } - Select wassup in the java outline
resolved fixed
46bb862
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-09-01T08:59:46Z"
"2004-08-31T13:46:40Z"
71,153
Bug 71153 Is this a mistake in SourceActionDialog.java
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java CVS Revision 1.24 from line 364 to 379 commentButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); ... ... GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL); gd.horizontalSpan= 2; commentButton.setLayoutData(gd); which constructs two GridData objects for commentButton.
resolved fixed
8948312
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-31T17:13:18Z"
"2004-07-30T15:06:40Z"
70,457
Bug 70457 Code assist in javadoc completion for links to inner class members does not work correctly for not fully-classified classes [javadoc]
In the case I write the javadoc comment and use the javadoc tak {@link ...} then there is the problem in the code assist - the code assist does not display the list of the members of the inner class in the case the enclosing master- class of the inner class is not classified with the full package name. This happens if I write the references to some inner class members in the same package. For example I have in package packageA the master class MasterA with the inner class InnerA with the method methodA(). If I write the javadoc outside the package packageA, then the code assist After typing "{@link Mast" and pressing Ctrl-Space completes the name to "{@link packageA.MasterA", after pressing "." there comes the selection of the inner classes, I can select the class "InnerA" and then after pressing "#" comes the list of the methods from "InnerA" where I can select "methodA()" and come to the result "{@link packageA.MasterA.InnerA#methodA()" what is correct. BUT: If I am in the same package like the class "MasterA", then after typing "{@link Mast" and pressing Ctrl-Space completes the name not to "{@link packageA.MasterA" but to "{@link MasterA" (this is still correct), after pressing "." there comes also the selection of the inner classes and I can select the class "InnerA" but then after pressing "#" comes nothing, no list at all, but there should come the list with "methodA()" and other methods from the inner class "InnerA". This error was present also in the versions 2.x. This would be not so bad if there would be a possibility if I am in the same package to expand the class name "MasterA" to the full name, but this is not possible and sometimes the package paths are long and have to be found somewhere and copied to the place where writing the documentation.
resolved fixed
21f786a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocCompletionEvaluator.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-31T17:00:37Z"
"2004-07-20T19:00:00Z"
68,311
Bug 68311 "Quick Fix" sometimes gets the type wrong [quick fix]
I had the following code: PaymentRoute[] routes = ... PaymentRoute test = null; for (int i=0; i<routes.length; i++) { if (METHOD.equals(routes[i].getMethod())) test = routes[i]; } The error was that METHOD was undefined, I wanted a new constant for it. PaymentRoute.getMethod() returns String, therefore I'd have expected it to create public static final String METHOD = null; up the top, but for whatever reason, it created the type as "Date", not "String". It had managed to get this right on an earlier occasion though! Maybe a coincidence, but my very first import up the top was import java.util.Date; and it was warning me that this was unused. Having removed that unused import and also removed the public static final Date METHOD = null; then tried the quick fix again, it now plumps for type "Object" which I guess is OK, though a bit of a cop-out! I think there's a bug lurking there somewhere, it's trying do the most work for the least effort by fixing the unused import as well as the missing variable all at once, even though the import was just a warning and I didn't go anywhere near it?
resolved fixed
3292ac1
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-31T16:43:30Z"
"2004-06-23T14:13:20Z"
72,793
Bug 72793 Ctrl+Shift+U (Find Occurrences) does not mark write access to qualified field [search]
I200408241200 1. open file TextFileDocumentProvider rev. 1.45 2. select FileInfo.fCachedReadOnlyState 3. Ctrl+Shift+U 4. step through the matches ==> some of them are write access but this is not shown in the Search view
resolved fixed
45ef985
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-30T13:42:02Z"
"2004-08-27T15:20:00Z"
72,520
Bug 72520 Cannot delete unsaved file
Once a file is marked dirty and I try deleting it it wont allow me to delete it till I save it.
resolved fixed
aa5ffeb
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/AbstractDeleteChange.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/DeleteFileChange.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/DeleteFolderChange.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/DeleteSourceManipulationChange.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-25T15:13:35Z"
"2004-08-24T17:53:20Z"
68,592
Bug 68592 rename method exception with method in local type [refactoring]
Was renaming method in nested interface where implementing classes were nested in the same class. java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:284) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:282) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:533) at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153) at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:599) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:406) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) 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:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2732) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2398) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:124) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:137) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.activate(UserInterfaceStarter.java:54) at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter.activate(RenameUserInterfaceStarter.java:113) at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameMethodUserInterfaceStarter.activate(RenameMethodUserInterfaceStarter.java:66) at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java:108) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:175) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:128) at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:127) 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.ui.commands.ActionHandler.execute(ActionHandler.java:141) at org.eclipse.ui.internal.commands.Command.execute(Command.java:132) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:469) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:887) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:928) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:546) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:494) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:259) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:714) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:795) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Control.traverse(Control.java:2723) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2564) at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:540) at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2582) at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:3151) at org.eclipse.swt.widgets.Display.filterMessage(Display.java:728) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2394) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1375) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1346) 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:335) 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:186) at org.eclipse.core.launcher.Main.run(Main.java:647) at org.eclipse.core.launcher.Main.main(Main.java:631) Caused by: java.lang.NullPointerException at org.eclipse.jdt.core.search.SearchPattern.createPattern(SearchPattern.java:753) at org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine.createOrPattern(RefactoringSearchEngine.java:188) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.batchFindNewOccurrences(RenameMethodProcessor.java:490) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.analyzeRenameChanges(RenameMethodProcessor.java:440) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.checkFinalConditions(RenameMethodProcessor.java:275) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameVirtualMethodProcessor.checkFinalConditions(RenameVirtualMethodProcessor.java:91) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:134) 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:182) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101) Root exception: java.lang.NullPointerException at org.eclipse.jdt.core.search.SearchPattern.createPattern(SearchPattern.java:753) at org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine.createOrPattern(RefactoringSearchEngine.java:188) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.batchFindNewOccurrences(RenameMethodProcessor.java:490) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.analyzeRenameChanges(RenameMethodProcessor.java:440) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.checkFinalConditions(RenameMethodProcessor.java:275) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameVirtualMethodProcessor.checkFinalConditions(RenameVirtualMethodProcessor.java:91) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:134) 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:182) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:58) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
resolved fixed
27e95ea
["org.eclipse.jdt.ui.tests.refactoring/resources/RenameVirtualMethodInClass/test40/in/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/RenameVirtualMethodInClass/test40/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/RenameVirtualMethodInClassTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-24T13:34:15Z"
"2004-06-25T10:40:00Z"
66,831
Bug 66831 Unable to copy project / package to window file system in 'Package Explorer' [ccp] [package explorer]
Build id: 200406111814 [test case] 1. In Package Explorer, Select project 2. Right Click -> Copy In OS File System(ex. MS Windows Explorer), unable to 'Paste' [supplementation] -In Eclipse 2.1.3, I can copy. -In Resource Navigator, I can copy. I don't know that this behavior is correct or not.
resolved fixed
d239651
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/reorg/CopyTest.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/reorg/CopyToClipboardActionTest.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/reorg/PasteResourcesFromClipboardActionTest.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-23T16:29:01Z"
"2004-06-12T17:06:40Z"
70,922
Bug 70922 Convert to Enhanced For [quick assist]
I implemented as a QuickAssist a convertion from old For loop to the EnhancedFor in Java 1.5 In order to activate it you should place the cursor over the for keyword and trigger the QuickAssist (Ctrl + 1). If the preconditions for this refactoring are satisfied, one would be offered to "Convert to Enhanced For". If you don't see this QuickAssist then it might be the case that some conditions for this refactoring could not be satisfied (e.g. the whole iteration over the collection is done sequentially, there is only Read Access to the collection, etc.). This is an example of conversion. Initially you have: int[] array= {1,2}; for (int i= 0, max= array.length; i < max; i++){ System.out.println(array[i]); } After applying the quick fix you get: int[] array= {1,2}; for (int element : array) { System.out.println(element); } Or here is a smarter one. Initially you have: String[] names= {"John","Mary"}; for (int i = 0; i < names.length; i++) { String name= names[i]; if (name != null) System.out.println(name); } After the quick fix you get: String[] names= {"John","Mary"}; for (String name : names) { if (name != null) System.out.println(name); } NOTE: currently (July 27th), I handle only the cases when one iterates over Arrays. In a future version one will be able to convert a For loop that iterates over a generic collection as well.
resolved fixed
c4ecbf6
["org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ConvertForLoopQuickFixTest.java", "org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/QuickFixTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertForLoopProposal.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
"2004-08-23T13:31:22Z"
"2004-07-27T17:40:00Z"
72,024
Bug 72024 UndoManager creates potential memory leak [refactoring]
3.0 The refactoring undo manager doesn't call dispose in all cases where a undo/redo object is no longer needed. This can result in a memory leak since the undo/redo object could register for listeners and therefore relies on the fact the dispose is called correctly. Cases where dispose isn't called: - if the undo stack reaches it maximum number of change objects and the last one is removed from the stack. - if the undo/redo stack gests flushed and one of the change objects causes an exception during sending dispose. - if the undo/redo object isn't valid anymore and can therefore not be executed.
verified fixed
851e4b5
["org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/internal/core/refactoring/UndoManager.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java", "org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-23T12:58:04Z"
"2004-08-16T15:26:40Z"
69,689
Bug 69689 "pull up" field placement [refactoring]
I did a pull up of a private field, and it added at the very end of the class, after all the methods. It should place it just like quickfix does when a field is created (at the top);
resolved fixed
bc4f461
["org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentArgs1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentArgs2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentArgs3.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/DifferentSigs.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/InstanceContext_FFF.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/MultiUnit1A_FFF_out.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/MultipleCallers_FFF.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/Names_FFF.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/UnmovableArg1.java", "org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/positive/UnmovableArg2.java", "org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/test39/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/resources/PullUp/testFieldMethod0/out/A.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java", "org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/util/JavaElementUtil.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-23T12:35:35Z"
"2004-07-08T23:40:00Z"
71,784
Bug 71784 [syntax highlighting] deprecated needs a default color
1) enable semantic highlighting 2) enable deprecated highlighting -> the default color is black and no default style There should be a reasonable default style. My first choice would be strikethrough which we currently cannot do. Some dark yellow for "warning" would be my second choice
resolved fixed
f8824f5
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-20T07:31:39Z"
"2004-08-11T13:13:20Z"
40,038
Bug 40038 [typing] Smart semicolon fooled by method braces
Build: I20030710 Start writing a setter method, like this: public void setValue(int i) {} Then position cursor between the braces and fill in the method body. You end up with this: public void setValue(int i) {this.value=i}; Problem: when you type the semicolon, it jumps over the closing method body brace and places it at the end of the line, resulting in a syntax error.
resolved fixed
b1721f2
["org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/SmartSemicolonAutoEditStrategyTest.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/SmartSemicolonAutoEditStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-19T15:48:54Z"
"2003-07-14T16:26:40Z"
71,554
Bug 71554 [1.5][syntax highlighting] JDK 5.0: enum should be marked as a keyword.
Under cheetah, the word enum should be highlighted as a keyword such as public and protected.
resolved fixed
ee00d2a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-17T09:14:43Z"
"2004-08-06T11:00:00Z"
70,412
Bug 70412 [api] Formatting a large file makes Eclipse freeze (enabling/disabling of partitioning updating)
null
verified fixed
58fa428
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-16T14:39:32Z"
"2004-07-20T13:26:40Z"
65,659
Bug 65659 [syntax highlighting] Constructor and method syntax highlighting is inconsistent
Java constructor declarations are highlighted as method calls, not as method declarations.
resolved fixed
98d40b9
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-12T11:15:13Z"
"2004-06-04T00:46:40Z"
64,203
Bug 64203 [syntax highlighting] Wrong highlighting when method parameter alone is used as initializer of a local variable
In the following example, the first line of the method body shows 'n' as if it were a local variable. The second line is OK. void m(int n) { int j = n; int k = n + 1; }
resolved fixed
667d10b
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-12T10:56:38Z"
"2004-05-26T19:33:20Z"
63,688
Bug 63688 wrong indent after 'enter'
3.0 m9 quite annoing usability problem: create this: public int getFoo(){<CARET_HERE>} press Enter you get public int getFoo(){ } which is _never_ right. i get annoyed by this every 5 minutes or so. the same bug in: if(condition){<CARET_HERE>} press Enter, you get if(condition){ } which, againi, is never what you want
resolved fixed
df9e46c
["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
"2004-08-11T17:28:15Z"
"2004-05-24T14:46:40Z"
68,058
Bug 68058 NPE in JUnit view [JUnit]
RC3, probably happens on all platforms - open a JUnit view --> should open empty - right-click in the Failure Trace table at the bottom and the following exception occurs: java.lang.NullPointerException at org.eclipse.jdt.internal.junit.ui.FailureTrace.menuAboutToShow(FailureTrace.java:111) at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:286) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:370) at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:367) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:383) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:752) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:735) at org.eclipse.swt.widgets.Menu.setVisible(Menu.java:784) at org.eclipse.swt.widgets.Control.showMenu(Control.java:2537) at org.eclipse.swt.widgets.Control.XButtonPress(Control.java:2925) at org.eclipse.swt.widgets.Composite.XButtonPress(Composite.java:812) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:903) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3478) at org.eclipse.swt.internal.motif.OS.XtDispatchEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2640) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1375) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1346) 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:335) 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:186) at org.eclipse.core.launcher.Main.run(Main.java:647) at org.eclipse.core.launcher.Main.main(Main.java:631)
verified fixed
e46c2a2
["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/FailureTrace.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-11T10:03:25Z"
"2004-06-21T17:46:40Z"
62,605
Bug 62605 Binding of a simple name representing a constuctor is ITypeBinding but should be IMethodBinding
I20040514 The binding of the simple name "Test" in the following statement "new Test();" is a ITypeBinding. Since the name refers to a constructor the binding should be a IMethodBinding.
resolved wontfix
8aa17ab
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-06T16:16:16Z"
"2004-05-18T08:46:40Z"
71,332
Bug 71332 TVT3.0: ''text ui'' etc in English in New JUnit Test Case panel
OS : RHEL 3.0 Build date: 0730 Language: CHS Problem Description: Create a Java project, click File > New > Others, Select Junit Test Case under JUnit Click Next, there are strings in English: "text ui", "swing ui", "awt ui". Can someone make sure these are externalized for the next release? Thanks.
resolved fixed
74b3241
["org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-04T10:18:29Z"
"2004-08-03T21:53:20Z"
71,219
Bug 71219 IndexOutOfBoundsException in SuperTypeHierarchyCache.addTypeHierarchyToCache
Eclipse (Linux GTK) 20040728 on Linux Fedora core 1 I don't know what I did to cause this unfortunately, I'll look out for it again. java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at java.util.ArrayList.RangeCheck(ArrayList.java:507) at java.util.ArrayList.get(ArrayList.java:324) at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache.addTypeHierarchyToCache(SuperTypeHierarchyCache.java:123) at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache.getTypeHierarchy(SuperTypeHierarchyCache.java:96) at org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache.getTypeHierarchy(SuperTypeHierarchyCache.java:81) at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:159) at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:127) at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:238) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:155) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:60) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:258) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:241) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:285) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
resolved fixed
2fa6bf1
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/SuperTypeHierarchyCache.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-03T14:13:25Z"
"2004-08-02T09:46:40Z"
70,111
Bug 70111 TVT3.0: Java Project Properties has truncated text and buttons
On the menu bar from the main Workbench panel, click File -> New -> Projects Select Java Project Click Next In the Project Name put java-project Click Finish On the menu bar from the main Workbench panel, click Project Click Properties Select Javadoc Location Even though I enlarge the window, the description and the right side buttons (Browse, Validation, Apply) are truncated. See the attached screenshot.
closed fixed
b3bcc78
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-08-02T16:31:25Z"
"2004-07-15T14:00:00Z"
70,077
Bug 70077 [typing] Copy/paste doesn't work occasionally
Hi. When I do the copying/pasting, something seems strange: I'm editing the Java source code, and want to copy some lines of code to another place, I selected the lines, about 15-line, press Ctrl-C, and then move to the paste place, and press Ctrl-V, and just nothing happened. I've tried several time, and tried to use mouse and right-button-menu for the copy/paste, the results are the same. And I also tried to copy/paste only one line, it sometimes works, but not always. With multiple lines copy/paste, it sometimes works too. I'm using the Eclipse 3, Windows 2000 pro, JDK 1.4.2, Lomboz.3rc2(before), Lomboz 3(now).
resolved fixed
0ec91ea
["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
"2004-07-29T13:05:30Z"
"2004-07-15T00:06:40Z"
66,501
Bug 66501 [typing] In smart mode: Delete Next/Previous Word delete selection
200406092000 In the java editor, Delete Next Word (Ctrl+Delete) and Delete Previous Word (Ctrl+Backspace) behave unexpected. They should always just delete the selection iff it is not zero-length. That's the behavior we're used to with unmodified Delete and Backspace, and it's also what the Text Editor already does. void foo() { System.out.println(123); } Set cursor to before "out.", then press 2x Ctrl+Shift+Right to select "out." with the caret after the selection. Expected: Ctrl+Delete deletes selection. Was: Ctrl+Delete then deletes "println", leaving the selection alone. Similar problems with Ctrl+Backspace and when caret is at the start of the selection.
resolved fixed
5fe472a
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-28T14:16:38Z"
"2004-06-10T15:06:40Z"
70,284
Bug 70284 [1.5] class file with "1.4 compatibility" cannot be run in Java 1.4
If I compile a simple class in Eclipse with the following compliance settings, it won't run in a 1.4 JVM. It appears the .class file relies on 1.5 libraries, despite the compatibility setting. Compiler compliance: 1.5 Generated .class compatibility: 1.4 Source compatibility: 1.5 Here's my source code: public class TestConcat { public static void main(String[] args) { String w = "world"; System.out.println("Hello " + w); } } The resulting exception: Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/StringBuilder at TestConcat.main(TestConcat.java:13)
resolved fixed
5966c25
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-26T15:14:07Z"
"2004-07-16T23:20:00Z"
70,103
Bug 70103 [1.5] Want v1.4 source code compatibility and v1.5 class files
Using Eclipse 3.0GA and Cheetah 0.0.6: Window -> Preferences -> Java -> Compiler -> Compliance and Classfiles Make the following settings: Compiler compliance level: 1.5 Generated .class file compatibility: 1.5 Source compatibility: 1.4 Current results: Error: "When source code compatibility is 1.4, the classfile compatibility has to be 1.4." Expected results: My settings should have been accepted.
resolved fixed
dc353cf
["org.eclipse.jdt.ui/core", "extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java", "org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-26T15:03:01Z"
"2004-07-15T14:00:00Z"
70,158
Bug 70158 Exception trying to add getter [code manipulation]
I got the following exception trying to add a getter for an instance variable to a class. I choose the instance variable and ran Source/Generate Getters and Setters, deselected the setter and clicked OK. The oepration failed with the following exception. This is with Eclipse 3.0 and I have the entire source for Eclipse SDK loaded from CVS (in case it matters). java.lang.IndexOutOfBoundsException: Index: 5, Size: 5 at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at java.util.ArrayList.RangeCheck(ArrayList.java) at java.util.ArrayList.get(ArrayList.java) at org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog.getElementPosition (SourceActionDialog.java:562) at org.eclipse.jdt.ui.actions.AddGetterSetterAction.run (AddGetterSetterAction.java:276) at org.eclipse.jdt.ui.actions.AddGetterSetterAction.run (AddGetterSetterAction.java:486) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java) at org.eclipse.jface.action.Action.runWithEvent(Action.java) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:254) 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:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:59) at java.lang.reflect.Method.invoke(Method.java:390) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
verified fixed
0f6f0bf
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-21T10:04:07Z"
"2004-07-15T19:33:20Z"
69,843
Bug 69843 TVT3.0: Unexternalized string in Preferences>Java>Task Tags
OS : RHEL 3.0 Mustfix: No Severity : 3 Build date: 0712 Blocking: NO Language: CHT Problem Description: Actual Description of the problem On the menu bar from the main Workbench panel, click Window > Preferences > Java > Task Tags == > "Deafult" is in English of the tag in the Preferences window.
closed fixed
7d8e360
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskConfigurationBlock.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-15T06:52:52Z"
"2004-07-12T13:46:40Z"
69,932
Bug 69932 TVT3.0: Add Constructor from Superclass has incorrect mnemonics
Open a Java Project, call it java-project. Select java-project in the left pane. On the menu bar from the main Workbench panel, click File > New > Others Select Class Click Next In the Name put java_project_class Click Finish On the menu bar from the main Workbench panel, click Source > Format Select Add Constructor from Superclass == > The way to show the mnemonic is incorrect for Traditional Chinese. It should be shown as below. public -> public(P) protected -> protected(T) private -> private(V) This is inconsistent with the other mnemonics. All the others display as string1(X) and string2(Y). Public, Protected, and Private need to follow the same model. The translator cannot find the strings &public, pro&tected, or pri&vate in her Translation Memories. So our guess is, these strings have not been externalized. If they have, could you provide the path to the file that they are in. See the attached screenshot
closed fixed
8e5b196
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-14T16:47:01Z"
"2004-07-13T14:46:40Z"
68,868
Bug 68868 Sometime a search results in the error "Memento problem" [search]
Sometimes when I do a search via Java editor popup menu References->Workspace, I get the following error in the error log: Memento problem - invalid integer for key: org.eclipse.jdt.search.resultpage.grouping value: TRUE An exception stack trace could not be found. eclipse.buildId=I200406251208 java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Seems to be random. I can't find a specific search that causes the error, but it happens somewhat frequently.
verified fixed
6298555
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-14T09:55:47Z"
"2004-06-29T14:40:00Z"
68,295
Bug 68295 User Libraries dialog loses settings [build path]
When adding or modifying User Libraries I can't get certain settings to stick. I currently have 9 user defined libraries and in total 18 JAR files. When I try and change one of the libraries to be a system library and OK the dialog and go back in, the setting doesn't stick. I also had the experience of adding a couple of JARS to a user defined library and upon returning to the dialog they had dissappeared. Do I have too many JAR files? Help. Thanks, Gordon
verified fixed
659d8e2
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPUserLibraryElement.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-14T09:42:09Z"
"2004-06-23T14:13:20Z"
66,939
Bug 66939 Use supertype refactoring: target type not named [refactoring]
RC2 Make a random selection in a Java editor and choose 'Use supertype where possible' The dialog comes up and is ready to do some work. But it dosn't say which for type it would use a supertype for. Maybe the label should be improved to 'Select supertype to use for '{0}':' It might be better to limit the enablement on type references or type elements.
resolved fixed
4839de1
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/UseSupertypeWizard.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-12T14:02:00Z"
"2004-06-14T13:33:20Z"
59,157
Bug 59157 Externalize Strings should remember the input values of the last time. [refactoring] [nls]
It whould be handy if the package selected (and every other value that most of the time would be the same as the previous time) is remembered for the next time!! in the Externalize Strings dialog Now i always have to change the package (2 times!) in that dialog most of the time you want one resource bundle file for you application
resolved fixed
5b1ce9a
["org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/AccessorDescription.java", "org.eclipse.jdt.ui/ui", "refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/ExternalizeWizardPage.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-08T10:01:02Z"
"2004-04-19T21:26:40Z"
69,020
Bug 69020 IAE when drag and dropping field in anonym type [reorg] [dnd]
3.0 drag and drop a field in an anonymous type. java.lang.IllegalArgumentException: ClassInstanceCreation has no property bodyDeclarations at org.eclipse.jdt.internal.core.dom.rewrite.RewriteEventStore.validateHasChildProperty(RewriteEventStore.java:615) at org.eclipse.jdt.internal.core.dom.rewrite.RewriteEventStore.getEvent(RewriteEventStore.java:296) at org.eclipse.jdt.internal.core.dom.rewrite.RewriteEventStore.getListEvent(RewriteEventStore.java:325) at org.eclipse.jdt.core.dom.rewrite.ListRewrite.getEvent(ListRewrite.java:56) at org.eclipse.jdt.core.dom.rewrite.ListRewrite.internalInsertAt(ListRewrite.java:251) at org.eclipse.jdt.core.dom.rewrite.ListRewrite.insertLast(ListRewrite.java:216) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$SubCuElementReorgPolicy.copyMemberToDestination(ReorgPolicyFactory.java:722) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$SubCuElementReorgPolicy.copyFieldToDestination(ReorgPolicyFactory.java:621) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$SubCuElementReorgPolicy.copyToDestination(ReorgPolicyFactory.java:593) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$MoveSubCuElementsPolicy.createChange(ReorgPolicyFactory.java:1973) at org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor.createChange(JavaMoveProcessor.java:199) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:174) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:72) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:700) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3246) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:65) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:397) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:116) at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveStarter.run(ReorgMoveStarter.java:78) at org.eclipse.jdt.internal.ui.packageview.SelectionTransferDropAdapter.handleDropMove(SelectionTransferDropAdapter.java:208) at org.eclipse.jdt.internal.ui.packageview.SelectionTransferDropAdapter.drop(SelectionTransferDropAdapter.java:132) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.drop(JdtViewerDropAdapter.java:112) at org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:79) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:65) 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.Widget.sendEvent(Widget.java:820) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613) at org.eclipse.swt.dnd.DropTarget.notifyListeners(DropTarget.java:507) at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:428) at org.eclipse.swt.dnd.DropTarget.access$7(DropTarget.java:363) at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:232) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:115) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:277) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:263) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:157) 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:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) 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:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
resolved fixed
8548bdd
["org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-06T17:51:58Z"
"2004-06-30T15:40:00Z"
41,903
Bug 41903 bug in "Use SuperType Where Possible" [refactoring]
When I try to apply "Use SuperType Where Possible" to the program below (trying to replace references to type "FastEcho" with references to type "Echo"), I get a popup "The refactoring does not change any source code." However, the declaration of variable f in class "Hello" can be given type "Echo". - Frank Echo.java: public interface Echo { public String echo(String s); } FastEcho.java: public class FastEcho extends SuperEcho { } Goodbye.java: public class Goodbye { static public void use(FastEcho f) { System.out.println(f.echo("Goodbye world.")); } } Hello.java: public class Hello { public static void main(String[] args) { System.out.println("Hello"); FastEcho f = new FastEcho(); System.out.println( f.echo("World.") ); // Goodbye.use(f); } } SlowEcho.java: public class SlowEcho extends SuperEcho { public String echo(String s){ try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } return s; } } SuperEcho.java: public class SuperEcho implements Echo { public String echo(String s){ return s; } }
resolved fixed
766ddb6
["org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ExtractInterfaceTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceUtil.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariable.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ITypeConstraintFactory.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/TypeBindings.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/TypeConstraintFactory.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-06T10:13:13Z"
"2003-08-24T18:33:20Z"
68,593
Bug 68593 [formatting] Code formatter formats header comments
Even though "format header comments" is turned off in the general settings block on the comments tab, Eclipse 3RC3 is formatting the header comments. This happened with both built-in and all newly generated format templates. regards martin
resolved fixed
48991a2
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentFormattingStrategy.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-07-01T09:30:53Z"
"2004-06-25T13:26:40Z"
67,168
Bug 67168 Change Signature shows error message twice [refactoring]
200406111814 public class TestClass { void change() { } x } Try to 'Change Method Signature' on 'change()'. The error message dialog always shows up twice.
resolved fixed
5f96f3c
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-06-29T16:47:12Z"
"2004-06-15T06:13:20Z"
68,552
Bug 68552 CallHierarchyViewPart uses deprecated setTitle API [call hierarchy]
The string currently being passed into setTitle should be passed to setContentDescription instead.
resolved fixed
5e290dd
["org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-06-29T15:56:06Z"
"2004-06-24T20:46:40Z"
68,504
Bug 68504 Refactor -> Change Method Signature removes import [refactoring]
I'm using 3.0RC2 on Windows XP Professional, JDK is Sun 1.4.2_04 Create a new class, Bug.java as below: import java.util.regex.Matcher; public class Bug { public static boolean textContains(CharSequence text, Matcher matcher) { return matcher.reset(text).find(); } } In the same package, create BugCaller.java Create a new class, Bug.java as below: import java.util.regex.Matcher; import java.util.regex.Pattern; public class BugCaller { public static void main(String args[]) { Matcher m = Pattern.compile(args[0]); Bug.textContains(args[1], m); } } Select the textContains method, then select Refactor -> Change Method Signature... In the signature, select the Matcher matcher parameter and select the Up button move it up so that it is the first parameter, then select OK from the refactor window. When performing the refactoring, JDT removes the import java.util.regex.Matcher; statement. When you save, you get a compile error in Bug.java and in all callers (BugCaller.java) because of a signature mismatch. (the callers are updated correctly, but then do not compile because of the unknown type Matcher in Bug.java.) Quick-fix or Organize Imports on Bug.java resolves the problem.
verified fixed
86c8b51
["org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport08_in.java", "org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testImport08_out.java", "org.eclipse.jdt.ui.tests.refactoring/test", "cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java", "org.eclipse.jdt.ui/core", "refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java"]
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
"2004-06-29T14:59:58Z"
"2004-06-24T18:00:00Z"