gnu: Add openjdk23.

* gnu/packages/java.scm (openjdk23): New variable.

Change-Id: I50dc24a787066c9fad774bf6d2a1fc777f73e547
This commit is contained in:
Maxim Cournoyer 2025-05-01 10:17:29 +09:00
parent 51a5310ede
commit c6ee0a9480
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1807,6 +1807,19 @@ blacklisted.certs.pem"
(substitute* "make/autoconf/flags-cflags.m4"
((" -Wl,--disable-new-dtags") ""))))))))))
(define-public openjdk23
(make-openjdk
openjdk22 "23.0.2"
"0kxllznzhgqfn8b97krg2yp1ag41g4phmgqahrvzafd2bq6zclnf"
(source (origin
(inherit (package-source base))
;; The 'openjdk-21-fix-rpath.patch' no longer applies, and it
;; appears not needed anymore. The
;; 'openjdk-15-xcursor-no-dynamic.patch' doesn't apply anymore;
;; the fix should be pursued in libx11 (see:
;; https://issues.guix.gnu.org/54654)
(patches '())))))
;;; Convenience alias to point to the latest version of OpenJDK.
(define-public openjdk openjdk21)