Bug 181 - [eclipse] build failure of org.Yocto.sdk.ide due to incorrect java annotation
Summary: [eclipse] build failure of org.Yocto.sdk.ide due to incorrect java annotation
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Undecided major
Target Milestone: 0.9 M3
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-08-03 06:44 UTC by Lianhao Lu
Modified: 2010-12-21 05:59 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lianhao Lu 2010-08-03 06:44:47 UTC
In git commit 11668ad, the method  org.Yocto.sdk.ide.actions.ReconfigureYoctoHandler.execute(ExecutionEvent) has a in-correct annotation "@Override" which would cause the compile failure. It should be removed.
Comment 1 Lianhao Lu 2010-08-03 06:46:34 UTC
The compile error is only detected in headless build. In eclipse IDE's building process, it is not detected.
Comment 2 Jessica 2010-08-03 14:45:36 UTC
Removed the incorrect annotation.  Fix in commit 75cc2ace8fce955edbb0c45caa34acbdbfefc34b
Comment 3 Lianhao Lu 2010-09-13 02:47:46 UTC
Verified. This is a compatibility issue between JDK 1.5 & 1.6. In 1.5, the @Override annotation can not be tagged to a method which implements an interface. It can only be used on the method which extends its the super class.