Package: openjdk-17 / 17.0.14+7-1~deb12u1

Metadata

Package Version Patches format
openjdk-17 17.0.14+7-1~deb12u1 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 | 7 7 + 0 - 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(+), 9 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(+)

---
libpcsclite dlopen.diff | (download)

src/java.smartcardio/unix/classes/sun/security/smartcardio/PlatformPCSC.java | 38 4 + 34 - 0 !
1 file changed, 4 insertions(+), 34 deletions(-)

---
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 | 3 3 + 0 - 0 !
src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java | 23 17 + 6 - 0 !
2 files changed, 20 insertions(+), 6 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 | 28 24 + 4 - 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, 54 insertions(+), 14 deletions(-)

---
jtreg location.diff | (download)

make/RunTests.gmk | 2 1 + 1 - 0 !
make/autoconf/lib-tests.m4 | 6 3 + 3 - 0 !
make/test/BuildFailureHandler.gmk | 2 1 + 1 - 0 !
3 files changed, 5 insertions(+), 5 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(-)

---
8199220.diff | (download)

src/hotspot/share/utilities/debug.hpp | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
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(+)

---
hotspot disable exec shield workaround.diff | (download)

src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
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/data/x11wrappergen/sizes-32-linux-m68k.txt | 1017 1017 + 0 - 0 !
make/modules/java.desktop/gensrc/GensrcX11Wrappers.gmk | 7 6 + 1 - 0 !
src/hotspot/share/memory/allocation.hpp | 8 4 + 4 - 0 !
src/hotspot/share/oops/constMethod.hpp | 2 1 + 1 - 0 !
src/hotspot/share/oops/oop.hpp | 2 1 + 1 - 0 !
5 files changed, 1029 insertions(+), 7 deletions(-)

 fix alignment issues on m68k
reproducible properties timestamp.diff | (download)

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

 makes the timestamp in the properties files header reproducible when source_date_epoch is specified
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)


keep gtk2 as default.patch | (download)

src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.c | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 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.
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(-)

---
8314491 jexec.patch | (download)

src/java.base/unix/native/launcher/jexec.c | 13 11 + 2 - 0 !
test/jdk/tools/launcher/Jexec.java | 31 19 + 12 - 0 !
2 files changed, 30 insertions(+), 14 deletions(-)

 8314491: linux: jexec launched via path fails to find java
  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')
update assertion for armhf.patch | (download)

test/hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 armhf does not support frame unwinding, simplify assertion
 os::current_frame() is stubbed out on armhf and this test fails.
 Simplify assertion as there is no "from xxxx" output on armhf.
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
log generated classes test.patch | (download)

test/jdk/java/lang/invoke/lambda/LogGeneratedClassesTest.java | 23 15 + 8 - 0 !
1 file changed, 15 insertions(+), 8 deletions(-)

 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.
update permission test.patch | (download)

test/jaxp/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java | 10 10 + 0 - 0 !
test/jdk/java/lang/ProcessHandle/PermissionTest.java | 1 1 + 0 - 0 !
test/jdk/java/sql/testng/util/TestPolicy.java | 2 2 + 0 - 0 !
3 files changed, 13 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/IsReachableViaLoopbackTest.java | 2 1 + 1 - 0 !
test/jdk/java/net/InetAddress/getOriginalHostName.java | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

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

make/autoconf/build-aux/autoconf-config.sub | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
jdk 8307977 proposed.patch | (download)

src/jdk.attach/linux/classes/sun/tools/attach/VirtualMachineImpl.java | 37 23 + 14 - 0 !
1 file changed, 23 insertions(+), 14 deletions(-)

 [patch] 8226919: fix dynamic attach in linux for non-container
 environments


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 8334895 proposed.patch | (download)

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

 set default compatible cds alignment to auto for arm64
 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.
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.