openjdk-21.git
5 weeks agoMerge version 21.0.8+9-1+rpi1 and 21.0.9+10-1~deb13u1 to produce 21.0.9+10-1~deb13u1... trixie-staging archive/raspbian/21.0.9+10-1_deb13u1+rpi1 raspbian/21.0.9+10-1_deb13u1+rpi1
Raspbian automatic forward porter [Fri, 7 Nov 2025 04:01:55 +0000 (04:01 +0000)]
Merge version 21.0.8+9-1+rpi1 and 21.0.9+10-1~deb13u1 to produce 21.0.9+10-1~deb13u1+rpi1

7 weeks agoMerge openjdk-21 (21.0.9+10-1~deb13u1) import into refs/heads/workingbranch
Moritz Mühlenhoff [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Merge openjdk-21 (21.0.9+10-1~deb13u1) import into refs/heads/workingbranch

7 weeks ago[Ubuntu 25.10] openjdk fails to build due to rust-coreutils date
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
[Ubuntu 25.10] openjdk fails to build due to rust-coreutils date

Origin: upstream, https://github.com/openjdk/jdk/pull/27705
Bug: https://bugs.openjdk.org/browse/JDK-8369450
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2127120
Last-Update: 2025-10-09

Add uutils as a GNU-compatible date provider.

Gbp-Pq: Name jdk-8369450-proposed.patch

7 weeks agoProcess tests fail due to rust-coreutils
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Process tests fail due to rust-coreutils

Origin: upstream, https://github.com/openjdk/jdk/pull/25838
Bug: https://bugs.openjdk.org/browse/JDK-8359735
Reviewed-by: Roger Riggs <roger.riggs@oracle.com>
Last-Update: 2025-06-19

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.
Last-Update: 2025-06-19
Gbp-Pq: Name jdk-8359735.patch

7 weeks agozero-alpha-workaround
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
zero-alpha-workaround

Gbp-Pq: Name zero-alpha-workaround.diff

7 weeks agotools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++

Origin: upstream, https://github.com/openjdk/jdk/commit/78a8a99d990dcc0b77c096bb2ca2c1bb86462e3f
Bug: https://bugs.openjdk.org/browse/JDK-8312488
Reviewed-By: asemenyuk, almatvee
Last-Update: 2024-07-18

The generated image contains libjpackageapplauncheraux.so that
contains a destructor function dcon(). It calls already disposed
logger, causing a crash.
Last-Update: 2024-07-18
Gbp-Pq: Name jdk-8312488.patch

7 weeks ago(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble

Origin: upstream, https://github.com/openjdk/jdk/pull/20208
Bug: https://bugs.openjdk.org/browse/JDK-8336529
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-23/+bug/2073335
Last-Update: 2024-07-17

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.
Last-Update: 2024-07-17
Gbp-Pq: Name jdk-8336529-proposed.patch

7 weeks ago8331541: [i386] linking with libjvm.so fails after JDK-8283326
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
8331541: [i386] linking with libjvm.so fails after JDK-8283326

Origin: https://github.com/openjdk/jdk/pull/19048
Bug: https://bugs.openjdk.org/browse/JDK-8331541
Applied-Upstream: commit:2d622152b07bba0aba8fd5b1e24293e28d6e69f5
Last-Update: 2024-05-02

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.

Gbp-Pq: Name jdk-8331541.patch

7 weeks agouse int instead of time_t to print timezone info
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
use int instead of time_t to print timezone info

Bug: https://bugs.openjdk.org/browse/JDK-8334502
Last-Update: 2024-06-19

printf() call uses %02d format specifier that requires an int parameter.

Gbp-Pq: Name jdk-8334502-proposed.patch

7 weeks agoremove declaration of _Copy_conjoint_bytes
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
remove declaration of _Copy_conjoint_bytes

Bug: https://bugs.openjdk.org/browse/JDK-8329983
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/2058966
Last-Update: 2024-04-10

JDK-8142362 removed implementation of _Copy_conjoint_bytes
but left the symbol declaration in for armhf.
This causes link failure against libjvm.so.

Gbp-Pq: Name jdk-8329983.patch

7 weeks agoLink with -fPIC version of binutils
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Link with -fPIC version of binutils

Forwarded: not-needed
Last-Update: 2024-03-19

Link against -fPIC binutils library to avoid hard dependency on binutils.

Gbp-Pq: Name hsdis-fpic.patch

7 weeks ago8295795: hsdis does not build with binutils 2.39+
Robbin Ehn [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
8295795: hsdis does not build with binutils 2.39+

Origin: upstream, https://github.com/openjdk/jdk/commit/c2efd7741202a5e3c209de62b8b5e6bd8ae7611a
Bug: https://bugs.openjdk.org/browse/JDK-8295795
Last-Update: 2024-03-12

 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/

Gbp-Pq: Name jdk-8295795.patch

7 weeks ago8318418: hsdis build fails with system binutils on Ubuntu
Daniel Jeliński [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
8318418: hsdis build fails with system binutils on Ubuntu

Origin: upstream, https://github.com/openjdk/jdk/commit/3c70f2c1e9fb91cd5d7a66ef1e2a39672230208c
Bug: https://bugs.openjdk.org/browse/JDK-8318418
Last-Update: 2024-03-12

 Ubuntu does not need libiberty.h include for the build.

Gbp-Pq: Name jdk-8318418.patch

7 weeks agoprint warning to install openjdk-*-jre package
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
print warning to install openjdk-*-jre package

Forwarded: not-needed

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.

Gbp-Pq: Name warn-fontmanager.patch

7 weeks agocompile-preview
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
compile-preview

Gbp-Pq: Name compile-preview.diff

7 weeks agoarch-add-ports
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
arch-add-ports

Gbp-Pq: Name arch-add-ports.diff

7 weeks agoUse IP address in tests
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Use IP address in tests

Forwarded: not-needed
Last-Update: 2023-03-27

Ubuntu build machines are not set up for dns. Use IP addresses to get correct test
outcomes.

Gbp-Pq: Name test-use-ip-address.patch

7 weeks agoReplace hostname with a non-existant ip address
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Replace hostname with a non-existant ip address

Forwarded: no
Last-Update: 2023-03-27

In Ubuntu build environment we do not have DNS resolver, causing an unexpected test
failure. Use a non-existant IP address instead of hostname.

Gbp-Pq: Name ldap-timeout-test-use-ip.patch

7 weeks agoAdd missing permissions for TestNG 7.7
Vladimir Petko [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Add missing permissions for TestNG 7.7

Last-Update: 2023-03-24

TestNG has added more configuration properties, allow them in the minimal policy

Gbp-Pq: Name update-permission-test.patch

7 weeks agoMisalign address in the test rather than structure
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
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.

Gbp-Pq: Name misalign-pointer-for-armhf.patch

7 weeks agomips
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
mips

# DP: Untested patch suggested to fix #983878

# DP: Untested patch suggested to fix #983878

Gbp-Pq: Name mips.diff

7 weeks agojlink: Hash of module differs to expected hash recorded in java.base
Julian Gilbey [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
jlink: Hash of module differs to expected hash recorded in java.base

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944738
Forwarded: not-needed

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.

Gbp-Pq: Name reproducible-build-jmod.diff

7 weeks agoMakes the generated module-info.java files reproducible (removes a captured build...
Emmanuel Bourg [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Makes the generated module-info.java files reproducible (removes a captured build path)

Forwarded: no

Gbp-Pq: Name reproducible-module-info.diff

7 weeks agoMakes the generated character data classes reproducible (removes a timestamp and...
Emmanuel Bourg [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Makes the generated character data classes reproducible (removes a timestamp and trims a build path captured in the comments)

Forwarded: no

Gbp-Pq: Name reproducible-character-data.diff

7 weeks agoMakes the timestamp in the properties files header reproducible when SOURCE_DATE_EPOC...
Emmanuel Bourg [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Makes the timestamp in the properties files header reproducible when SOURCE_DATE_EPOCH is specified

Forwarded: no

Gbp-Pq: Name reproducible-properties-timestamp.diff

7 weeks ago[PATCH] Don't optimize fdlibm-fork for Zero on linux-sparc (Zero)
John Paul Adrian Glaubitz [Fri, 21 Dec 2018 12:18:17 +0000 (15:18 +0300)]
[PATCH] Don't optimize fdlibm-fork for Zero on linux-sparc (Zero)

Gbp-Pq: Name Don-t-optimize-fdlibm-fork-for-Zero-on-linux-sparc-Z.patch

7 weeks agomake-debug-print
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
make-debug-print

Gbp-Pq: Name make-debug-print.diff

7 weeks agoFix alignment issues on m68k
John Paul Adrian Glaubitz [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Fix alignment issues on m68k

Last Update: 2019-04-29

Last Update: 2019-04-29

Gbp-Pq: Name m68k-support.diff

7 weeks agodnd-files
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
dnd-files

Gbp-Pq: Name dnd-files.diff

7 weeks agoatk-wrapper-security
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
atk-wrapper-security

Gbp-Pq: Name atk-wrapper-security.diff

7 weeks agozero-x32
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
zero-x32

Gbp-Pq: Name zero-x32.diff

7 weeks agomachine-flag
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
machine-flag

Gbp-Pq: Name machine-flag.diff

7 weeks agojdk-i18n-pt_BR
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
jdk-i18n-pt_BR

Gbp-Pq: Name jdk-i18n-pt_BR.diff

7 weeks agojdk-getAccessibleValue
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
jdk-getAccessibleValue

Gbp-Pq: Name jdk-getAccessibleValue.diff

7 weeks agos390x-opt
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
s390x-opt

Gbp-Pq: Name s390x-opt.diff

7 weeks agomultiple-pkcs11-library-init
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
multiple-pkcs11-library-init

# HG changeset patch
# User andrew
# Date 1352129932 0
# Node ID e9c857dcb964dbfa5eef3a3590244cb4d999cf7a
# Parent  1406789608b76d0906881979335d685855f44190
Allow multiple PKCS11 library initialisation to be a non-critical error.

Gbp-Pq: Name multiple-pkcs11-library-init.diff

7 weeks agoadlc-parser
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
adlc-parser

# DP: fixes an uninitialized memory issue in adlc

# DP: fixes an uninitialized memory issue in adlc

Gbp-Pq: Name adlc-parser.diff

7 weeks agodefault-jvm-cfg
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
default-jvm-cfg

Gbp-Pq: Name default-jvm-cfg.diff

7 weeks agoicedtea-override-redirect-compiz
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
icedtea-override-redirect-compiz

Gbp-Pq: Name icedtea-override-redirect-compiz.diff

7 weeks agoicc_loading_with_symlink
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
icc_loading_with_symlink

Gbp-Pq: Name icc_loading_with_symlink.diff

7 weeks agohotspot-mips-align
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
hotspot-mips-align

Gbp-Pq: Name hotspot-mips-align.diff

7 weeks agosystem-pcsclite
OpenJDK Team [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
system-pcsclite

Gbp-Pq: Name system-pcsclite.diff

7 weeks agoopenjdk-21 (21.0.9+10-1~deb13u1) trixie-security; urgency=medium
Moritz Mühlenhoff [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
openjdk-21 (21.0.9+10-1~deb13u1) trixie-security; urgency=medium

  * Rebuild for trixie

[dgit import unpatched openjdk-21 21.0.9+10-1~deb13u1]

7 weeks agoImport openjdk-21_21.0.9+10-1~deb13u1.debian.tar.xz
Moritz Mühlenhoff [Thu, 23 Oct 2025 10:14:51 +0000 (12:14 +0200)]
Import openjdk-21_21.0.9+10-1~deb13u1.debian.tar.xz

[dgit import tarball openjdk-21 21.0.9+10-1~deb13u1 openjdk-21_21.0.9+10-1~deb13u1.debian.tar.xz]

8 weeks agoImport openjdk-21_21.0.9+10.orig.tar.xz
Matthias Klose [Wed, 22 Oct 2025 06:07:14 +0000 (08:07 +0200)]
Import openjdk-21_21.0.9+10.orig.tar.xz

[dgit import orig openjdk-21_21.0.9+10.orig.tar.xz]

8 weeks agoImport openjdk-21_21.0.9+10.orig-googletest.tar.xz
Matthias Klose [Wed, 22 Oct 2025 06:07:14 +0000 (08:07 +0200)]
Import openjdk-21_21.0.9+10.orig-googletest.tar.xz

[dgit import orig openjdk-21_21.0.9+10.orig-googletest.tar.xz]

3 months agoMerge version 21.0.7+6-1+rpi1 and 21.0.8+9-1 to produce 21.0.8+9-1+rpi1 archive/raspbian/21.0.8+9-1+rpi1 raspbian/21.0.8+9-1+rpi1
Raspbian automatic forward porter [Thu, 21 Aug 2025 00:05:38 +0000 (01:05 +0100)]
Merge version 21.0.7+6-1+rpi1 and 21.0.8+9-1 to produce 21.0.8+9-1+rpi1

5 months agoMerge openjdk-21 (21.0.8+9-1) import into refs/heads/workingbranch
Matthias Klose [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Merge openjdk-21 (21.0.8+9-1) import into refs/heads/workingbranch

5 months agoProcess tests fail due to rust-coreutils
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Process tests fail due to rust-coreutils

Origin: upstream, https://github.com/openjdk/jdk/pull/25838
Bug: https://bugs.openjdk.org/browse/JDK-8359735
Reviewed-by: Roger Riggs <roger.riggs@oracle.com>
Last-Update: 2025-06-19

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.
Last-Update: 2025-06-19
Gbp-Pq: Name jdk-8359735.patch

5 months agozero-alpha-workaround
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
zero-alpha-workaround

Gbp-Pq: Name zero-alpha-workaround.diff

5 months agotools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++

Origin: upstream, https://github.com/openjdk/jdk/commit/78a8a99d990dcc0b77c096bb2ca2c1bb86462e3f
Bug: https://bugs.openjdk.org/browse/JDK-8312488
Reviewed-By: asemenyuk, almatvee
Last-Update: 2024-07-18

The generated image contains libjpackageapplauncheraux.so that
contains a destructor function dcon(). It calls already disposed
logger, causing a crash.
Last-Update: 2024-07-18
Gbp-Pq: Name jdk-8312488.patch

5 months ago(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble

Origin: upstream, https://github.com/openjdk/jdk/pull/20208
Bug: https://bugs.openjdk.org/browse/JDK-8336529
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-23/+bug/2073335
Last-Update: 2024-07-17

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.
Last-Update: 2024-07-17
Gbp-Pq: Name jdk-8336529-proposed.patch

5 months ago8331541: [i386] linking with libjvm.so fails after JDK-8283326
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
8331541: [i386] linking with libjvm.so fails after JDK-8283326

Origin: https://github.com/openjdk/jdk/pull/19048
Bug: https://bugs.openjdk.org/browse/JDK-8331541
Applied-Upstream: commit:2d622152b07bba0aba8fd5b1e24293e28d6e69f5
Last-Update: 2024-05-02

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.

Gbp-Pq: Name jdk-8331541.patch

5 months agouse int instead of time_t to print timezone info
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
use int instead of time_t to print timezone info

Bug: https://bugs.openjdk.org/browse/JDK-8334502
Last-Update: 2024-06-19

printf() call uses %02d format specifier that requires an int parameter.

Gbp-Pq: Name jdk-8334502-proposed.patch

5 months agoremove declaration of _Copy_conjoint_bytes
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
remove declaration of _Copy_conjoint_bytes

Bug: https://bugs.openjdk.org/browse/JDK-8329983
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/2058966
Last-Update: 2024-04-10

JDK-8142362 removed implementation of _Copy_conjoint_bytes
but left the symbol declaration in for armhf.
This causes link failure against libjvm.so.

Gbp-Pq: Name jdk-8329983.patch

5 months agoLink with -fPIC version of binutils
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Link with -fPIC version of binutils

Forwarded: not-needed
Last-Update: 2024-03-19

Link against -fPIC binutils library to avoid hard dependency on binutils.

Gbp-Pq: Name hsdis-fpic.patch

5 months ago8295795: hsdis does not build with binutils 2.39+
Robbin Ehn [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
8295795: hsdis does not build with binutils 2.39+

Origin: upstream, https://github.com/openjdk/jdk/commit/c2efd7741202a5e3c209de62b8b5e6bd8ae7611a
Bug: https://bugs.openjdk.org/browse/JDK-8295795
Last-Update: 2024-03-12

 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/

Gbp-Pq: Name jdk-8295795.patch

5 months ago8318418: hsdis build fails with system binutils on Ubuntu
Daniel Jeliński [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
8318418: hsdis build fails with system binutils on Ubuntu

Origin: upstream, https://github.com/openjdk/jdk/commit/3c70f2c1e9fb91cd5d7a66ef1e2a39672230208c
Bug: https://bugs.openjdk.org/browse/JDK-8318418
Last-Update: 2024-03-12

 Ubuntu does not need libiberty.h include for the build.

Gbp-Pq: Name jdk-8318418.patch

5 months agoprint warning to install openjdk-*-jre package
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
print warning to install openjdk-*-jre package

Forwarded: not-needed

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.

Gbp-Pq: Name warn-fontmanager.patch

5 months agoattach in linux hangs due to permission denied accessing /proc/pid/root
Sebastian Lövdahl [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
attach in linux hangs due to permission denied accessing /proc/pid/root

Bug: https://bugs.openjdk.org/browse/JDK-8307977
Bug: https://bugs.openjdk.org/browse/JDK-8226919
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034601
Last-Update: 2023-04-18

 The attach API uses /proc/pid/root in order to support containers.
 Dereferencing this symlink is governed by ptrace access mode PTRACE_MODE_READ_FSCREDS
 which may not succeed when running as the user running the JRE.
 This breaks running jcmd and jmap as the same user the JVM is running as.
 Use tmpdir when pid matches ns_pid.
From 36b554e2de46d77898be4d0feae0ee2171b445bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20L=C3=B6vdahl?= <sebastian.lovdahl@hibox.tv>
Date: Tue, 18 Apr 2023 12:50:32 +0300
Subject: [PATCH] 8226919: Fix dynamic attach in Linux for non-container
 environments

Gbp-Pq: Name jdk-8307977-proposed.patch

5 months agocompile-preview
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
compile-preview

Gbp-Pq: Name compile-preview.diff

5 months agoarch-add-ports
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
arch-add-ports

Gbp-Pq: Name arch-add-ports.diff

5 months agoUse IP address in tests
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Use IP address in tests

Forwarded: not-needed
Last-Update: 2023-03-27

Ubuntu build machines are not set up for dns. Use IP addresses to get correct test
outcomes.

Gbp-Pq: Name test-use-ip-address.patch

5 months agoReplace hostname with a non-existant ip address
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Replace hostname with a non-existant ip address

Forwarded: no
Last-Update: 2023-03-27

In Ubuntu build environment we do not have DNS resolver, causing an unexpected test
failure. Use a non-existant IP address instead of hostname.

Gbp-Pq: Name ldap-timeout-test-use-ip.patch

5 months agoAdd missing permissions for TestNG 7.7
Vladimir Petko [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Add missing permissions for TestNG 7.7

Last-Update: 2023-03-24

TestNG has added more configuration properties, allow them in the minimal policy

Gbp-Pq: Name update-permission-test.patch

5 months agoMisalign address in the test rather than structure
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
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.

Gbp-Pq: Name misalign-pointer-for-armhf.patch

5 months agomips
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
mips

# DP: Untested patch suggested to fix #983878

# DP: Untested patch suggested to fix #983878

Gbp-Pq: Name mips.diff

5 months agojlink: Hash of module differs to expected hash recorded in java.base
Julian Gilbey [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
jlink: Hash of module differs to expected hash recorded in java.base

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944738
Forwarded: not-needed

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.

Gbp-Pq: Name reproducible-build-jmod.diff

5 months agoMakes the generated module-info.java files reproducible (removes a captured build...
Emmanuel Bourg [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Makes the generated module-info.java files reproducible (removes a captured build path)

Forwarded: no

Gbp-Pq: Name reproducible-module-info.diff

5 months agoMakes the generated character data classes reproducible (removes a timestamp and...
Emmanuel Bourg [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Makes the generated character data classes reproducible (removes a timestamp and trims a build path captured in the comments)

Forwarded: no

Gbp-Pq: Name reproducible-character-data.diff

5 months agoMakes the timestamp in the properties files header reproducible when SOURCE_DATE_EPOC...
Emmanuel Bourg [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Makes the timestamp in the properties files header reproducible when SOURCE_DATE_EPOCH is specified

Forwarded: no

Gbp-Pq: Name reproducible-properties-timestamp.diff

5 months ago[PATCH] Don't optimize fdlibm-fork for Zero on linux-sparc (Zero)
John Paul Adrian Glaubitz [Fri, 21 Dec 2018 12:18:17 +0000 (15:18 +0300)]
[PATCH] Don't optimize fdlibm-fork for Zero on linux-sparc (Zero)

Gbp-Pq: Name Don-t-optimize-fdlibm-fork-for-Zero-on-linux-sparc-Z.patch

5 months agomake-debug-print
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
make-debug-print

Gbp-Pq: Name make-debug-print.diff

5 months agoFix alignment issues on m68k
John Paul Adrian Glaubitz [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Fix alignment issues on m68k

Last Update: 2019-04-29

Last Update: 2019-04-29

Gbp-Pq: Name m68k-support.diff

5 months agodnd-files
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
dnd-files

Gbp-Pq: Name dnd-files.diff

5 months agoatk-wrapper-security
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
atk-wrapper-security

Gbp-Pq: Name atk-wrapper-security.diff

5 months agozero-x32
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
zero-x32

Gbp-Pq: Name zero-x32.diff

5 months agomachine-flag
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
machine-flag

Gbp-Pq: Name machine-flag.diff

5 months agojdk-i18n-pt_BR
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
jdk-i18n-pt_BR

Gbp-Pq: Name jdk-i18n-pt_BR.diff

5 months agojdk-getAccessibleValue
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
jdk-getAccessibleValue

Gbp-Pq: Name jdk-getAccessibleValue.diff

5 months agos390x-opt
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
s390x-opt

Gbp-Pq: Name s390x-opt.diff

5 months agomultiple-pkcs11-library-init
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
multiple-pkcs11-library-init

# HG changeset patch
# User andrew
# Date 1352129932 0
# Node ID e9c857dcb964dbfa5eef3a3590244cb4d999cf7a
# Parent  1406789608b76d0906881979335d685855f44190
Allow multiple PKCS11 library initialisation to be a non-critical error.

Gbp-Pq: Name multiple-pkcs11-library-init.diff

5 months agoadlc-parser
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
adlc-parser

# DP: fixes an uninitialized memory issue in adlc

# DP: fixes an uninitialized memory issue in adlc

Gbp-Pq: Name adlc-parser.diff

5 months agodefault-jvm-cfg
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
default-jvm-cfg

Gbp-Pq: Name default-jvm-cfg.diff

5 months agoicedtea-override-redirect-compiz
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
icedtea-override-redirect-compiz

Gbp-Pq: Name icedtea-override-redirect-compiz.diff

5 months agoicc_loading_with_symlink
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
icc_loading_with_symlink

Gbp-Pq: Name icc_loading_with_symlink.diff

5 months agohotspot-mips-align
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
hotspot-mips-align

Gbp-Pq: Name hotspot-mips-align.diff

5 months agosystem-pcsclite
OpenJDK Team [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
system-pcsclite

Gbp-Pq: Name system-pcsclite.diff

5 months agoopenjdk-21 (21.0.8+9-1) unstable; urgency=high
Matthias Klose [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
openjdk-21 (21.0.8+9-1) unstable; urgency=high

  * OpenJDK 21.0.8 release, build 9.
    - Addresses CVE-2025-5010, CVE-2025-50059, CVE-2025-30754, CVE-2025-30749.

  [ Vladimir Petko ]
  * d/p/jdk-8359735-proposed.patch: Fix process tests failing in Ubuntu 25.10.

[dgit import unpatched openjdk-21 21.0.8+9-1]

5 months agoImport openjdk-21_21.0.8+9.orig.tar.xz
Matthias Klose [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Import openjdk-21_21.0.8+9.orig.tar.xz

[dgit import orig openjdk-21_21.0.8+9.orig.tar.xz]

5 months agoImport openjdk-21_21.0.8+9.orig-googletest.tar.xz
Matthias Klose [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Import openjdk-21_21.0.8+9.orig-googletest.tar.xz

[dgit import orig openjdk-21_21.0.8+9.orig-googletest.tar.xz]

5 months agoImport openjdk-21_21.0.8+9-1.debian.tar.xz
Matthias Klose [Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)]
Import openjdk-21_21.0.8+9-1.debian.tar.xz

[dgit import tarball openjdk-21 21.0.8+9-1 openjdk-21_21.0.8+9-1.debian.tar.xz]

7 months agoMerge version 21.0.7~8ea-1+rpi1 and 21.0.7+6-1 to produce 21.0.7+6-1+rpi1 archive/raspbian/21.0.7+6-1+rpi1 raspbian/21.0.7+6-1+rpi1
Raspbian automatic forward porter [Thu, 8 May 2025 00:37:56 +0000 (01:37 +0100)]
Merge version 21.0.7~8ea-1+rpi1 and 21.0.7+6-1 to produce 21.0.7+6-1+rpi1

7 months agoMerge openjdk-21 (21.0.7+6-1) import into refs/heads/workingbranch
Matthias Klose [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
Merge openjdk-21 (21.0.7+6-1) import into refs/heads/workingbranch

7 months agozero-alpha-workaround
OpenJDK Team [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
zero-alpha-workaround

Gbp-Pq: Name zero-alpha-workaround.diff

7 months agotools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++
Vladimir Petko [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++

Origin: upstream, https://github.com/openjdk/jdk/commit/78a8a99d990dcc0b77c096bb2ca2c1bb86462e3f
Bug: https://bugs.openjdk.org/browse/JDK-8312488
Reviewed-By: asemenyuk, almatvee
Last-Update: 2024-07-18

The generated image contains libjpackageapplauncheraux.so that
contains a destructor function dcon(). It calls already disposed
logger, causing a crash.
Last-Update: 2024-07-18
Gbp-Pq: Name jdk-8312488.patch

7 months ago(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Vladimir Petko [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
(fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble

Origin: upstream, https://github.com/openjdk/jdk/pull/20208
Bug: https://bugs.openjdk.org/browse/JDK-8336529
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-23/+bug/2073335
Last-Update: 2024-07-17

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.
Last-Update: 2024-07-17
Gbp-Pq: Name jdk-8336529-proposed.patch

7 months ago8331541: [i386] linking with libjvm.so fails after JDK-8283326
Vladimir Petko [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
8331541: [i386] linking with libjvm.so fails after JDK-8283326

Origin: https://github.com/openjdk/jdk/pull/19048
Bug: https://bugs.openjdk.org/browse/JDK-8331541
Applied-Upstream: commit:2d622152b07bba0aba8fd5b1e24293e28d6e69f5
Last-Update: 2024-05-02

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.

Gbp-Pq: Name jdk-8331541.patch

7 months agoset default compatible cds alignment to auto for arm64
Vladimir Petko [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
set default compatible cds alignment to auto for arm64

Bug: https://bugs.openjdk.org/browse/JDK-8334895
Last-Update: 2024-06-25

ARM64 requires cds alignment option to be enabled if CDS is enabled.
Setting it to true will enable the option even if CDS is disabled
causing a configuration error. Setting option to auto allows one to
enable it only when CDS is enabled.

Gbp-Pq: Name jdk-8334895-proposed.patch

7 months agouse int instead of time_t to print timezone info
Vladimir Petko [Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)]
use int instead of time_t to print timezone info

Bug: https://bugs.openjdk.org/browse/JDK-8334502
Last-Update: 2024-06-19

printf() call uses %02d format specifier that requires an int parameter.

Gbp-Pq: Name jdk-8334502-proposed.patch