RELEASE NOTES: JDK 13.0.12

Notes generated: Thu Jun 06 08:58:25 CEST 2024

JEPs

None.

RELEASE NOTES

core-libs/java.net

Issue Description
JDK-8273655

`java.net.FileNameMap.getContentTypeFor(fileName)` May Return a Different MIME Type for Certain Filenames


The default, built-in filename map in the JDK has been updated to include additional filename to MIME type mappings. Along with the additions, existing mappings of .gz and .zip have also been updated. This can result in the default, built-in java.net.FileNameMap instance returning a different MIME type from the getContentTypeFor(String fileName) method than what it returned in previous JDK releases.

java.net.URLConnection.guessContentTypeFromName(String fname), which may use this default, built-in FileNameMap instance, thus may return a different value than previously.


core-libs/java.io

Issue Description
JDK-8285445

New System Property to Disable Windows Alternate Data Stream Support in java.io.File


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


core-libs/java.util.jar

Issue Description
JDK-8193682

Default JDK Compressor Will Be Closed when IOException Is Encountered


DeflaterOutputStream.close() and GZIPOutputStream.finish() methods have been modified to close out the associated default JDK compressor before propagating a Throwable up the stack. ZIPOutputStream.closeEntry() method has been modified to close out the associated default JDK compressor before propagating an IOException, not of type ZipException, up the stack.


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8285686 Update FreeType to 2.12.0

core-libs

Priority Bug Summary
P4 JDK-8250863 Build error with GCC 10 in NetworkInterface.c and k_standard.c
P4 JDK-8238380 java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10

core-libs/java.io

Priority Bug Summary
P3 JDK-8285445 cannot open file "NUL:"

core-libs/java.lang

Priority Bug Summary
P3 JDK-8275703 System.loadLibrary fails on Big Sur for libraries hidden from filesystem

core-libs/java.net

Priority Bug Summary
P4 JDK-8238386 (sctp) jdk.sctp/unix/native/libsctp/SctpNet.c "multiple definition" link errors with GCC10
P4 JDK-8273655 content-types.properties files are missing some common types

core-libs/java.time

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

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8278794 Infinite loop in DeflaterOutputStream.finish()
P4 JDK-8193682 Infinite loop in ZipOutputStream.close()
P4 JDK-8277087 ZipException: zip END header not found at ZipFile#Source.findEND

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-8258795 Update IANA Language Subtag Registry to Version 2021-05-11

hotspot/compiler

Priority Bug Summary
P2 JDK-8272574 C2: assert(false) failed: Bad graph detected in build_loop_late
P3 JDK-8270886 Crash in PhaseIdealLoop::verify_strip_mined_scheduling
P4 JDK-8233941 Generated Pipeline_Use_Cycle_Mask::operator= interferes with memcpy updates

hotspot/runtime

Priority Bug Summary
P3 JDK-8281275 Upgrading from 8 to 11 no longer accepts '/' as filepath separator in gc paths
P4 JDK-8257794 Zero: assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1) failed: wrong on Linux/x86_32

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8258471 "search codecache" clhsdb command does not work

infrastructure

Priority Bug Summary
P4 JDK-8283444 Bump update version for OpenJDK: jdk-13.0.12

infrastructure/build

Priority Bug Summary
P4 JDK-8241271 Make hotspot build reproducible

security-libs

Priority Bug Summary
P3 JDK-8282538 PKCS11 tests fail on CentOS Stream 9

security-libs/java.security

Priority Bug Summary
P3 JDK-8273826 Correct Manifest file name and NPE checks
P3 JDK-8278851 Correct signer logic for jars signed with multiple digest algorithms
P3 JDK-8287109 Distrust.java failed with CertificateExpiredException
P3 JDK-8255266 Update Public Suffix List to 3c213aa
P4 JDK-8238388 libj2gss/NativeFunc.o "multiple definition" link errors with GCC10

tools/jshell

Priority Bug Summary
P4 JDK-8273682 Upgrade Jline to 3.20.0

xml/jaxp

Priority Bug Summary
P4 JDK-8285726 [11u, 17u] Unify fix for JDK-8284548 with version from head
P4 JDK-8285727 [11u, 17u] Unify fix for JDK-8284920 with version from head
P4 JDK-8255035 Update Commons BCEL to Version 6.5.0
P4 JDK-8276657 XSLT compiler tries to define a class with empty name