Update javac source/target to 1.8 for java-17-openjdk compatibility

Backport Fedora dist-git change (commit 8812ff2) to update
javac.source and javac.target values from "1.6" to "1.8" in the
existing libbase-1.1.2.java11.patch file. This ensures
compatibility with java-17-openjdk which no longer supports
source/target level 1.6.

Upstream patches:
 - 8812ff2925.patch
Resolves: RHEL-192541

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

Assisted-by: Ymir
This commit is contained in:
RHEL Packaging Agent 2026-07-07 08:05:19 +00:00
parent 62fcfbcd22
commit aa1e85aac0
2 changed files with 8 additions and 3 deletions

View File

@ -6,8 +6,8 @@
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.6" description="Provide source compatibility with specified release" />
+ <property name="javac.target" value="1.6" 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"

View File

@ -1,6 +1,6 @@
Name: libbase
Version: 1.1.3
Release: 31%{?dist}
Release: 32%{?dist}
Summary: JFree Base Services
License: LGPLv2
#Original source: http://downloads.sourceforge.net/jfreereport/%%{name}-%%{version}.zip
@ -57,6 +57,11 @@ cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%{_javadocdir}/%{name}
%changelog
* Tue Jul 07 2026 RHEL Packaging Agent <redhat-ymir-agent@redhat.com> - 1.1.3-32
- Update javac source/target from 1.6 to 1.8 for java-17-openjdk
compatibility
- Resolves: RHEL-192541
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-31
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688