RELEASE NOTES: JDK 11.0.24

Notes generated: Tue Apr 30 06:12:00 CEST 2024

JEPs

None.

RELEASE NOTES

security-libs/javax.net.ssl

Issue Description
JDK-8256660

Disabled DTLS 1.0


DTLS 1.0 has been disabled by default, by adding "DTLSv1.0" to the jdk.tls.disabledAlgorithms security property in the java.security configuration file. DTLS 1.0 has weakened over time and lacks support for stronger cipher suites. Any attempts to use DTLSv1.0 will fail with an SSLHandshakeException. Users can, at their own risk, re-enable the version by removing "DTLSv1.0" from the jdk.tls.disabledAlgorithms security property.


infrastructure/build

Issue Description
JDK-8326891

Native Executables and Libraries on Linux Use `RPATH` Instead of `RUNPATH`


Native executables and libraries on Linux have switched to using RPATH instead of RUNPATH in this release.

JDK native executables and libraries use embedded runtime search paths to locate other internal JDK native libraries. On Linux these can be defined as either RPATH or RUNPATH. The main difference is that the dynamic linker considers RPATH before the LD_LIBRARY_PATH environment variable, while RUNPATH is only considered after LD_LIBRARY_PATH.

By making the change to using RPATH, it is no longer possible to inject external replacements for JDK internal native libraries using LD_LIBRARY_PATH.


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8320303 Allow PassFailJFrame to accept single window creator
P4 JDK-8294156 Allow PassFailJFrame.Builder to create test UI
P4 JDK-8315071 Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
P4 JDK-8316017 Refactor timeout handler in PassFailJFrame

client-libs/2d

Priority Bug Summary
P3 JDK-8326661 sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
P3 JDK-8321489 Update LCMS to 2.16
P4 JDK-8328194 Add a test to check default rendering engine
P4 JDK-8273831 PrintServiceLookup spawns 2 threads in the current classloader, getting orphaned

client-libs/java.awt

Priority Bug Summary
P2 JDK-8318854 [macos14] Running any AWT app prints Secure coding warning
P3 JDK-8317287 [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
P4 JDK-8320113 [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
P4 JDK-8324238 [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
P4 JDK-8306634 Open source AWT Event related tests
P4 JDK-8306067 Open source AWT Graphics,GridBagLayout related tests
P4 JDK-8305874 Open source AWT Key, Text Event related tests
P4 JDK-8305943 Open source few AWT Focus related tests
P4 JDK-8315663 Open source misc awt tests
P4 JDK-8315726 Open source several AWT applet tests
P4 JDK-8305942 Open source several AWT Focus related tests
P4 JDK-8306941 Open source several datatransfer and dnd AWT tests
P4 JDK-8307083 Open source some drag and drop tests 3
P4 JDK-8305645 System Tray icons get corrupted when Windows primary monitor changes
P4 JDK-8320342 Use PassFailJFrame for TruncatedPopupMenuTest.java

client-libs/javax.swing

Priority Bug Summary
P2 JDK-8218917 KeyEvent.getModifiers() returns inconsistent values for ALT keys
P3 JDK-8322239 [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
P3 JDK-8187759 Background not refreshed when painting over a transparent JFrame
P3 JDK-8306838 GetGraphicsTest needs to be headful
P4 JDK-8318580 "javax/swing/MultiMonitor/MultimonVImage.java failing with Error. Can't find library: /open/test/jdk/java/awt/regtesthelpers" after JDK-8316053
P4 JDK-8015739 Background of JInternalFrame is located out of JInternalFrame
P4 JDK-8316053 Open some swing tests 3
P4 JDK-8315609 Open source few more swing text/html tests
P4 JDK-8306714 Open source few Swing event and AbstractAction tests
P4 JDK-8315677 Open source few swing JFileChooser and other tests
P4 JDK-8315741 Open source few swing JFormattedTextField and JPopupMenu tests
P4 JDK-8315889 Open source several Swing HTMLDocument related tests
P4 JDK-8315834 Open source several Swing JSpinner related tests
P4 JDK-8315824 Open source several Swing Text/HTML related tests
P4 JDK-8316164 Opensource JMenuBar manual test
P4 JDK-8316154 Opensource JTextArea manual tests
P4 JDK-8316242 Opensource SwingGraphics manual test
P4 JDK-8328540 test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
P4 JDK-8297449 Update JInternalFrame Metal Border code

core-libs

Priority Bug Summary
P4 JDK-8286705 GCC 12 reports use-after-free potential bugs
P4 JDK-8326351 Update the Zlib version in open/src/java.base/share/legal/zlib.md to 1.3.1

core-libs/java.lang

Priority Bug Summary
P4 JDK-8328524 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap

core-libs/java.lang:reflect

Priority Bug Summary
P3 JDK-8319436 Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
P4 JDK-8261404 Class.getReflectionFactory() is not thread-safe

core-libs/java.math

Priority Bug Summary
P4 JDK-8294137 Review running times of java.math tests

core-libs/java.net

Priority Bug Summary
P2 JDK-8282017 sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
P3 JDK-8267938 (sctp) SCTP channel factory methods should check platform support
P3 JDK-8318599 HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
P4 JDK-8163921 HttpURLConnection default Accept header is malformed according to HTTP/1.1 RFC
P4 JDK-8061729 Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs

core-libs/java.nio

Priority Bug Summary
P3 JDK-8263940 NPE when creating default file system when default file system provider is packaged as JAR file on class path
P4 JDK-8320943 Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch

core-libs/java.util

Priority Bug Summary
P3 JDK-8255031 Update java/util/prefs/AddNodeChangeListener.java to report more failure info
P4 JDK-8299677 Formatter.format might take a long time to format an integer or floating-point

core-libs/java.util.concurrent

Priority Bug Summary
P3 JDK-8318809 java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8315117 Update Zlib Data Compression Library to Version 1.3
P4 JDK-8324632 Update Zlib Data Compression Library to Version 1.3.1

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-8310923 Refactor Currency tests to use JUnit
P4 JDK-8302512 Update IANA Language Subtag Registry to Version 2023-02-14
P4 JDK-8304761 Update IANA Language Subtag Registry to Version 2023-03-22
P4 JDK-8306031 Update IANA Language Subtag Registry to Version 2023-04-13
P4 JDK-8308021 Update IANA Language Subtag Registry to Version 2023-05-11

core-svc/java.lang.management

Priority Bug Summary
P3 JDK-8299858 [Metrics] Swap memory limit reported incorrectly when too large

core-svc/javax.management

Priority Bug Summary
P4 JDK-8302069 javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java update

hotspot/compiler

Priority Bug Summary
P3 JDK-8325326 [PPC64] Don't relocate in case of allocation failure
P3 JDK-8326101 [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
P3 JDK-8326638 Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
P4 JDK-8325137 com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
P4 JDK-8314220 Configurable InlineCacheBuffer size
P4 JDK-8327136 javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal

hotspot/gc

Priority Bug Summary
P4 JDK-8316608 Enable parallelism in vmTestbase/gc/vector tests
P4 JDK-8318727 Enable parallelism in vmTestbase/vm/gc/concurrent tests

hotspot/jfr

Priority Bug Summary
P3 JDK-8276125 RunThese24H.java SIGSEGV in JfrThreadGroup::thread_group_id
P4 JDK-8322511 [11u] JfrCheckpointThreadClosure::do_thread crashes when fetching thread_id
P4 JDK-8326529 JFR: Test for CompilerCompile events fails due to time out

hotspot/runtime

Priority Bug Summary
P3 JDK-8328812 Update and move siphash license
P4 JDK-8320005 Allow loading of shared objects with .a extension on AIX
P4 JDK-8322783 prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
P4 JDK-8314830 runtime/ErrorHandling/ tests ignore external VM flags
P4 JDK-8324598 use mem_unit when working with sysinfo memory and swap related information

hotspot/svc

Priority Bug Summary
P4 JDK-8310380 Handle problems in core-related tests on macOS when codesign tool does not work

hotspot/svc-agent

Priority Bug Summary
P3 JDK-8270199 Most SA tests are skipped on macosx-aarch64 because all executables are signed
P3 JDK-8248194 Need better support for running SA tests on core files
P4 JDK-8307955 Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
P4 JDK-8241951 SA core file tests failed to find core file for signed binaries on OSX 10.15

hotspot/test

Priority Bug Summary
P3 JDK-8158048 Fix failure message from jtreg gtest wrapper
P4 JDK-8326006 Allow TEST_VM_FLAGLESS to set flagless mode
P4 JDK-8323994 gtest runner repeats test name for every single gtest assertion
P4 JDK-8323717 Introduce test keyword for tests that need external dependencies
P4 JDK-8263659 Reflow GTestResultParser for better readability
P4 JDK-8214400 Update hotspot application/jcstress jtreg tests wrappers to use jcstress 0.5
P4 JDK-8305962 update jcstress to 0.16
P5 JDK-8320129 "top" command during jtreg failure handler does not display CPU usage on OSX

infrastructure

Priority Bug Summary
P4 JDK-8326801 Bump update version for OpenJDK: jdk-11.0.24

infrastructure/build

Priority Bug Summary
P1 JDK-8292763 JDK-8292716 breaks configure without jtreg
P3 JDK-8325972 Add -x to bash for building with LOG=debug
P3 JDK-8292717 Clean up checking of testing requirements in configure
P3 JDK-8292716 Configure should check that jtreg is of the required version
P3 JDK-8210988 Improved handling of compiler warnings in the build
P3 JDK-8248667 Need support for building native libraries located in the test/lib directory
P3 JDK-8314495 Update to use jtreg 7.3.1
P4 JDK-8293965 Code signing warnings after JDK-8293550
P4 JDK-8328705 GHA: Cross-compilation jobs do not require build JDK
P4 JDK-8324723 GHA: Upgrade some actions to avoid deprecated Node 16
P4 JDK-8271142 package help is not displayed for missing X11/extensions/Xrandr.h
P4 JDK-8326891 Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries

other-libs/other

Priority Bug Summary
P4 JDK-8243010 Test support: Customizable Hex Printer

security-libs

Priority Bug Summary
P3 JDK-8280546 Remove hard-coded 127.0.0.1 loopback address
P3 JDK-8319128 sun/security/pkcs11 tests fail on OL 7.9 aarch64

security-libs/java.security

Priority Bug Summary
P3 JDK-8313206 PKCS11 tests silently skip execution
P3 JDK-8314283 Support for NSS tests on aarch64 platforms

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P3 JDK-8319136 Skip pkcs11 tests on linux-aarch64

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8256660 Disable DTLS 1.0
P3 JDK-8297798 Timeout with DTLSOverDatagram test template
P4 JDK-8264152 javax/net/ssl/DTLS/RespondToRetransmit.java timed out
P4 JDK-8312383 Log X509ExtendedKeyManager implementation class name in TLS/SSL connection

tools/javac

Priority Bug Summary
P4 JDK-8281507 Two javac tests have bad jtreg `@clean` tags

tools/javadoc(tool)

Priority Bug Summary
P3 JDK-8220202 Simplify/standardize method naming for HtmlTree
P4 JDK-8314552 Fix javadoc tests to work with jtreg 7

tools/jlink

Priority Bug Summary
P4 JDK-8159927 Add a test to verify JMOD files created in the images do not have debug symbols

tools/launcher

Priority Bug Summary
P4 JDK-8268974 GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used