Subject: bug#51443: [patch] openjdk11: update to latest version

From: "Dr. Arne Babenhauserheide" <[email-masked]>
Date: Wed, 27 Oct 2021 19:23:22 +0200

Hi,

The attached patch updates openjdk11 to the latest version. The update
includes some important bugfixes for compile errors of classfiles.

From eebf340e686e6c2762f45b08839d6a995baa8f31 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <[email-masked]>
Date: Wed, 27 Oct 2021 19:22:17 +0200
Subject: [PATCH] gnu: openjdk11: update to latest version

* gnu/packages/java.scm (openjdk11): Update to latest and add xrandr input
---
 gnu/packages/java.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index a404250d38..80e6e483ac 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2121,14 +2121,14 @@ (define-public openjdk10
 (define-public openjdk11
   (package
     (name "openjdk")
-    (version "11.28")
+    (version "11.0.12-ga")
     (source (origin
               (method url-fetch)
-              (uri "http://hg.openjdk.java.net/jdk/jdk/archive/76072a077ee1.tar.bz2")
+              (uri "https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/ebc6c83bfa9e.tar.bz2")
               (file-name (string-append name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "0v705w1s9lrqalzahir78pk397rkk9gfvzq821yv8h3xha0bqi6w"))
+                "07zd3ldz9s9fxnysjh8xchs3f1mn9rq7jng29g140a39mnpx4yyw"))
               (modules '((guix build utils)))
               (snippet
                `(begin
@@ -2365,6 +2365,7 @@ (define (icedtea-or-openjdk? path)
        ("libpng" ,libpng)
        ("libx11" ,libx11)
        ("libxext" ,libxext)
+       ("libxrandr" ,libxrandr)
        ("libxrender" ,libxrender)
        ("libxt" ,libxt)
        ("libxtst" ,libxtst)))

base-commit: af4ce7bd413c3a50733bfcc05370903a1e3808bc
prerequisite-patch-id: c1ffc79a0b53c239fe3d040b3b3f22a5717ca314
prerequisite-patch-id: 0a33bdfee17bc7b2576b5708d5fd54f5e170fb01
prerequisite-patch-id: f691f2bfa001d3b72b92b538254ad43ed3009b75
-- 
2.33.1

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de