You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2009/09/02 23:48:32 UTC

[jira] Resolved: (HDFS-584) Fail the fault-inject build if any advices are mis-bound

     [ https://issues.apache.org/jira/browse/HDFS-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik resolved HDFS-584.
-------------------------------------

    Resolution: Won't Fix

It turns out that mis-bound warnings couldn't be simply turned into errors, because this is default behavior of AJC and I don't see a way to configure it differently.

The only possibility is to intercept the compiler output and parse it in order to find if any warnings were produced and abort the build in that case. But it seems to be too much trouble to do so.

Another possibility is to extend {{test-patch}} so it will verify that a new patch doesn't increase the number of AJC warnings like it currently does for javac.

> Fail the fault-inject build if any advices are mis-bound
> --------------------------------------------------------
>
>                 Key: HDFS-584
>                 URL: https://issues.apache.org/jira/browse/HDFS-584
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>
> Whenever AspectJ compiler can't bind an advice it issues a warning message, but the build process isn't failing because of it.
> The build has to fail though, because mis-bound advices lead to failing tests which are hard to explain otherwise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.