xmvn-generator/0001-Use-OpenJDK-21.patch
Mikolaj Izdebski 319c996f38 Switch to Java 21 for runtime
Resolves: RHEL-52714
2024-08-05 09:18:46 +02:00

26 lines
839 B
Diff

From 089eacff83657ad118c1348ef521e46dc18645df Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Thu, 22 Feb 2024 05:30:33 +0100
Subject: [PATCH 1/2] Use OpenJDK 21
---
src/main/rpm/macros.xmvngen | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/rpm/macros.xmvngen b/src/main/rpm/macros.xmvngen
index 4ff3f22..0b124f4 100644
--- a/src/main/rpm/macros.xmvngen
+++ b/src/main/rpm/macros.xmvngen
@@ -3,7 +3,7 @@
%__xmvngen_debug %{nil}
# Path to JVM library (libjvm.so). Java 17 or newer is required.
-%__xmvngen_libjvm %{_jvmdir}/jre-17-openjdk/lib/server/libjvm.so
+%__xmvngen_libjvm %{_jvmdir}/jre-21-openjdk/lib/server/libjvm.so
# Class path of nested JVM. This should be a colon-separated list of
# JARs that contains xmvn-generator.jar, JARs with third-party
--
2.41.0