RELEASE NOTES: JDK 11.0.2

Notes generated: Wed Sep 01 03:18:46 CEST 2021

JEPs

None.

RELEASE NOTES

security-libs/javax.net.ssl

Issue Description
JDK-8209965

supported_groups Extension Should Not be Present in ServerHello Handshake Message


While the supported_groups extension should not be present in ServerHello handshake messages, previous releases have ignored its presence, so that misconfigured servers could continue to function. JDK 11 currently throws an exception if this extension is sent in the ServerHello handshake message.


JDK-8211883

Disabled TLS anon and NULL Cipher Suites


The TLS anon (anonymous) and NULL cipher suites have been added to the jdk.tls.disabledAlgorithms security property and are now disabled by default.


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8210335 Clipping problems with complex affine transforms: negative scaling factors or small scaling factors
P3 JDK-7017058 Malayalam glyph substitution is failing for Malayalam with Windows Kartika font.

client-libs/java.awt

Priority Bug Summary
P3 JDK-8191178 [macos] Problem with input of yen symbol
P3 JDK-8204142 AWT hang occurs when sequenced events arrive out of sequence in multiple AppContexts.
P3 JDK-8211435 Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: null source
P3 JDK-8130655 OS X: keyboard input in textfield is not possible if the window contained textfield is owned by EmbeddedFrame
P3 JDK-8170937 Swing apps are slow if displaying from a remote source to many local displays
P4 JDK-8205479 OS X: requestFocus() does not work properly for embedded frame

client-libs/javax.imageio

Priority Bug Summary
P2 JDK-8212116 IIOException "tEXt chunk length is not proper" on opening png file

client-libs/javax.sound

Priority Bug Summary
P3 JDK-8207150 Clip.isRunning() may return true after Clip.stop() was called

client-libs/javax.swing

Priority Bug Summary
P2 JDK-8206392 [macosx] Cycling through windows (JFrames) does not work with keyboard shortcut
P3 JDK-8208638 Instead of circle rendered in appl window, but ellipse is produced JEditor Pane

core-libs

Priority Bug Summary
P4 JDK-8209786 JDK12 fails to build on s390x with gcc 7.3

core-libs/java.net

Priority Bug Summary
P3 JDK-8203850 java.net.http HTTP client should allow specifying Origin and Referer headers
P3 JDK-8213942 URLStreamHandler initialization race
P4 JDK-8211420 com.sun.net.httpserver.HttpServer returns Content-length header for 204 response code
P4 JDK-8212926 HttpClient does not retrieve files with large sizes over HTTP/1.1
P4 JDK-8211437 java.net.http.HttpClient hangs on 204 reply without Content-length 0
P4 JDK-8214295 Populate handlers while holding streamHandlerLock

core-libs/java.nio.charsets

Priority Bug Summary
P3 JDK-8209576 java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8

core-libs/java.time

Priority Bug Summary
P2 JDK-8213085 (tz) Upgrade time-zone data to tzdata2018g

core-libs/java.util.jar

Priority Bug Summary
P3 JDK-8206389 JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
P3 JDK-8211765 JarFile constructor throws undocumented java.nio.file.InvalidPathException

core-libs/java.util:i18n

Priority Bug Summary
P2 JDK-8210153 localized currency symbol of VES
P2 JDK-8210490 TimeZone.getDisplayName given Locale.US doesn't always honor the Locale
P3 JDK-8208746 ISO 4217 Amendment #168 Update
P3 JDK-8209775 ISO 4217 Amendment #169 Update

core-libs/javax.naming

Priority Bug Summary
P2 JDK-8205330 InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
P3 JDK-8210695 Create test to cover JDK-8205330 InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection

core-svc/java.lang.management

Priority Bug Summary
P2 JDK-8212197 OpenDataException thrown when constructing CompositeData for StackTraceElement
P2 JDK-8212795 ThreadInfoCompositeData.toCompositeData fails to map ThreadInfo to CompositeData

hotspot

Priority Bug Summary
P4 JDK-8209996 [PPC64] Fix JFR profiling.

hotspot/compiler

Priority Bug Summary
P1 JDK-8211105 AArch64: Disable cos/sin and log intrinsics in jdk11u pending fix
P2 JDK-8210497 [PPC64] Vector registers not saved across safepoint
P2 JDK-8211698 Crash in C2 compiled code during execution of double array heavy processing code
P2 JDK-8211375 Minimal VM build failures after JDK-8211251 (Default mask register for avx512 instructions)
P3 JDK-8209639 assert failure in coalesce.cpp: attempted to spill a non-spillable item
P3 JDK-8211231 BarrierSetC1::generate_referent_check() confuses register allocator
P3 JDK-8209950 SIGBUS in CodeHeapState::print_names()
P3 JDK-8211061 Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
P3 JDK-8210764 Update avx512 implementation
P3 JDK-8211272 x86_32 build failures after JDK-8210764 (Update avx512 implementation)
P4 JDK-8210319 [s390]: Use of shift operators not covered by cpp standard
P4 JDK-8207343 Automate vtable/itable stub size calculation
P4 JDK-8211251 Default mask register for avx512 instructions
P4 JDK-8210355 Minimal and Zero non-PCH builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
P4 JDK-8209588 SIGSEGV in MethodArityHistogram() with -XX:+CountCompiledCalls
P4 JDK-8210357 Zero builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)

hotspot/gc

Priority Bug Summary
P3 JDK-8212005 Epsilon elastic TLAB sizing may cause misalignment
P4 JDK-8209942 [epsilon] range function for EpsilonTLABElasticity causes compiler warning
P4 JDK-8212177 Epsilon alignment adjustments can overflow max TLAB size

hotspot/jfr

Priority Bug Summary
P4 JDK-8211768 [s390] Implement JFR profiling.

hotspot/jvmti

Priority Bug Summary
P3 JDK-8211909 JDWP Transport Listener: dt_socket thread crash
P4 JDK-8212754 Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
P4 JDK-8210775 JVM TI Spec missing copyright

hotspot/runtime

Priority Bug Summary
P2 JDK-8211956 AppCDS crashes for some uses with JRuby
P2 JDK-8211065 Private method check in linkResolver is incorrect
P3 JDK-8210964 add more ld preloading info to hs_error file on Linux
P3 JDK-8211208 make AllocateHeapAt an unsupported option on AIX
P3 JDK-8210754 print_location is not reliable enough (printing register info)
P3 JDK-8209889 RedefineStress tests crash
P4 JDK-8027434 "-XX:OnOutOfMemoryError" uses fork instead of vfork
P4 JDK-8215398 -Xlog option usage => Invalid decorator '\temp\app_cds.log'.
P4 JDK-8211387 [Zero] atomic_copy64: Use ldrexd for atomic reads on ARMv7
P4 JDK-8211124 HotSpot vm_version.cpp should recognise updated VS2017
P4 JDK-8211852 inspect stack during error reporting
P4 JDK-8211714 Need to update vm_version.cpp to recognise VS2017 minor versions

hotspot/svc-agent

Priority Bug Summary
P2 JDK-8210836 Build fails with warn_unused_result in openjdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
P4 JDK-8208091 SA: jhsdb jstack --mixed throws UnmappedAddressException on i686

infrastructure/build

Priority Bug Summary
P2 JDK-8217247 JAVA_VERSION_DATE="2018-10-16" even though release was 2019-01-15
P4 JDK-8210416 [linux] Poor StrictMath performance due to non-optimized compilation
P4 JDK-8210425 [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization
P4 JDK-8207849 Allow the addition of more number to the Java version string
P4 JDK-8212110 Build of saproc.dll broken on Windows 32 bit after JDK-8210647
P4 JDK-8210761 libjsig is being compiled without optimization
P4 JDK-8210647 libsaproc is being compiled without optimization
P4 JDK-8207057 No debug info for assembler files
P4 JDK-8210703 vmStructs.cpp compiled with -O0

install/uninstall

Priority Bug Summary
P2 JDK-8211012 [Linux] JDK 11, warning when uninstall rpm package "warning: %postun(jdk-11-2000:11-ga.x86_64) scriptlet failed, exit status 2

security-libs/java.security

Priority Bug Summary
P3 JDK-8207059 Update test certificates in QuoVadisCA.java test

security-libs/javax.crypto

Priority Bug Summary
P2 JDK-8220165 Encryption using GCM results in RuntimeException: input length out of bound
P3 JDK-8207775 Better management of CipherCore buffers
P3 JDK-8208583 Better management of internal KeyStore buffers
P3 JDK-8209862 CipherCore performance improvement
P3 JDK-8179098 Crypto AES/ECB encryption/decryption performance regression (introduced in jdk9b73)
P3 JDK-8201633 Problems with AES-GCM native acceleration
P4 JDK-8208648 ECC Field Arithmetic Enhancements
P4 JDK-8209129 Further improvements to cipher buffer management
P4 JDK-8201317 X25519/X448 code improvements

security-libs/javax.net.ssl

Priority Bug Summary
P2 JDK-8211806 TLS 1.3 handshake server name indication is missing on a session resume
P2 JDK-8210334 TLS 1.3 server fails if ClientHello doesn't have pre_shared_key and psk_key_exchange_modes
P3 JDK-8211883 Disable anon and NULL cipher suites
P3 JDK-8209965 The "supported_groups" extension in ServerHellos
P4 JDK-8210918 Add test to exercise server-side client hello processing

security-libs/javax.xml.crypto

Priority Bug Summary
P4 JDK-8210736 jdk/javax/xml/crypto/dsig/GenerationTests.java slow on linux
P4 JDK-8205507 jdk/javax/xml/crypto/dsig/GenerationTests.java timed out

tools

Priority Bug Summary
P2 JDK-8210502 jdeps does not handle properly on analyzing a mixture of MR JARs and non-MR JARs

tools/javac

Priority Bug Summary
P2 JDK-8210483 AssertionError in DeferredAttr at setOverloadKind caused by JDK-8203679
P3 JDK-8209055 c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly

tools/javadoc(tool)

Priority Bug Summary
P4 JDK-8205593 Javadoc -link makes broken links if module name matches package name

tools/launcher

Priority Bug Summary
P3 JDK-8210810 Escaped character at specific position in argument file is not handled properly

xml/javax.xml.stream

Priority Bug Summary
P4 JDK-8212178 Soft reference reclamation race in com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator