hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HDFS-584) Fail the fault-inject build if any advices are mis-bound
Date Wed, 02 Sep 2009 21:48:32 GMT

     [ 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.


Mime
View raw message