RELEASE NOTES: JDK 15.0.4

Notes generated: Wed Apr 03 00:01:14 CEST 2024

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8225081

Removed Telia Company's Sonera Class2 CA Certificate


The following root certificate has been removed from the cacerts truststore: ` + Telia Company + soneraclass2ca DN: CN=Sonera Class2 CA, O=Sonera, C=FI `


JDK-8256421

Added 2 HARICA Root CA Certificates


The following root certificates have been added to the cacerts truststore: ``` + HARICA + haricarootca2015 DN: CN=Hellenic Academic and Research Institutions RootCA 2015, O=Hellenic Academic and Research Institutions Cert. Authority, L=Athens, C=GR

  • haricaeccrootca2015 DN: CN=Hellenic Academic and Research Institutions ECC RootCA 2015, O=Hellenic Academic and Research Institutions Cert. Authority, L=Athens, C=GR ```

FIXED ISSUES

client-libs

Priority Bug Summary
P3 JDK-8259869 [macOS] Remove desktop module dependencies on JNF Reference APIs
P3 JDK-8259651 [macOS] Replace JNF_COCOA_ENTER/EXIT macros
P3 JDK-8259343 [macOS] Update JNI error handling in Cocoa code.
P3 JDK-8260616 Removing remaining JNF dependencies in the java.desktop module
P4 JDK-8263846 Bad JNI lookup getFocusOwner in accessibility code on macOS

client-libs/2d

Priority Bug Summary
P3 JDK-8244088 [Regression] Switch of Gnome theme ends up in deadlocked UI
P3 JDK-8259232 Bad JNI lookup during printing
P3 JDK-8262829 Native crash in Win32PrintServiceLookup.getAllPrinterNames()
P3 JDK-8261170 Upgrade to FreeType 2.10.4
P3 JDK-8260380 Upgrade to LittleCMS 2.12
P4 JDK-8240487 Cleanup whitespace in .cc, .hh, .m, and .mm files
P4 JDK-8249215 JFrame::setVisible crashed with -Dfile.encoding=UTF-8 on Japanese Windows.

client-libs/java.awt

Priority Bug Summary
P2 JDK-8248532 Every time I change keyboard language at my MacBook, Java crashes
P2 JDK-8261231 Windows IME was disabled after DnD operation
P3 JDK-8264786 [macOS] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched
P3 JDK-8259585 [macOS] Bad JNI lookup error : Accessible actions do not work on macOS
P3 JDK-8257242 [macOS] Java app crashes while switching input methods
P3 JDK-8262446 DragAndDrop hangs on Windows
P4 JDK-8257414 Drag n Drop target area is wrong on high DPI systems
P4 JDK-8257853 Remove dependencies on JNF's JNI utility functions in AWT and 2D code

client-libs/javax.accessibility

Priority Bug Summary
P3 JDK-8261198 [macOS] Incorrect JNI parameters in number conversion in A11Y code

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8255880 UI of Swing components is not redrawn after their internal state changed
P3 JDK-8247753 UIManager.getSytemLookAndFeelClassName() returns wrong value on Fedora 32

core-libs

Priority Bug Summary
P3 JDK-8255908 ExceptionInInitializerError due to UncheckedIOException while initializing cgroupv1 subsystem
P4 JDK-8250627 Use -XX:+/-UseContainerSupport for enabling/disabling Java container metrics

core-libs/java.net

Priority Bug Summary
P3 JDK-7146776 Deadlock between URLStreamHandler.getHostAddress and file.Handler.openconnection
P4 JDK-8257707 Fix incorrect format string in Http1HeaderParser

core-libs/java.nio

Priority Bug Summary
P3 JDK-8264821 DirectIOTest fails on a system with large block size

core-libs/java.util.logging

Priority Bug Summary
P3 JDK-8252883 AccessDeniedException caused by delayed file deletion on Windows

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8262110 DST starts from incorrect time in 2038
P3 JDK-8073446 TimeZone getOffset API does not return a DST offset between years 2038-2137
P3 JDK-8255086 Update the root locale display names
P4 JDK-8247432 Update IANA Language Subtag Registry to Version 2020-09-29

hotspot/compiler

Priority Bug Summary
P2 JDK-8261022 Fix incorrect result of Math.abs() with char type
P2 JDK-8256633 Fix product build on Windows+Arm64
P2 JDK-8263361 Incorrect arraycopy stub selected by C2 for SATB collectors
P3 JDK-8248552 C2 crashes with SIGFPE due to division by zero
P3 JDK-8249608 Vector register used by C2 compiled method corrupted at safepoint

hotspot/jfr

Priority Bug Summary
P2 JDK-8258396 SIGILL in jdk.jfr.internal.PlatformRecorder.rotateDisk()
P3 JDK-8257621 JFR StringPool misses cached items across consecutive recordings
P4 JDK-8255992 JFR EventWriter does not use first string from StringPool with id 0
P4 JDK-8252090 JFR: StreamWriterHost::write_unbuffered() stucks in an infinite loop OpenJDK (build 13.0.1+9)

hotspot/runtime

Priority Bug Summary
P2 JDK-8267235 [macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash
P2 JDK-8261395 C1 crash "cannot make java calls from the native compiler"
P3 JDK-8260349 Cannot programmatically retrieve Metaspace max set via JAVA_TOOL_OPTIONS
P3 JDK-8257746 Regression introduced with JDK-8250984 - memory might be null in some machines
P3 JDK-8261397 try catch Method failing to work when dividing an integer by 0
P4 JDK-8244500 jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java
P4 JDK-8250984 Memory Docker tests fail on some Linux kernels w/o cgroupv1 swap limit capabilities
P4 JDK-8251257 NMT: jcmd VM.native_memory scale=1 crashes target VM
P4 JDK-8253476 TestUseContainerSupport.java fails on some Linux kernels w/o swap limit capabilities

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8257988 Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m

infrastructure

Priority Bug Summary
P3 JDK-8264823 Update building.html document for Git in jdk15u
P4 JDK-8264255 Bump update version for OpenJDK: jdk-15.0.4
P4 JDK-8265860 Update version .jcheck/conf in jdk15u to be 15.0.4
P4 JDK-8264256 Update version .jcheck/conf in jdk15u-dev to be 15.0.4

infrastructure/build

Priority Bug Summary
P3 JDK-8256751 Incremental rebuild with precompiled header fails when touching a header file
P3 JDK-8256501 libTestMainKeyWindow fails to build with Xcode 12.2
P3 JDK-8251549 Update docs on building for Git
P4 JDK-8257547 Handle multiple prereqs on the same line in deps files
P4 JDK-8256810 Incremental rebuild broken on Macosx
P4 JDK-8257633 Missing -mmacosx-version-min=X flag when linking libjvm

security-libs/java.security

Priority Bug Summary
P2 JDK-8225072 Add LuxTrust certificate that is expiring in March 2021 to list of allowed but expired certs
P2 JDK-8259312 VerifyCACerts.java fails as soneraclass2ca cert will expire in 90 days
P3 JDK-8257858 [macOS]: Remove JNF dependency from libosxsecurity/KeystoreImpl.m
P3 JDK-8256421 Add 2 HARICA roots to cacerts truststore
P3 JDK-8258630 Add expiry exception for QuoVadis root certificate
P3 JDK-8225081 Remove Telia Company CA certificate expiring in April 2021
P4 JDK-8253299 Manifest bytes are read twice when verifying a signed JAR

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P3 JDK-8244154 Update SunPKCS11 provider with PKCS11 v3.0 header files
P4 JDK-8259319 Illegal package access when SunPKCS11 requires SunJCE's classes

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8241248 NullPointerException in sun.security.ssl.HKDF.extract(HKDF.java:93)

security-libs/org.ietf.jgss:krb5

Priority Bug Summary
P3 JDK-8257860 [macOS]: Remove JNF dependency from libosxkrb5/SCDynamicStoreConfig.m

tools/javac

Priority Bug Summary
P4 JDK-8256809 Annotation processing causes NPE during flow analysis

tools/jlink

Priority Bug Summary
P3 JDK-8255845 Memory leak in imageFile.cpp