GNU bug report logs -
#60020
[PATCH 0/8] Update openjdk.
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Mon, 12 Dec 2022 21:19:02 UTC
Severity: normal
Tags: patch
Done: Greg Hogan <code <at> greghogan.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/java.scm (openjdk): Update to 19.
(openjdk19): New variable.
---
gnu/packages/java.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index afd8c60f55..05a1b8996a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2159,8 +2159,25 @@ (define-public openjdk18
(make-openjdk openjdk17 "18.0.2"
"1yimfdkwpinhg5cf1mcrzk9xvjwnray3cx762kypb9jcwbranjwx"))
+(define-public openjdk19
+ (make-openjdk openjdk18 "19.0.1"
+ "0kyalb391znw6idmfn3dsx6c2mal1hl63f0bwa4mlnsxfl380bi1"
+ (arguments
+ (substitute-keyword-arguments (package-arguments openjdk18)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'fix-java-shebangs
+ (lambda _
+ ;; Update file path.
+ (substitute* "src/java.base/share/data/blockedcertsconverter/blocked.certs.pem"
+ (("^#!.*") "#! java BlockedCertsConverter SHA-256\n"))))
+ (add-before 'configure 'define-java-environment-variables
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Fix for "valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z".
+ (setenv "SOURCE_DATE_EPOCH" "1234567890")))))))))
+
;;; Convenience alias to point to the latest version of OpenJDK.
-(define-public openjdk openjdk18)
+(define-public openjdk openjdk19)
(define-public icedtea icedtea-8)
--
2.38.1
This bug report was last modified 2 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.