RELEASE NOTES: JDK 16.0.1

Notes generated: Wed Apr 03 02:47:07 CEST 2024

JEPs

None.

RELEASE NOTES

security-libs/javax.net.ssl

Issue Description
JDK-8253368

Behavior changes for SSLSocket input stream shut down


The SunJSSE close notification checks for SSLSocket have been made less strict to conform to changes in the Transport Layer Security (TLS) RFCs.

If an application tries to close the input stream of an SSLSocket (via shutdownInput() method) without having received a close notification message from its peer, the SSLSocket will no longer:

  1. trigger the transmission of a TLS fatal-level alert to the peer, and
  2. invalidate the current TLS session.

The new behavior will still consider this condition an error and will throw a local javax.net.ssl.SSLException. A fatal-level alert will no longer be sent to the peer, and the underlying session will remain valid.

In addition, the internal transport context for the SSLSocket will also now be closed. Previously, this step didn't occur if a fatal message was generated.


security-libs/java.security

Issue Description
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/2d

Priority Bug Summary
P3 JDK-8261170 Upgrade to FreeType 2.10.4
P3 JDK-8260380 Upgrade to LittleCMS 2.12

client-libs/java.awt

Priority Bug Summary
P2 JDK-8261231 Windows IME was disabled after DnD operation

core-libs/java.lang

Priority Bug Summary
P4 JDK-8253702 BigSur version number reported as 10.16, should be 11.nn
P4 JDK-8253409 Double-rounding possibility in float fma
P4 JDK-8226810 Failed to launch JVM because of NullPointerException occured on System.props
P4 JDK-8260934 java/lang/StringBuilder/HugeCapacity.java fails without Compact Strings
P4 JDK-8261753 Test java/lang/System/OsVersionTest.java still failing on BigSur patch versions after JDK-8253702
P4 JDK-8262018 Wrong format in SAP copyright header of OsVersionTest

core-libs/java.net

Priority Bug Summary
P3 JDK-7146776 Deadlock between URLStreamHandler.getHostAddress and file.Handler.openconnection
P4 JDK-8259628 jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermittently

core-libs/java.nio

Priority Bug Summary
P4 JDK-8252971 WindowsFileAttributes does not know about Unix domain sockets

core-libs/java.time

Priority Bug Summary
P3 JDK-8260356 (tz) Upgrade Timezone Data to tzdata2021a
P4 JDK-8259048 (tz) Upgrade Timezone Data to tzdata2020f

core-libs/java.util.jar

Priority Bug Summary
P2 JDK-8260010 UTF8ZipCoder not thread-safe since JDK-8243469

core-libs/java.util.logging

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

core-libs/jdk.nashorn

Priority Bug Summary
P3 JDK-8198540 Dynalink leaks memory when generating type converters
P3 JDK-8261483 jdk/dynalink/TypeConverterFactoryMemoryLeakTest.java failed with "AssertionError: Should have GCd a method handle by now"

hotspot/compiler

Priority Bug Summary
P2 JDK-8261522 [PPC64] AES intrinsics write beyond the destination array
P2 JDK-8261912 Code IfNode::fold_compares_helper more defensively
P2 JDK-8261022 Fix incorrect result of Math.abs() with char type
P3 JDK-8259339 AllocateUninitializedArray C2 intrinsic fails with void.class input
P3 JDK-8259619 C1: 3-arg StubAssembler::call_RT stack-use condition is incorrect
P3 JDK-8258243 C2: assert failed ("Bad derived pointer") with -XX:+VerifyRegisterAllocator
P3 JDK-8257513 C2: assert((constant_addr - _masm.code()->consts()->start()) == con.offset())
P3 JDK-8258946 Fix optimization-unstable code involving signed integer overflow
P3 JDK-8259777 Incorrect predication condition generated by ADLC
P3 JDK-8256215 Shenandoah: re-organize saving/restoring machine state in assembler code
P3 JDK-8260338 Some fields in HaltNode is not cloned
P4 JDK-8259706 C2 compilation fails with assert(vtable_index == Method::invalid_vtable_index) failed: correct sentinel value
P4 JDK-8259773 Incorrect encoding of AVX-512 kmovq instruction
P4 JDK-8259049 Uninitialized variable after JDK-8257513
P5 JDK-8259576 Misplaced curly brace in Matcher::find_shared_post_visit

hotspot/gc

Priority Bug Summary
P4 JDK-8251944 Add Shenandoah test config to compiler/gcbarriers/UnsafeIntrinsicsTest.java
P4 JDK-8258534 Epsilon: clean up unused includes
P4 JDK-8259231 Epsilon: improve performance under contention during virtual space expansion
P4 JDK-8259954 gc/shenandoah/mxbeans tests fail with -Xcomp
P4 JDK-8261752 Multiple GC test are missing memory requirements
P4 JDK-8261413 Shenandoah: Disable class-unloading in I-U mode
P4 JDK-8258490 Shenandoah: Full GC does not need to remark threads and drain SATB buffers
P4 JDK-8259849 Shenandoah: Rename store-val to IU-barrier
P4 JDK-8260048 Shenandoah: ShenandoahMarkingContext asserts are unnecessary
P4 JDK-8259580 Shenandoah: uninitialized label in VerifyThreadGCState
P4 JDK-8261251 Shenandoah: Use object size for full GC humongous compaction

hotspot/runtime

Priority Bug Summary
P2 JDK-8261310 PPC64 Zero build fails with 'VMError::controlled_crash(int)::FunctionDescriptor functionDescriptor' has incomplete type and cannot be defined
P2 JDK-8259446 runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
P3 JDK-8260349 Cannot programmatically retrieve Metaspace max set via JAVA_TOOL_OPTIONS
P3 JDK-8261860 Crash caused by lambda proxy class loaded in Shutdown hook
P3 JDK-8260009 InstanceKlass::has_as_permitted_subclass() fails if subclass was redefined
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
P3 JDK-8258077 Using -Xcheck:jni can lead to a double-free after JDK-8193234
P3 JDK-8259392 Zero error reporting is broken after JDK-8255711
P4 JDK-8260029 aarch64: fix typo in verify_oop_array
P4 JDK-8261334 NMT: tuning statistic shows incorrect hash distribution
P4 JDK-8261585 Restore HandleArea used in Deoptimization::uncommon_trap
P4 JDK-8260933 runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails without CompactStrings
P4 JDK-8253910 UseCompressedClassPointers depends on UseCompressedOops in vmError.cpp

hotspot/svc

Priority Bug Summary
P4 JDK-8259451 Zero: skip serviceability/sa tests, set vm.hasSA to false

hotspot/svc-agent

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

infrastructure

Priority Bug Summary
P4 JDK-8258909 update jdk16u jcheck conf

infrastructure/build

Priority Bug Summary
P2 JDK-8259679 GitHub actions should use MSVC 14.28
P3 JDK-8261261 The version extra fields needs to be overridable in jib-profiles.js
P4 JDK-8259949 x86 32-bit build fails when -fcf-protection is passed in the compiler flags

security-libs/java.security

Priority Bug Summary
P3 JDK-8256421 Add 2 HARICA roots to cacerts truststore

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8241372 Several test failures due to javax.net.ssl.SSLException: Connection reset
P3 JDK-8253368 TLS connection always receives close_notify exception

tools/jpackage

Priority Bug Summary
P4 JDK-8260592 jpackage tests fail when Desktop is not supported

xml/jaxp

Priority Bug Summary
P3 JDK-8249867 XML declaration is not followed by a newline
P4 JDK-8261209 isStandalone property: remove dependency on pretty-print