Bug 138766 - [Forms] Compile errors against foundation 1.0: org.eclipse.ui.forms
Summary: [Forms] Compile errors against foundation 1.0: org.eclipse.ui.forms
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC3   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 139497
  Show dependency tree
 
Reported: 2006-04-26 17:26 EDT by DJ Houghton CLA
Modified: 2006-05-03 19:43 EDT (History)
2 users (show)

See Also:


Attachments
Using 'super' to resolve 1.3 compile error (2.88 KB, patch)
2006-05-03 12:01 EDT, Dejan Glozic CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2006-04-26 17:26:45 EDT
build n0426

When compiling the org.eclipse.ui.forms project against the Foundation 1.0 class libraries we get the following error. It can be fixed by fully-qualifying the method reference. (usually by "super" or "className.this")

The method setLayout is defined in an inherited type and an enclosing scope
org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets
FormHeading.java
line 171
Comment 1 Dejan Glozic CLA 2006-04-26 17:31:43 EDT
Can you provide a patch that resolved the problem?
Comment 2 Dejan Glozic CLA 2006-05-01 14:33:41 EDT
This is doable for RC3 and there is no risk or loss of function.
Comment 3 DJ Houghton CLA 2006-05-01 15:35:09 EDT
I believe the reference to the method just needs to be qualified with a "super". (since the "this" method has an empty implementation)
Comment 4 Dejan Glozic CLA 2006-05-03 12:01:14 EDT
Created attachment 40239 [details]
Using 'super' to resolve 1.3 compile error
Comment 5 Dejan Glozic CLA 2006-05-03 12:03:48 EDT
Jeff, this one is good to go (it also has the patch for bug 139497 applied).
Comment 6 Dejan Glozic CLA 2006-05-03 19:23:30 EDT
Wassim, would you :-)?
Comment 7 Wassim Melhem CLA 2006-05-03 19:36:07 EDT
+1
Comment 8 Dejan Glozic CLA 2006-05-03 19:43:07 EDT
Thanks.