openjdk-17.git
16 months ago[PATCH] 8325567: jspawnhelper without args fails with segfault
Elif Aslan [Fri, 8 Mar 2024 22:09:18 +0000 (22:09 +0000)]
[PATCH] 8325567: jspawnhelper without args fails with segfault

Origin: commit,262747094670b00ac63463a059074afa9b81d8a4
Bug: https://bugs.openjdk.org/browse/JDK-8325567
Co-authored-by: Vladimir Petko <vpetko@openjdk.org>
Reviewed-by: eastigeevich, rriggs, shade, vpetko
Reviewed-by: eastigeevich, rriggs, shade, vpetko
Gbp-Pq: Name jdk-8325567.patch

16 months agoset default compatible cds alignment to auto for arm64
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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 to
enable it only when CDS is enabled.

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

16 months agouse int instead of time_t to print timezone info
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months ago[PATCH] 8295111: dpkg appears to have problems resolving symbolically linked native...
Alexey Semenyuk [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
[PATCH] 8295111: dpkg appears to have problems resolving symbolically linked native libraries

Applied-Upstream: 32946e1882e9b22c983cbba3c6bda3cc7295946a
Bug: https://bugs.openjdk.org/browse/JDK-8295111
Reviewed-by: almatvee
Gbp-Pq: Name jdk-8295111.patch

16 months agoattach in linux hangs due to permission denied accessing /proc/pid/root
Sebastian Lövdahl [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agogoogletest-version
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
googletest-version

Gbp-Pq: Name googletest-version.diff

16 months agoloong64-autoconf-config
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
loong64-autoconf-config

Gbp-Pq: Name loong64-autoconf-config.diff

16 months agoUse IP address in tests
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoReplace hostname with a non-existant ip address
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoAdd missing permissions for TestNG 7.7
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoSkip test when getFileStore() fails
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
Skip test when getFileStore() fails

Bug: https://bugs.openjdk.org/browse/JDK-8166162
Forwarded: not-needed
Last-Update: 2023-03-27

Due to https://bugs.openjdk.org/browse/JDK-8166162 getFileStore() fails with exception
failing the test suite. Skip test when getFileStore() throws.

Gbp-Pq: Name log-generated-classes-test.patch

16 months agoMisalign address in the test rather than structure
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoarmhf does not support frame unwinding, simplify assertion
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
armhf does not support frame unwinding, simplify assertion

Bug: https://bugs.openjdk.org/browse/JDK-8305480

os::current_frame() is stubbed out on armhf and this test fails.
Simplify assertion as there is no "from xxxx" output on armhf.

Gbp-Pq: Name update-assertion-for-armhf.patch

16 months agoAdd support for building with the system google test
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
Add support for building with the system google test

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-20/+bug/2012316
Last-Update: 2023-07-20

A major portion of hotspot tests require google test.
In order to get tier1 tests passing the package should build
with the system google test.

Gbp-Pq: Name build_gtest.patch

16 months ago8314491: Linux: jexec launched via PATH fails to find java
Vladimir Petko [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
8314491: Linux: jexec launched via PATH fails to find java

Bug: https://github.com/openjdk/jdk/pull/15343
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029342
Applied-Upstream: dab1c213fd2760686a7bf3fc8838f4a21056a954
Last-Update: 2023-09-11

 jexec uses argv[0] parameter to find its own location.
 argv[0] is populated with the command value causing a failure to locate java
 when jexec is found in the PATH (in this case argv[0] contains just 'jexec')

Gbp-Pq: Name 8314491-jexec.patch

16 months agomips
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
mips

# DP: Untested patch suggested to fix #983878

# DP: Untested patch suggested to fix #983878

Gbp-Pq: Name mips.diff

16 months agojlink: Hash of module differs to expected hash recorded in java.base
Julian Gilbey [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoMakes the generated module-info.java files reproducible (removes a captured build...
Emmanuel Bourg [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
Makes the generated module-info.java files reproducible (removes a captured build path)

Forwarded: no

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

16 months agoMakes the generated character data classes reproducible (removes a timestamp and...
Emmanuel Bourg [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoRevert upstream default to GTK2
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
Revert upstream default to GTK2

OpenJDK 11 uses GTK3 by default for the GTK Look and Feel but it still
has too many pending issues and artifacts and is not on par with GTK2
support. This patch is the reverse of the upstream commit which ensures
that GTK2 is tried before GTK3.
 When GTK3 becomes better supported we should drop this and update the
 dlopen_jre_depends variable in debian/rules accordingly.
Origin: upstream, http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/3e3696a308e1
Bug: https://bugs.openjdk.java.net/browse/JDK-8198649,
     https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8198654
Bug-Ubuntu: https://launchpad.net/bugs/1770278
Forwarded: not-needed
Applied-Upstream: http//hg.openjdk.java.net/jdk-updates/jdk11u/rev/3e3696a308e1
Reviewed-by: <name and email of a reviewer, optional>
Last-Update: 2019-03-27 <YYYY-MM-DD, last update of the meta-information, optional>

Gbp-Pq: Name keep-gtk2-as-default.patch

16 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

16 months agomake-debug-print
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
make-debug-print

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

16 months agoMakes the timestamp in the properties files header reproducible when SOURCE_DATE_EPOC...
Emmanuel Bourg [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoFix alignment issues on m68k
John Paul Adrian Glaubitz [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
Fix alignment issues on m68k

Last Update: 2019-04-29

Last Update: 2019-04-29

Gbp-Pq: Name m68k-support.diff

16 months agodnd-files
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
dnd-files

Gbp-Pq: Name dnd-files.diff

16 months agoatk-wrapper-security
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
atk-wrapper-security

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

16 months agohotspot-disable-exec-shield-workaround
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
hotspot-disable-exec-shield-workaround

Gbp-Pq: Name hotspot-disable-exec-shield-workaround.diff

16 months agozero-x32
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
zero-x32

Gbp-Pq: Name zero-x32.diff

16 months agomachine-flag
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
machine-flag

Gbp-Pq: Name machine-flag.diff

16 months ago8199220
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
8199220

# HG changeset patch
# User enevill
# Date 1520877434 0
#      Mon Mar 12 17:57:14 2018 +0000
# Node ID 81265b23c488c7fd03ebaee04d1802fc0ada737e
# Parent  ecd91135d645bed6620abbd76ce30a906b6d7d44
8199220: Zero build broken after 81951038191102 and 8189871
Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp
Gbp-Pq: Name 8199220.diff

16 months agojdk-i18n-pt_BR
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
jdk-i18n-pt_BR

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

16 months agojtreg-location
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
jtreg-location

Gbp-Pq: Name jtreg-location.diff

16 months agojdk-getAccessibleValue
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
jdk-getAccessibleValue

Gbp-Pq: Name jdk-getAccessibleValue.diff

16 months agos390x-opt
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
s390x-opt

Gbp-Pq: Name s390x-opt.diff

16 months agomultiple-pkcs11-library-init
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agoadlc-parser
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +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

16 months agodefault-jvm-cfg
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
default-jvm-cfg

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

16 months agolibpcsclite-dlopen
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
libpcsclite-dlopen

Gbp-Pq: Name libpcsclite-dlopen.diff

16 months agoicedtea-override-redirect-compiz
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
icedtea-override-redirect-compiz

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

16 months agoicc_loading_with_symlink
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
icc_loading_with_symlink

Gbp-Pq: Name icc_loading_with_symlink.diff

16 months agohotspot-mips-align
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
hotspot-mips-align

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

16 months agosystem-pcsclite
OpenJDK Team [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
system-pcsclite

Gbp-Pq: Name system-pcsclite.diff

16 months agoopenjdk-17 (17.0.12+7-2) unstable; urgency=medium
Matthias Klose [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
openjdk-17 (17.0.12+7-2) unstable; urgency=medium

  [ Vladimir Petko ]
  * d/p/jdk-8312488.patch: Add upstream patch to resolve jpackage crash.
  * d/copyright: Regenerate copyright.
  * d/rules, d/t/*: Collate all excluded tests into d/t/problemlist.csv.
  * d/rules: Enable fallback linker for Foreign Function and Memory API
    on i386 and armhf.
  * d/watch: Use fixed googletest version.
  * d/p/jdk-8336529-proposed.patch: Fix time_t migration issue on armhf.
    openjdk is unable to set file last modified timestamp.
  * d/p/jdk-8334895-proposed.patch: Refresh patch.
  * d/rules: Relax jtreg7 version condition for backports.
  * d/rules, d/control.in: Depend on pkgconf rather than pkg-config in
    bookworm and later releases. This resolves lintian warning
    build-depends-on-obsolete-package Build-Depends: pkg-config => pkgconf.
  * d/rules: Drop autotools-dev dependency for the modern debhelper.
    This resolves obsolete autotools-dev dependency lintian warning.
    See #844191.

[dgit import unpatched openjdk-17 17.0.12+7-2]

16 months agoImport openjdk-17_17.0.12+7-2.debian.tar.xz
Matthias Klose [Tue, 30 Jul 2024 06:42:49 +0000 (08:42 +0200)]
Import openjdk-17_17.0.12+7-2.debian.tar.xz

[dgit import tarball openjdk-17 17.0.12+7-2 openjdk-17_17.0.12+7-2.debian.tar.xz]

17 months agoImport openjdk-17_17.0.12+7.orig.tar.xz
Matthias Klose [Wed, 17 Jul 2024 11:02:09 +0000 (13:02 +0200)]
Import openjdk-17_17.0.12+7.orig.tar.xz

[dgit import orig openjdk-17_17.0.12+7.orig.tar.xz]

17 months agoImport openjdk-17_17.0.12+7.orig-googletest.tar.xz
Matthias Klose [Wed, 17 Jul 2024 11:02:09 +0000 (13:02 +0200)]
Import openjdk-17_17.0.12+7.orig-googletest.tar.xz

[dgit import orig openjdk-17_17.0.12+7.orig-googletest.tar.xz]