Bug 181

Summary: [eclipse] build failure of org.Yocto.sdk.ide due to incorrect java annotation
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Lianhao Lu <lianhao.lu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: kevin.tian, lianhao.lu, liping.ke, sgw, yp.ep.watcher, yp.watcher
Version: 0.9   
Target Milestone: 0.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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.