Package: openjdk-21 / 21.0.9+10-1

Metadata

Package Version Patches format
openjdk-21 21.0.9+10-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
system pcsclite.diff | (download)

make/autoconf/lib-bundled.m4 | 39 39 + 0 - 0 !
make/autoconf/spec.gmk.in | 1 1 + 0 - 0 !
make/modules/java.smartcardio/Lib.gmk | 6 3 + 3 - 0 !
src/java.smartcardio/unix/native/libj2pcsc/pcsc_md.c | 8 7 + 1 - 0 !
src/java.smartcardio/unix/native/libj2pcsc/pcsc_md.h | 40 40 + 0 - 0 !
test/jdk/java/security/misc/Versions.java | 7 1 + 6 - 0 !
6 files changed, 91 insertions(+), 10 deletions(-)

---
hotspot mips align.diff | (download)

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
icc_loading_with_symlink.diff | (download)

src/java.desktop/share/classes/java/awt/color/ICC_Profile.java | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

---
icedtea override redirect compiz.diff | (download)

src/java.desktop/unix/classes/sun/awt/X11/XWindowPeer.java | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
default jvm cfg.diff | (download)

src/java.base/share/native/libjli/java.c | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

---
adlc parser.diff | (download)

src/hotspot/share/adlc/formsopt.cpp | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

---
multiple pkcs11 library init.diff | (download)

src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java | 2 2 + 0 - 0 !
src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java | 27 19 + 8 - 0 !
2 files changed, 21 insertions(+), 8 deletions(-)

---
s390x opt.diff | (download)

make/autoconf/flags-cflags.m4 | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

---
jdk getAccessibleValue.diff | (download)

src/java.desktop/share/classes/javax/swing/JTable.java | 49 42 + 7 - 0 !
src/java.desktop/share/classes/javax/swing/JTree.java | 6 3 + 3 - 0 !
src/java.desktop/share/classes/javax/swing/table/JTableHeader.java | 28 24 + 4 - 0 !
src/jdk.accessibility/windows/classes/com/sun/java/accessibility/internal/AccessBridge.java | 6 3 + 3 - 0 !
4 files changed, 72 insertions(+), 17 deletions(-)

---
jdk i18n pt_BR.diff | (download)

src/java.desktop/share/classes/sun/awt/resources/awt_pt_BR.properties | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
machine flag.diff | (download)

make/autoconf/flags.m4 | 8 3 + 5 - 0 !
1 file changed, 3 insertions(+), 5 deletions(-)

---
zero x32.diff | (download)

make/autoconf/platform.m4 | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

---
atk wrapper security.diff | (download)

src/java.base/share/conf/security/java.security | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
dnd files.diff | (download)

src/java.desktop/unix/classes/sun/awt/X11/XDataTransferer.java | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
m68k support.diff | (download)

make/modules/java.desktop/gensrc/GensrcX11Wrappers.gmk | 7 6 + 1 - 0 !
src/hotspot/share/memory/allocation.hpp | 6 3 + 3 - 0 !
src/hotspot/share/oops/constMethod.hpp | 2 1 + 1 - 0 !
src/hotspot/share/oops/oop.hpp | 2 1 + 1 - 0 !
src/java.desktop/unix/data/x11wrappergen/sizes-32-linux-m68k.txt | 1017 1017 + 0 - 0 !
5 files changed, 1028 insertions(+), 6 deletions(-)

 fix alignment issues on m68k
make debug print.diff | (download)

make/Main.gmk | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
Don t optimize fdlibm fork for Zero on linux sparc Z.patch | (download)

make/hotspot/lib/JvmOverrideFiles.gmk | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 [patch] don't optimize fdlibm-fork for zero on linux-sparc (zero)


reproducible properties timestamp.diff | (download)

src/java.base/share/classes/java/util/Properties.java | 25 24 + 1 - 0 !
1 file changed, 24 insertions(+), 1 deletion(-)

 makes the timestamp in the properties files header reproducible when source_date_epoch is specified
reproducible character data.diff | (download)

make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 makes the generated character data classes reproducible (removes a timestamp and trims a build path captured in the comments)
reproducible module info.diff | (download)

make/jdk/src/classes/build/tools/module/GenModuleInfoSource.java | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 makes the generated module-info.java files reproducible (removes a captured build path)
reproducible build jmod.diff | (download)

make/CreateJmods.gmk | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 jlink: hash of module differs to expected hash recorded in java.base
 The cause is the use of dh_strip_nondeterminism late in the build
 process.  This reorganises the jmod files, which in turn changes their
 SHA256 checksums.  This would not be a problem, except that the
 checksums are saved in java.base.jmod *before* the use of
 dh_strip_nondeterminism.  Performing this stripping immediately after
 each jmod file is created results in the checksums being consistent
 throughout.
mips.diff | (download)

src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
misalign pointer for armhf.patch | (download)

test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 misalign address in the test rather than structure
update permission test.patch | (download)

test/jdk/java/lang/ProcessHandle/PermissionTest.java | 1 1 + 0 - 0 !
test/jdk/java/sql/testng/util/TestPolicy.java | 2 2 + 0 - 0 !
2 files changed, 3 insertions(+)

 add missing permissions for testng 7.7
 TestNG has added more configuration properties, allow them in the minimal policy
ldap timeout test use ip.patch | (download)

test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 replace hostname with a non-existant ip address
 In Ubuntu build environment we do not have DNS resolver, causing an unexpected test
 failure. Use a non-existant IP address instead of hostname.
test use ip address.patch | (download)

test/jdk/java/net/InetAddress/getOriginalHostName.java | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use ip address in tests
 Ubuntu build machines are not set up for dns. Use IP addresses to get correct test
 outcomes.
arch add ports.diff | (download)

src/java.base/share/classes/jdk/internal/util/Architecture.java | 70 70 + 0 - 0 !
src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template | 7 7 + 0 - 0 !
test/jdk/jdk/internal/util/ArchTest.java | 16 15 + 1 - 0 !
3 files changed, 92 insertions(+), 1 deletion(-)

---
compile preview.diff | (download)

make/CompileInterimLangtools.gmk | 12 11 + 1 - 0 !
1 file changed, 11 insertions(+), 1 deletion(-)

---
warn fontmanager.patch | (download)

src/java.desktop/share/classes/sun/font/FontManagerNativeLibrary.java | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

 print warning to install openjdk-*-jre package
 fontmanager support was moved to recommends, warn user to 
 either install -jre package or recommended packages.
 Forwarding is not needed as this is a Debian-only issue.
jdk 8318418.patch | (download)

make/autoconf/lib-hsdis.m4 | 5 3 + 2 - 0 !
src/utils/hsdis/binutils/hsdis-binutils.c | 3 1 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 8318418: hsdis build fails with system binutils on ubuntu
  Ubuntu does not need libiberty.h include for the build.
jdk 8295795.patch | (download)

make/autoconf/lib-hsdis.m4 | 87 55 + 32 - 0 !
src/utils/hsdis/binutils/hsdis-binutils.c | 32 28 + 4 - 0 !
2 files changed, 83 insertions(+), 36 deletions(-)

 8295795: hsdis does not build with binutils 2.39+
  binutils 2.39 changed the signature of init_disassemble_info,
  breaking the build.
  See https://lore.kernel.org/bpf/20220622231624.t63bkmkzphqvh3kx@alap3.anarazel.de/T/
hsdis fpic.patch | (download)

make/autoconf/lib-hsdis.m4 | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 link with -fpic version of binutils
 Link against -fPIC binutils library to avoid hard dependency on binutils.
jdk 8329983.patch | (download)

src/hotspot/os_cpu/linux_arm/linux_arm_32.S | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 remove declaration of _copy_conjoint_bytes
 JDK-8142362 removed implementation of _Copy_conjoint_bytes
 but left the symbol declaration in for armhf.
 This causes link failure against libjvm.so.
jdk 8334502 proposed.patch | (download)

src/hotspot/share/runtime/os.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use int instead of time_t to print timezone info
 printf() call uses %02d format specifier that requires an int parameter.
jdk 8331541.patch | (download)

make/autoconf/flags-ldflags.m4 | 1 0 + 1 - 0 !
src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S | 2 1 + 1 - 0 !
2 files changed, 1 insertion(+), 2 deletions(-)

 8331541: [i386] linking with libjvm.so fails after jdk-8283326
 i386 declaration of _SafeFetch32_impl contains an underscore
 that causes an undefined symbol in libjvm.so.
 Disable -Wl,--allow-shlib-undefined link flag that allowed the
 build to succeed.
jdk 8336529 proposed.patch | (download)

src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c | 23 20 + 3 - 0 !
1 file changed, 20 insertions(+), 3 deletions(-)

 (fs) unixfileattributeviews settimes() failing on armhf, ubuntu noble
 time_t transition in Debian/Ubuntu left 32 bit time_t symbols in glibc.
 Looking up 'futimens' via dlsym returns 32 bit version of the function.
 This is causing failure to set last modified time
 (e.g. instead of year 2017 we get 1976 in the test).
 Using the function directly correctly calls 64 bit versions.
 When we lookup functions with time_t arguments through dlsym()
 calls we should use 64 bit versions.
jdk 8312488.patch | (download)

src/jdk.jpackage/share/native/common/app.cpp | 15 10 + 5 - 0 !
1 file changed, 10 insertions(+), 5 deletions(-)

 tools/jpackage/share/applauncherenvtest.java fails with dynamically linked libstdc++
 The generated image contains libjpackageapplauncheraux.so that
 contains a destructor function dcon(). It calls already disposed
 logger, causing a crash.
zero alpha workaround.diff | (download)

src/hotspot/os/linux/os_linux.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

---
jdk 8359735.patch | (download)

test/jdk/java/lang/ProcessBuilder/Basic.java | 4 2 + 2 - 0 !
test/jdk/java/lang/ProcessHandle/InfoTest.java | 12 7 + 5 - 0 !
2 files changed, 9 insertions(+), 7 deletions(-)

 process tests fail due to rust-coreutils
 To accommodate systems like Ubuntu 25.10 that use Rust coreutils,
 this PR updates tests that previously assumed busybox was the only
 environment to use symlinks for core utilities.
 - java/lang/ProcessBuilder/Basic.java: The test is updated to simply
   verify that /bin/true and /bin/false are symlinks,
   removing the hardcoded check for a /bin/busybox target.
 - java/lang/ProcessHandle/InfoTest.java: The test logic is relaxed.
   It now confirms that /bin/sleep is a symlink and then uses the
   symlink's target as the expected executable name.
jdk 8369450 proposed.patch | (download)

make/autoconf/basic_tools.m4 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [ubuntu 25.10] openjdk fails to build due to rust-coreutils date
 Add uutils as a GNU-compatible date provider.