Github user kamaci commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/115#discussion_r63977002
  
    --- 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 --
    
    Here is a list for what we can do: 
[(https://github.com/policeman-tools/forbidden-apis/wiki/BundledSignatures)] On 
the other hand we can write some custom checks as like: 
[https://github.com/apache/lucene-solr/blob/master/lucene/tools/forbiddenApis/base.txt]


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to