1
0

Compare commits

...

9 Commits

Author SHA256 Message Date
32e28fb3d3 Accepting request 1239624 from Java:Factory
January 2025 CPU

OBS-URL: https://build.opensuse.org/request/show/1239624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-21-openjdk?expand=0&rev=16
2025-01-23 16:56:55 +00:00
9eb1ba06a0 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=62 2025-01-22 16:51:18 +00:00
463bdf60c5 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=61 2025-01-22 14:26:54 +00:00
29dedbf7d7 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=60 2025-01-22 14:14:24 +00:00
f7a314ed20 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=59 2025-01-22 12:09:12 +00:00
64c440aadf OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=58 2025-01-22 08:17:49 +00:00
daab80bbfd Accepting request 1220065 from Java:Factory
October 2024 CPU

OBS-URL: https://build.opensuse.org/request/show/1220065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-21-openjdk?expand=0&rev=15
2024-11-02 15:11:39 +00:00
a902a18218 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=56 2024-11-01 12:38:58 +00:00
e63236f663 OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-21-openjdk?expand=0&rev=55 2024-10-16 09:55:37 +00:00
5 changed files with 1130 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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)

Binary file not shown.

BIN
jdk-21.0.6+7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View 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;
}
/**