libformula/libformula-1.1.2.java11.patch
RHEL Packaging Agent 424c6a1f53 Update javac source/target to 1.8 for Java 17 compatibility
Update the existing libformula-1.1.2.java11.patch to change
javac.source and javac.target values from 1.6 to 1.8, enabling
compatibility with Java 17 (OpenJDK 17). This is a direct
modification to the existing dist-git patch file, backported
from Fedora.

Upstream patches:
 - 867c9d645c.patch
Resolves: RHEL-183542

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

Assisted-by: Ymir
2026-06-30 12:59:27 +00:00

14 lines
850 B
Diff

--- libformula-1.1.3/common_build.xml 2020-05-05 19:51:29.901832133 +0100
+++ libformula-1.1.3/common_build.xml 2020-05-05 19:51:35.875883155 +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"