Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338439

Summary: Wrong quick fix for 'Access to enclosing method getShell() from the type AbstractLaunchConfigurationTab is emulated by a synthetic accessor method
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Dani Megert CLA 2011-02-28 11:52:37 EST
HEAD (N20110227-2000).

1. open org.eclipse.pde.api.tools.ui.internal.use.ApiUsePatternTab
2. go to line 207
3. invoke quick fix
==>
Bug 1: suggested quick fix to change the visibility of getShell() to default is wrong.
Bug 2: the quick fix itself does nothing but open the getShell().
Comment 1 Dani Megert CLA 2011-03-02 03:21:52 EST
1. open org.eclipse.pde.api.tools.ui.internal.use.ApiUsePatternTab
You need to take rev. 1.4 as the warning has been fixed in HEAD.
Comment 2 Markus Keller CLA 2011-03-02 15:29:46 EST
Created attachment 190199 [details]
Fix
Comment 3 Markus Keller CLA 2011-03-02 15:30:17 EST
Fixed in HEAD.
Comment 4 Dani Megert CLA 2011-03-15 09:41:13 EDT
Verified in I20110310-1119.