RELEASE NOTES: JDK 15.0.6

Notes generated: Sun Nov 03 23:06:41 CET 2024

JEPs

None.

RELEASE NOTES

core-libs/java.nio

Issue Description
JDK-8251329

Zip File System Provider Throws ZipException When Entry Name Element Contains "." or ".."


The ZIP file system provider has been changed to reject existing ZIP files that contain entries with "." or ".." in name elements. ZIP files with these entries cannot be used as a file system. Invoking the java.nio.file.FileSystems.newFileSystem(...) methods throw ZipException if the ZIP file contains these entries.


hotspot/runtime

Issue Description
JDK-8273229

Release Doesn't Correctly Recognize Windows Server


This release doesn't correctly identify Windows Server. The property os.name is set to Windows 2019 on Windows Server 2022. In HotSpot error logs, the OS is identified as Windows 10.0 for Windows Server releases 2016, 2019, and 2022; however, the HotSpot error log does show the Build number. Windows Server 2016 has Build 14393 or above, Windows Server 2019 has Build 17763 or above, and Windows Server 2022 has Build 20348 or above.


Release Doesn't Correctly Recognize Windows Server 2022


This release doesn't correctly identify Windows Server 2022. The property os.name is set to Windows Server 2019 on Windows Server 2022. In HotSpot error logs the OS is identified as Windows Server 2019; however, the HotSpot error log does show the Build number. Windows Server 2022 has Build 20348, or above.


JDK-8274840

Release Doesn't Correctly Recognize Windows 11


This release doesn't correctly identify Windows 11. The property os.name is set to Windows 10 on Windows 11. In HotSpot error logs, the OS is identified as Windows 10; however, the HotSpot error log does show the Build number. Windows 11 has Build 22000.194 or above.


security-libs/java.security

Issue Description
JDK-8225083

Removal of Google's GlobalSign Root Certificate


The following root certificate from Google has been removed from the cacerts keystore: ``` + alias name "globalsignr2ca [jdk]" Distinguished Name: CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R2

```


JDK-8225082

Removal of IdenTrust Root Certificate


The following root certificate from IdenTrust has been removed from the cacerts keystore: ``` + alias name "identrustdstx3 [jdk]" Distinguished Name: CN=DST Root CA X3, O=Digital Signature Trust Co.

```


core-libs/java.time

Issue Description
JDK-8274407

Update Timezone Data to 2021c


The IANA Time Zone Database, on which the JDK's Date/Time libraries are based, has made a tweak to some of the time zone rules in 2021c.

Note that in 2021b, which is cumulatively included in this change, some of the time zone rules prior to the year 1970 have been modified according to changes introduced with 2021b. For more details, refer to the announcement of 2021b.


FIXED ISSUES

client-libs

Priority Bug Summary
P2 JDK-8266545 8261169 broke Harfbuzz build with gcc 7 and 8
P4 JDK-8272332 --with-harfbuzz=system doesn't add -lharfbuzz after JDK-8255790

client-libs/2d

Priority Bug Summary
P2 JDK-8250605 Linux x86_32 builds fail after JDK-8249821
P2 JDK-8273358 macOS Monterey does not have the font Times needed by Serif
P3 JDK-8247872 Upgrade HarfBuzz to 2.7.2
P3 JDK-8261169 Upgrade HarfBuzz to 2.8.0
P4 JDK-8255790 GTKL&F: Java 16 crashes on initialising GTKL&F on Manjaro Linux
P4 JDK-8250894 Provide a configure option to build and run against the platform libharfbuzz
P4 JDK-8249821 Separate libharfbuzz from libfontmanager

client-libs/java.awt

Priority Bug Summary
P4 JDK-8266949 Check possibility to disable OperationTimedOut on Unix
P4 JDK-8268620 InfiniteLoopException test may fail on x86 platforms

client-libs/javax.accessibility

Priority Bug Summary
P2 JDK-8274381 missing CAccessibility definitions in JNI code
P3 JDK-8274056 JavaAccessibilityUtilities leaks JNI objects

client-libs/javax.imageio

Priority Bug Summary
P3 JDK-8270893 IndexOutOfBoundsException while reading large TIFF file

client-libs/javax.swing

Priority Bug Summary
P4 JDK-8196100 javax/swing/text/JTextComponent/5074573/bug5074573.java fails

core-libs

Priority Bug Summary
P3 JDK-8269850 Most JDK releases report macOS version 12 as 10.16 instead of 12.0

core-libs/java.lang

Priority Bug Summary
P4 JDK-8253702 BigSur version number reported as 10.16, should be 11.nn
P4 JDK-8226810 Failed to launch JVM because of NullPointerException occured on System.props

core-libs/java.lang.invoke

Priority Bug Summary
P3 JDK-8256066 Tests use deprecated TestNG API that is no longer available in new versions

core-libs/java.net

Priority Bug Summary
P3 JDK-8274779 HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST
P4 JDK-8266761 AssertionError in sun.net.httpserver.ServerImpl.responseCompleted

core-libs/java.nio

Priority Bug Summary
P4 JDK-8251329 (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside
P4 JDK-8190753 (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream

core-libs/java.time

Priority Bug Summary
P2 JDK-8276536 Update TimeZoneNames files to follow the changes made by JDK-8275766
P3 JDK-8274407 (tz) Update Timezone Data to 2021c
P3 JDK-8275766 (tz) Update Timezone Data to 2021e
P3 JDK-8275849 TestZoneInfo310.java fails with tzdata2021e
P4 JDK-8274467 TestZoneInfo310.java fails with tzdata2021b
P4 JDK-8274468 TimeZoneTest.java fails with tzdata2021b

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8273790 Potential cyclic dependencies between Gregorian and CalendarSystem

core-libs/javax.naming

Priority Bug Summary
P4 JDK-8248865 Document JNDI/LDAP timeout properties

core-svc/java.lang.instrument

Priority Bug Summary
P4 JDK-8273575 memory leak in appendBootClassPath(), paths must be deallocated

hotspot/compiler

Priority Bug Summary
P2 JDK-8270533 AArch64: size_fits_all_mem_uses should return false if its output is a CAS
P3 JDK-8269179 Crash in TestMacroLogicVector::testSubWordBoolean: assert(_base >= VectorMask && _base <= VectorZ) failed: Not a Vector

hotspot/gc

Priority Bug Summary
P2 JDK-8274501 c2i entry barriers read int as long on AArch64

hotspot/jfr

Priority Bug Summary
P2 JDK-8266206 Build failure after JDK-8264752 with older GCCs
P3 JDK-8274435 EXCEPTION_ACCESS_VIOLATION in BFSClosure::closure_impl
P3 JDK-8264752 SIGFPE crash with option FlightRecorderOptions:threadbuffersize=30M
P4 JDK-8260589 Crash in JfrTraceIdLoadBarrier::load(_jclass*)
P4 JDK-8253421 Initialize JFR trace-IDs with zero

hotspot/runtime

Priority Bug Summary
P3 JDK-8274840 Update OS detection code to recognize Windows 11
P3 JDK-8273229 Update OS detection code to recognize Windows Server 2022
P4 JDK-8274293 Build failure on macOS with Xcode 13.0 as vfork is deprecated

hotspot/svc

Priority Bug Summary
P4 JDK-8254270 Linux 32 bit build doesn't compile libjdwp/log_messages.c

infrastructure

Priority Bug Summary
P4 JDK-8274001 Bump update version for OpenJDK: jdk-15.0.6

security-libs/java.security

Priority Bug Summary
P3 JDK-8273826 Correct Manifest file name and NPE checks
P3 JDK-8225083 Remove Google certificate that is expiring in December 2021
P3 JDK-8225082 Remove IdenTrust certificate that is expiring in September 2021

security-libs/javax.crypto

Priority Bug Summary
P3 JDK-8262316 Reducing locks in RSA Blinding

security-libs/javax.security

Priority Bug Summary
P3 JDK-8273026 Slow LoginContext.login() on multi threading application