libbase/libbase-1.1.2.java11.patch
RHEL Packaging Agent aa1e85aac0 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
2026-07-07 08:05:19 +00:00

14 lines
844 B
Diff

--- libbase-1.1.3/common_build.xml 2020-05-05 19:34:48.033291800 +0100
+++ libbase-1.1.3/common_build.xml 2020-05-05 19:34:57.346369361 +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"