Skip to content

Apache Lucene open-source search software

LUCENE-6070: Fix forbidden-apis and deprecations of Java 8 when used with Java 9

Uwe Schindler02dc17d4cda3
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 4a94885337a..f1056e1fccc 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -354,6 +354,8 @@ Build
* LUCENE-5995: Upgrade ICU to 54.1 (Robert Muir)
+* LUCENE-6070: Upgrade forbidden-apis to 1.7 (Uwe Schindler)
+
Other
* LUCENE-5563: Removed sep layout: which has fallen behind on features and doesn't
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 49d9d456e01..a5c709268ef 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -2264,7 +2264,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
<property name="forbidden-sysout-excludes" value=""/>
<target name="-install-forbidden-apis" unless="forbidden-apis.loaded" depends="ivy-availability-check,ivy-configure">
- <ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="1.6.1"
+ <ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="1.7"
inline="true" conf="default" transitive="true" pathid="forbidden-apis.classpath"/>
<taskdef name="forbidden-apis" classname="de.thetaphi.forbiddenapis.AntTask" classpathref="forbidden-apis.classpath"/>
<property name="forbidden-apis.loaded" value="true"/>