RELEASE NOTES: JDK openjdk8u342

Notes generated: Mon Jun 03 21:43:21 CEST 2024





Issue Description

Customizing PKCS12 keystore Generation

New system and security properties have been added to enable users to customize the generation of PKCS #12 keystores. This includes algorithms and parameters for key protection, certificate protection, and MacData. The detailed explanation and possible values for these properties can be found in the "PKCS12 KeyStore properties" section of the file.

Also, support for the following SHA-2 based HmacPBE algorithms has been added to the SunJCE provider: HmacPBESHA224, HmacPBESHA256, HmacPBESHA384, HmacPBESHA512, HmacPBESHA512/224, HmacPBESHA512/256


Issue Description

New System Property to Disable Windows Alternate Data Stream Support in

The Windows implementation of allows access to NTFS Alternate Data Streams (ADS) by default. Such streams have a structure like “filename:streamname”. A system property has been added to control this behavior. To disable ADS support in, the system property should be set to false (case ignored). Stricter path checking however prevents the use of special devices such as NUL:


Restoring Previous `user.dir` Property Behaviour

A change, JDK-8194154, was introduced in the 8u342 release of OpenJDK, causing the JDK to ignore attempts to set the user.dir property. While this change is suitable for a major release (it was originally introduced in the initial release of OpenJDK 11), changing the behaviour of such a property in an update release creates compatibility issues in software that relies on the behaviour in prior versions of OpenJDK 8. As a result, we have reverted this change in 8u345.



Priority Bug Summary
P4 JDK-8261107 ArrayIndexOutOfBoundsException in the ICC_Profile.getInstance(InputStream)


Priority Bug Summary
P3 JDK-8274751 Drag And Drop hangs on Windows


Priority Bug Summary
P3 JDK-8285445 cannot open file "NUL:"
P3 JDK-8194154 System property user.dir should not be changed
P4 JDK-8285523 Improve test java/io/FileOutputStream/


Priority Bug Summary
P4 JDK-8190753 (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream


Priority Bug Summary
P3 JDK-8283350 (tz) Update Timezone Data to 2022a


Priority Bug Summary
P3 JDK-8274658 ISO 4217 Amendment 170 Update


Priority Bug Summary
P4 JDK-8279669 test/jdk/com/sun/jdi/ uses wrong condition


Priority Bug Summary
P4 JDK-8266187 Memory leak in appendBootClassPath()


Priority Bug Summary
P3 JDK-8244973 serviceability/attach/ fails "stderr was not empty"
P3 JDK-8235211 serviceability/attach/ fails with AttachNotSupportedException: Unable to open socket file


Priority Bug Summary
P2 JDK-8168926 C2: Bytecode escape analyzer crashes due to stack overflow
P4 JDK-8287537 8u JDK-8284620 backport broke AArch64 build
P4 JDK-8284620 CodeBuffer may leak _overflow_arena


Priority Bug Summary
P3 JDK-8202142 jfr/event/io/TestInstrumentation is unstable


Priority Bug Summary
P4 JDK-8255239 The timezone of the hs_err_pid log file is corrupted in Japanese locale


Priority Bug Summary
P4 JDK-8248876 LoadObject with bad base address created for exec file on linux


Priority Bug Summary
P4 JDK-8256414 add optimized build to submit workflow


Priority Bug Summary
P4 JDK-8282552 Bump update version of OpenJDK: 8u342
P4 JDK-8284772 GHA: Use GCC Major Version Dependencies Only


Priority Bug Summary
P1 JDK-8170392 JDK-8031567 broke builds from source bundles
P1 JDK-8170385 JDK-8031567 broke source bundles
P2 JDK-8259924 GitHub actions fail on Linux x86_32 with "Could not configure libc6:i386"
P3 JDK-8031567 Better model for storing source revision information
P3 JDK-8256277 Github Action build on macOS should define OS and Xcode versions
P3 JDK-8256354 Github Action build on Windows should define OS and MSVC versions
P3 JDK-8254054 Pre-submit testing using GitHub Actions should not use the deprecated set-env command
P4 JDK-8256127 Add cross-compiled foreign architectures builds to submit workflow
P4 JDK-8254282 Add Linux x86_32 builds to submit workflow
P4 JDK-8255305 Add Linux x86_32 tier1 to submit workflow
P4 JDK-8221988 add possibility to build with Visual Studio 2019
P4 JDK-8253424 Add support for running pre-submit testing using GitHub Actions
P4 JDK-8254173 Add Zero, Minimal hotspot targets to submit workflow
P4 JDK-8255352 Archive important test outputs in submit workflow
P4 JDK-8263667 Avoid running GitHub actions on branches named pr/*
P4 JDK-8286989 Build failure on macOS after 8281814
P4 JDK-8254175 Build no-pch configuration in debug mode for submit checks
P4 JDK-8281814 Debuginfo.diz contains redundant build path after backport JDK-8025936
P4 JDK-8282225 GHA: Allow one concurrent run per PR only
P4 JDK-8256393 Github Actions build on Linux should define OS and GCC versions
P4 JDK-8260460 GitHub actions still fail on Linux x86_32 with "Could not configure libc6:i386"
P4 JDK-8256747 GitHub Actions: decouple the hotspot build-only jobs from Linux x64 testing
P4 JDK-8278138 OpenJDK8 fails to start on Windows 8.1 after upgrading compiler to VS2017
P4 JDK-8253865 Pre-submit testing using GitHub Actions does not detect failures reliably
P4 JDK-8255373 Submit workflow artifact name is always ""
P4 JDK-8255895 Submit workflow artifacts miss hs_errs/replays due to ZIP include mismatch
P4 JDK-8257056 Submit workflow should apt-get update to avoid package installation errors


Priority Bug Summary
P4 JDK-8282458 Update .jcheck/conf file for 8u move to git


Priority Bug Summary
P4 JDK-8170530 bash configure output contains a typo in a suggested library name


Priority Bug Summary
P4 JDK-8209771 jdk.test.lib.Utils::runAndCheckException error


Priority Bug Summary
P3 JDK-8285591 [11] add signum checks in engineVerify
P3 JDK-8076190 Customizing the generation of a PKCS12 keystore


Priority Bug Summary
P3 JDK-8129572 Cleanup usage of getResourceAsStream in jaxp
P4 JDK-8285727 [11u, 17u] Unify fix for JDK-8284920 with version from head
P4 JDK-8132256 jaxp: Investigate removal of com/sun/org/apache/bcel/internal/util/