pentaho-libxml/libxml-1.1.2-java11.patch
RHEL Packaging Agent 95dc6e12f8 Set javac source/target to 1.8 for java-17-openjdk compatibility
Update the libxml-1.1.2-java11.patch to set javac source/target
from 1.6 to 1.8, enabling the package to build with
java-17-openjdk which no longer supports source/target 1.6.

Upstream patches:
 - 982a4b89e3.patch
Resolves: RHEL-183539

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-06-30 21:02:13 +00:00

14 lines
858 B
Diff

--- pentaho-libxml-1.1.3/common_build.xml 2020-05-05 20:04:44.314203763 +0100
+++ pentaho-libxml-1.1.3/common_build.xml 2020-05-05 20:04:51.959264419 +0100
@@ -136,8 +136,8 @@
<property name="javac.deprecation"
value="true"
description="Indicates whether source should be compiled with deprecation information" />
- <property name="javac.source" value="1.5" description="Provide source compatibility with specified release" />
- <property name="javac.target" value="1.5" description="Generate class files for specific VM version" />
+ <property name="javac.source" value="1.8" description="Provide source compatibility with specified release" />
+ <property name="javac.target" value="1.8" description="Generate class files for specific VM version" />
<!-- Build Cache properties -->
<property name="build.cache.dir"