forked from pool/java-21-openjdk
Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
32e28fb3d3 | |||
9eb1ba06a0 | |||
463bdf60c5 | |||
29dedbf7d7 | |||
f7a314ed20 | |||
64c440aadf | |||
daab80bbfd | |||
a902a18218 | |||
e63236f663 |
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package java-21-openjdk
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -33,7 +33,7 @@
|
||||
# Standard JPackage naming and versioning defines.
|
||||
%global featurever 21
|
||||
%global interimver 0
|
||||
%global updatever 4
|
||||
%global updatever 6
|
||||
%global buildver 7
|
||||
%global openjdk_repo jdk21u
|
||||
%global openjdk_tag jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}+%{buildver}
|
||||
@ -152,6 +152,7 @@ Patch3: java-atk-wrapper-security.patch
|
||||
Patch4: PStack-808293.patch
|
||||
# Allow multiple initialization of PKCS11 libraries
|
||||
Patch5: multiple-pkcs11-library-init.patch
|
||||
Patch7: reproducible-directory-mtime.patch
|
||||
# Fix instantiation of VM on ZERO
|
||||
Patch8: zero-ranges.patch
|
||||
Patch9: reproducible-javadoc-timestamp.patch
|
||||
@ -389,6 +390,7 @@ rm -rvf src/java.desktop/share/native/liblcms/lcms2*
|
||||
%patch -P 3 -p1
|
||||
%patch -P 4 -p1
|
||||
%patch -P 5 -p1
|
||||
%patch -P 7 -p1
|
||||
%patch -P 8 -p1
|
||||
%patch -P 9 -p1
|
||||
%patch -P 10 -p1
|
||||
|
BIN
jdk-21.0.4+7.tar.gz
(Stored with Git LFS)
BIN
jdk-21.0.4+7.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jdk-21.0.6+7.tar.gz
(Stored with Git LFS)
Normal file
BIN
jdk-21.0.6+7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
reproducible-directory-mtime.patch
Normal file
17
reproducible-directory-mtime.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/src/java.base/share/classes/java/io/File.java b/src/java.base/share/classes/java/io/File.java
|
||||
index 652f28074cc..63a6c2f2831 100644
|
||||
--- a/src/java.base/share/classes/java/io/File.java
|
||||
+++ b/src/java.base/share/classes/java/io/File.java
|
||||
@@ -1378,7 +1378,11 @@ public class File
|
||||
if (isInvalid()) {
|
||||
return false;
|
||||
}
|
||||
- return FS.createDirectory(this);
|
||||
+ boolean result = FS.createDirectory(this);
|
||||
+ if ( result && System.getenv("SOURCE_DATE_EPOCH") != null ) {
|
||||
+ FS.setLastModifiedTime(this, 1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")));
|
||||
+ }
|
||||
+ return result;
|
||||
}
|
||||
|
||||
/**
|
Loading…
x
Reference in New Issue
Block a user