Skip to content

Apache Lucene open-source search software

LUCENE-5463: Correct Solr forbidden checks

Uwe Schindler1fa4aeca6c3a
diff --git a/solr/common-build.xml b/solr/common-build.xml
index dc3e810177c..001488b66fe 100644
--- a/solr/common-build.xml
+++ b/solr/common-build.xml
@@ -468,7 +468,7 @@
</target>
<!-- Forbidden API Task, customizations for Solr -->
- <target name="-check-forbidden-core" depends="-init-forbidden-apis,compile-core,compile-test">
+ <target name="-check-forbidden-all" depends="-init-forbidden-apis,compile-core,compile-test">
<property file="${common.dir}/ivy-versions.properties"/> <!-- for commons-io version -->
<forbidden-apis internalRuntimeForbidden="true" classpathref="forbidden-apis.allclasses.classpath">
<bundledSignatures name="jdk-unsafe-${javac.target}"/>
@@ -477,7 +477,6 @@
<signaturesFileSet dir="${common.dir}/tools/forbiddenApis">
<include name="base.txt" />
<include name="servlet-api.txt" />
- <include name="rue.txt" />
</signaturesFileSet>
<fileset dir="${build.dir}/classes/java" excludes="${forbidden-base-excludes}"/>
<fileset dir="${build.dir}/classes/test" excludes="${forbidden-tests-excludes}" erroronmissingdir="false"/>