hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6676) Create a javac plugin that produces warnings for programs using Evolving APIs
Date Tue, 06 Apr 2010 22:23:33 GMT

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


Mime
View raw message