File tomcat-9.0.43-java8compat.patch of Package tomcat.28573

--- apache-tomcat-9.0.43-src/build.xml	2022-07-05 21:42:13.038838402 +0200
+++ apache-tomcat-9.0.43-src/build.xml	2022-07-05 23:04:10.506328581 +0200
@@ -957,6 +957,7 @@
            deprecation="${compile.deprecation}"
            source="${compile.source}"
            target="${compile.target}"
+           release="${compile.release}"
            encoding="ISO-8859-1"
            includeAntRuntime="true" >
       <!-- Uncomment this to show unchecked warnings:
@@ -964,6 +965,21 @@
       -->
       <compilerarg value="-XDignore.symbol.file"/>
       <classpath refid="compile.classpath" />
+      <exclude name="org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java"/>
+    </javac>
+    <javac srcdir="java" destdir="${tomcat.classes}"
+           debug="${compile.debug}"
+           deprecation="${compile.deprecation}"
+           source="${compile.source}"
+           target="${compile.target}"
+           encoding="ISO-8859-1"
+           includeAntRuntime="true" >
+      <!-- Uncomment this to show unchecked warnings:
+      <compilerarg value="-Xlint:unchecked"/>
+      -->
+      <compilerarg value="-XDignore.symbol.file"/>
+      <classpath refid="compile.classpath" />
+      <include name="org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java"/>
     </javac>
     <!-- Copy static resource files -->
     <copy todir="${tomcat.classes}" encoding="ISO-8859-1">
openSUSE Build Service is sponsored by