From 424c6a1f536c1351e1f982ac9627155c23d89b35 Mon Sep 17 00:00:00 2001 From: RHEL Packaging Agent Date: Tue, 30 Jun 2026 12:59:27 +0000 Subject: [PATCH] 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: - https://src.fedoraproject.org/rpms/libformula/c/867c9d645cc99bd472d1440d98df940c4898e1d2.patch Resolves: RHEL-183542 This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent. Assisted-by: Ymir --- libformula-1.1.2.java11.patch | 4 ++-- libformula.spec | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libformula-1.1.2.java11.patch b/libformula-1.1.2.java11.patch index ae0a009..a978c2d 100644 --- a/libformula-1.1.2.java11.patch +++ b/libformula-1.1.2.java11.patch @@ -6,8 +6,8 @@ description="Indicates whether source should be compiled with deprecation information" /> - - -+ -+ ++ ++ - 1.1.3-33 +- Update javac source/target from 1.6 to 1.8 for Java 17 compatibility +- Resolves: RHEL-183542 + * Mon Aug 09 2021 Mohan Boddu - 1.1.3-32 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688