<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3044</bug_id>
          
          <creation_ts>2012-08-30 09:00:36 +0000</creation_ts>
          <short_desc>[Autobuilder] Eclipse plugin build fails due to unsupported Override annotations in openjdk-7</short_desc>
          <delta_ts>2012-09-25 12:08:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(autobuilder)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ioana Grigoropol">ioanax.grigoropol</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24650</commentid>
    <comment_count>0</comment_count>
    <who name="Ioana Grigoropol">ioanax.grigoropol</who>
    <bug_when>2012-08-30 09:00:36 +0000</bug_when>
    <thetext>It seems that the Autobuilder uses openjdk-7 for building the eclipse-plugin. 
In the latest changes submitted to master, &apos;Override&apos; annotations were used for implementing methods from an interface. 
According to openjdk documentation, this was not supported in openjdk-5, but supported in 6, and 7. 
From my local tests, this is still an issue with 1.7 (the compilers still complains about annotations used for interfaces rather than classes).

My guess is the autobuilder should either use Oracle JDK 1.7, or check if there is a system constraint that force it to use openjdk-5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24670</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-30 14:28:26 +0000</bug_when>
    <thetext>Build machines need to have upgraded JDK installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24671</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-08-30 14:32:19 +0000</bug_when>
    <thetext>I had a thought that maybe it&apos;s an option to the latest JDK, but I&apos;ve been out of the loop on java since about 2002.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24710</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2012-08-31 17:36:47 +0000</bug_when>
    <thetext>I&apos;ve installed Oracle JDK 1.7 on the public build slaves and made it the default implementation. Please report back if this corrects the issue or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24711</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2012-08-31 17:37:37 +0000</bug_when>
    <thetext>I&apos;ve installed Oracle JDK 1.7 on the public build slaves and made it the default implementation. Please report back if this corrects the issue or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24714</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2012-08-31 22:40:37 +0000</bug_when>
    <thetext>The eclipse plugin is actually built on the master so this change didn&apos;t have any effect. I have installed OpenJDK 1.7.0u5 on ab01 for now and am working on adding the supplimental package channel for the OracleJDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24832</commentid>
    <comment_count>6</comment_count>
    <who name="Ioana Grigoropol">ioanax.grigoropol</who>
    <bug_when>2012-09-05 11:41:57 +0000</bug_when>
    <thetext>My assumption that the system used a older version of the JDK was wrong, in fact the headless build for eclipse-plugin uses a some local settings (build.properties) that limit the system JDK to 1.5 for source compilation (regardless of system installation).
Sent a patch with this modification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25677</commentid>
    <comment_count>7</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-09-25 12:08:30 +0000</bug_when>
    <thetext>Verified in commit id 8b3aa00029e62df6d05710cf166fd5d09bdb29cf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>