File commons-pool-1.6-sourcetarget.patch of Package apache-commons-pool

--- commons-pool-1.6-src/build.xml	2023-10-25 17:55:14.362760902 +0200
+++ commons-pool-1.6-src/build.xml	2023-10-25 17:56:28.323265075 +0200
@@ -61,8 +61,8 @@
       <property name="javac.optimize" value="false"/>
       <property name="javac.debug" value="true"/>
       <property name="javac.deprecation" value="true"/>
-      <property name="javac.target.version" value="1.5"/>
-      <property name="javac.src.version" value="1.5"/>
+      <property name="javac.target.version" value="8"/>
+      <property name="javac.src.version" value="8"/>
    </target>
 
    <!-- ######################################################### -->
@@ -108,6 +108,7 @@
              debug="${javac.debug}"
              deprecation="${javac.deprecation}"
              optimize="${javac.optimize}"
+             release="${javac.target.version}"
              target="${javac.target.version}"
              source="${javac.src.version}"/>
    </target>
@@ -119,6 +120,7 @@
              debug="${javac.debug}"
              deprecation="${javac.deprecation}"
              optimize="${javac.optimize}"
+             release="${javac.target.version}"
              target="${javac.target.version}"
              source="${javac.src.version}">
         <classpath>
openSUSE Build Service is sponsored by