Debian Patches

Status for openjdk-21/21.0.3+9-2

Patch Description Author Forwarded Bugs Origin Last update
system-pcsclite.diff no
hotspot-mips-align.diff no
icc_loading_with_symlink.diff no
icedtea-override-redirect-compiz.diff no
default-jvm-cfg.diff no
adlc-parser.diff # DP: fixes an uninitialized memory issue in adlc no
multiple-pkcs11-library-init.diff # HG changeset patch
# User andrew
# Date 1352129932 0
# Node ID e9c857dcb964dbfa5eef3a3590244cb4d999cf7a
# Parent 1406789608b76d0906881979335d685855f44190
Allow multiple PKCS11 library initialisation to be a non-critical error.
no
s390x-opt.diff no
jdk-getAccessibleValue.diff no
jdk-i18n-pt_BR.diff no
machine-flag.diff no
zero-x32.diff no
atk-wrapper-security.diff no
dnd-files.diff no
m68k-support.diff Fix alignment issues on m68kLast Update: 2019-04-29 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> no
make-debug-print.diff no
Don-t-optimize-fdlibm-fork-for-Zero-on-linux-sparc-Z.patch [PATCH] Don't optimize fdlibm-fork for Zero on linux-sparc (Zero) John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> no 2018-12-21
reproducible-character-data.diff Makes the generated character data classes reproducible (removes a timestamp and trims a build path captured in the comments) Emmanuel Bourg <ebourg@apache.org> no
reproducible-module-info.diff Makes the generated module-info.java files reproducible (removes a captured build path) Emmanuel Bourg <ebourg@apache.org> no
reproducible-build-jmod.diff 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.
Julian Gilbey <jdg@debian.org> not-needed debian
mips.diff # DP: Untested patch suggested to fix #983878 no
misalign-pointer-for-armhf.patch Misalign address in the test rather than structure mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.
no
log-generated-classes-test.patch Skip test when getFileStore() fails Due to https://bugs.openjdk.org/browse/JDK-8166162 getFileStore() fails with exception
failing the test suite. Skip test when getFileStore() throws.
Vladimir Petko <vladimir.petko@canonical.com> not-needed upstream 2023-03-27
update-permission-test.patch Add missing permissions for TestNG 7.7 TestNG has added more configuration properties, allow them in the minimal policy Vladimir Petko <vladimir.petko@canonical.com> no 2023-03-24
ldap-timeout-test-use-ip.patch 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.
Vladimir Petko <vladimir.petko@canonical.com> no 2023-03-27
test-use-ip-address.patch Use IP address in tests Ubuntu build machines are not set up for dns. Use IP addresses to get correct test
outcomes.
Vladimir Petko <vladimir.petko@canonical.com> not-needed 2023-03-27
arch-add-ports.diff no
compile-preview.diff no
8307977-proposed.diff [PATCH] 8226919: Fix dynamic attach in Linux for non-container environments =?UTF-8?q?Sebastian=20L=C3=B6vdahl?= <sebastian.lovdahl@hibox.tv> yes debian upstream 2023-04-18
8242564-proposed.patch javadoc crashes: class cast exeception com.sun.tools.javac.code.Symtab$6 This is a proposed fix for JDK-8242564. Javadoc option '--ignore-source-errors'
allows generating Javadoc for the packages that contain compilation errors.
jdk.javadoc.internal.doclets.toolkit.util.ClassTree generates a type hierarchy
for javadoc that may include error types such as class Foo extends Bar {}
where Bar is undefined.
The user still wants to generate documentation for Foo and have Bar as a text label.
For the unknown class Bar it is impossible to detect the enclosing class/file and
javadoc crashes with an exception.
diff --git a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ToolEnvironment.java b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ToolEnvironment.java
index 4b1e1c66258..5eed7cd9268 100644
Vladimir Petko <vladimir.petko@canonical.com> yes debian upstream 2024-01-24
jdk-8325028.patch 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread While investigating a JRuby bug report today, I discovered that
despite pipe streams being set O_NONBLOCK at a native level, the NIO
AbstractSelectableChannel.nonblock flag is still false.

This leads to a situation where we have an IO channel that is
non-blocking (at a native level) but claims it is blocking. Forcing it
back to blocking then requires both setting and clearing that flag.
See: https://mail.openjdk.org/pipermail/loom-dev/2024-January/006407.html
diff --git a/src/java.base/unix/classes/sun/nio/ch/SinkChannelImpl.java b/src/java.base/unix/classes/sun/nio/ch/SinkChannelImpl.java
index b49b699fdce..d72a4892ef0 100644
Alan Bateman <alanb@openjdk.org> yes upstream upstream, https://github.com/openjdk/jdk/commit/d1099033ac63b9dd0dd6e3a7341db929e9e0e56e 2024-02-29
warn-fontmanager.patch 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.
Vladimir Petko <vladimir.petko@canonical.com> not-needed
jdk-8318418.patch 8318418: hsdis build fails with system binutils on Ubuntu Ubuntu does not need libiberty.h include for the build.

diff --git a/make/autoconf/lib-hsdis.m4 b/make/autoconf/lib-hsdis.m4
index 470a0ae8358..974d0e8b793 100644
Daniel JeliƄski <djelinski@openjdk.org> yes upstream upstream, https://github.com/openjdk/jdk/commit/3c70f2c1e9fb91cd5d7a66ef1e2a39672230208c 2024-03-12
jdk-8295795.patch 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/

diff --git a/make/autoconf/lib-hsdis.m4 b/make/autoconf/lib-hsdis.m4
index 974d0e8b793..987658bc411 100644
Robbin Ehn <rehn@openjdk.org> yes upstream upstream, https://github.com/openjdk/jdk/commit/c2efd7741202a5e3c209de62b8b5e6bd8ae7611a 2024-03-12
hsdis-fpic.patch Link with -fPIC version of binutils Link against -fPIC binutils library to avoid hard dependency on binutils. Vladimir Petko <vladimir.petko@canonical.com> not-needed 2024-03-19
jdk-8329983.patch 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.
Vladimir Petko <vladimir.petko@canonical.com> yes upstream 2024-04-10
8295111.patch [PATCH] 8295111: dpkg appears to have problems resolving symbolically linked native libraries Alexey Semenyuk <asemenyuk@openjdk.org> yes upstream

All known versions for source package 'openjdk-21'

Links