[
https://issues.apache.org/jira/browse/HADOOP-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859507#action_12859507
]
Tom White commented on HADOOP-6676:
-----------------------------------
Another approach would be to write an Ant task, or Maven mojo to enforce this.
This is the approach taken by Kohsuke Kawaguchi for Hudson:
http://weblogs.java.net/blog/kohsuke/archive/2010/04/09/potd-custom-access-modifier,
http://github.com/kohsuke/access-modifier.
> 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.