Package: zookeeper / 3.4.13-6+deb11u1

18-java17-compatibility.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Fixes the compatibility with OpenJDK 17
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -382,6 +382,7 @@
     
     <target name="build-generated" depends="compile_jute,version-info,ivy-retrieve" >
         <javac srcdir="${src_generated.dir}" destdir="${build.classes}" includeantruntime="false"
+            release="${javac.target}"
             target="${javac.target}" source="${javac.source}" debug="on" classpath="${ivy.lib}/audience-annotations-${audience-annotations.version}.jar" />
     </target>
     
@@ -538,7 +539,7 @@
          doctitle="${Name} ${version} API"
          bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
          locale="en"
-         additionalparam="-notimestamp"
+         additionalparam="-notimestamp -Xdoclint:none"
          >
     	<packageset dir="${java.src.dir}">
           <include name="org/apache/**"/>
@@ -564,7 +565,7 @@
          doctitle="${Name} ${version} API"
          bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
          locale="en"
-         additionalparam="-notimestamp"
+         additionalparam="-notimestamp -Xdoclint:none"
          >
 
         <fileset dir="${java.src.dir}">