You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/04/07 00:23:33 UTC

[jira] Commented: (HADOOP-6676) Create a javac plugin that produces warnings for programs using Evolving APIs

    [ https://issues.apache.org/jira/browse/HADOOP-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854224#action_12854224 ] 

Tom White commented on HADOOP-6676:
-----------------------------------

I'm not sure we can use an annotation processor for this, since (by my reading) they process annotations that appear in the source being compiled, rather than annotations that are _referenced_ by the source being compiled.

Anyone got any suggestions for how this might be implemented?

> Create a javac plugin that produces warnings for programs using Evolving APIs
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-6676
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6676
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Tom White
>
> Such a feature would be useful to enforce MAPREDUCE-1637. It might also be useful for users who wish to check their programs don't use Evolving APIs. 
> It could be implemented using an annotation processor: http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html#processing

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