You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/27 18:14:52 UTC
[jira] [Commented] (NUTCH-2264) Check Forbidden API's at Build
[ https://issues.apache.org/jira/browse/NUTCH-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351511#comment-15351511 ]
ASF GitHub Bot commented on NUTCH-2264:
---------------------------------------
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/nutch/pull/115#discussion_r68627471
--- Diff: build.xml ---
@@ -1035,4 +1039,11 @@
</classpath>
</eclipse>
</target>
+
+ <target name="check-forbidden-apis" depends="compile">
+ <fa:forbiddenapis internalRuntimeForbidden="true" classpathref="classpath" dir="${build.dir}">
+ <bundledsignatures name="jdk-unsafe-${javac.version}"/>
--- End diff --
What error?
> Check Forbidden API's at Build
> ------------------------------
>
> Key: NUTCH-2264
> URL: https://issues.apache.org/jira/browse/NUTCH-2264
> Project: Nutch
> Issue Type: Task
> Affects Versions: 2.3.1
> Reporter: Furkan KAMACI
> Assignee: Furkan KAMACI
> Priority: Minor
>
> We should avoid [forbidden calls|https://github.com/policeman-tools/forbidden-apis/wiki] and check in the ant build for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)