Compare commits

..

No commits in common. "factory" and "devel" have entirely different histories.

6 changed files with 9 additions and 1130 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) 2025 SUSE LLC
# Copyright (c) 2024 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 6
%global updatever 4
%global buildver 7
%global openjdk_repo jdk21u
%global openjdk_tag jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}+%{buildver}
@ -152,7 +152,6 @@ 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
@ -390,7 +389,6 @@ 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

3
jdk-21.0.4+6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbd43a063bc848728ca07e37918e3f43fcb49c19295ff8286c33b505425768f3
size 112525572

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,17 +0,0 @@
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;
}
/**