RELEASE NOTES: JDK 13.0.6

Notes generated: Tue Dec 03 00:39:40 CET 2024

JEPs

None.

RELEASE NOTES

core-libs/java.util:i18n

Issue Description
JDK-8236548

Localized Time Zone Name Inconsistency Between English and Other Locales


English time zone names provided by the CLDR locale provider are now correctly synthesized following the CLDR spec, rather than substituted from the COMPAT provider. For example, SHORT style names are no longer synthesized abbreviations of LONG style names, but instead produce GMT offset formats.


core-libs/javax.naming

Issue Description
JDK-8245527

LDAP Channel Binding Support for Java GSS/Kerberos


A new JNDI environment property “com.sun.jndi.ldap.tls.cbtype” has been added to enable TLS Channel Binding data in LDAP authentication over SSL/TLS protocol to the Windows AD server. Possible value is “tls-server-end-point” - Channel Binding data is created on the base of the TLS server certificate. See the module description of the java.naming module.


security-libs/java.security

Issue Description
JDK-8233228

Weak Named Curves in TLS, CertPath, and Signed JAR Disabled by Default


Weak named curves are disabled by default by adding them to the following disabledAlgorithms security properties: jdk.tls.disabledAlgorithms, jdk.certpath.disabledAlgorithms, and jdk.jar.disabledAlgorithms. The named curves are listed below.

With 47 weak named curves to be disabled, adding individual named curves to each disabledAlgorithms property would be overwhelming. To relieve this, a new security property, jdk.disabled.namedCurves, is implemented that can list the named curves common to all of the disabledAlgorithms properties. To use the new property in the disabledAlgorithms properties, precede the full property name with the keyword include. Users can still add individual named curves to disabledAlgorithms properties separate from this new property. No other properties can be included in the disabledAlgorithms properties.

To restore the named curves, remove the include jdk.disabled.namedCurves either from specific or from all disabledAlgorithms security properties. To restore one or more curves, remove the specific named curve(s) from the jdk.disabled.namedCurves property.

Curves that are disabled through jdk.disabled.namedCurves include the following: secp112r1, secp112r2, secp128r1, secp128r2, secp160k1, secp160r1, secp160r2, secp192k1, secp192r1, secp224k1, secp224r1, secp256k1, sect113r1, sect113r2, sect131r1, sect131r2, sect163k1, sect163r1, sect163r2, sect193r1, sect193r2, sect233k1, sect233r1, sect239k1, sect283k1, sect283r1, sect409k1, sect409r1, sect571k1, sect571r1, X9.62 c2tnb191v1, X9.62 c2tnb191v2, X9.62 c2tnb191v3, X9.62 c2tnb239v1, X9.62 c2tnb239v2, X9.62 c2tnb239v3, X9.62 c2tnb359v1, X9.62 c2tnb431r1, X9.62 prime192v2, X9.62 prime192v3, X9.62 prime239v1, X9.62 prime239v2, X9.62 prime239v3, brainpoolP256r1, brainpoolP320r1, brainpoolP384r1, brainpoolP512r1

Curves that remain enabled are: secp256r1, secp384r1, secp521r1, X25519, X448


core-libs/java.time

Issue Description
JDK-8254177

US/Pacific-New Zone Name Removed as Part of tzdata2020b


Following the JDK's update to tzdata2020b, the long-obsolete files named pacificnew and systemv have been removed. As a result, the "US/Pacific-New" Zone name declared in the pacificnew data file is no longer available for use.

Information regarding this update can be viewed at https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html


core-svc/java.lang.management

Issue Description
JDK-8226575

OperatingSystemMXBean Methods Inside a Container Return Container Specific Data


When executing in a container, or other virtualized operating environment, the following OperatingSystemMXBean methods in this release return container specific information, if available. Otherwise, they return host specific data:

  • getFreePhysicalMemorySize()
  • getTotalPhysicalMemorySize()
  • getFreeSwapSpaceSize()
  • getTotalSwapSpaceSize()
  • getSystemCpuLoad()

FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8244621 [macos10.15] Garbled FX printing plus CoreText warnings on Catalina when building with Xcode 11
P3 JDK-8247867 Upgrade to freetype 2.10.2
P3 JDK-8245400 Upgrade to LittleCMS 2.11
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
P3 JDK-8257242 [macOS] Java app crashes while switching input methods
P3 JDK-8253791 Issue with useAppleColor check in CSystemColors.m
P3 JDK-8249183 JVM crash in "AwtFrame::WmSize" method

client-libs/javax.imageio

Priority Bug Summary
P3 JDK-6532025 GIF reader throws misleading exception with truncated images

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8213535 Windows HiDPI html lightweight tooltips are truncated

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.lang

Priority Bug Summary
P4 JDK-8226810 Failed to launch JVM because of NullPointerException occured on System.props

core-libs/java.math

Priority Bug Summary
P3 JDK-8233452 java.math.BigDecimal.sqrt() with RoundingMode.FLOOR results in incorrect result

core-libs/java.net

Priority Bug Summary
P3 JDK-7146776 Deadlock between URLStreamHandler.getHostAddress and file.Handler.openconnection
P3 JDK-8241138 http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
P4 JDK-8238579 HttpsURLConnection drops the timeout and hangs forever in read
P4 JDK-8238270 java.net HTTP/2 client does not decrease stream count when receives 204 response
P4 JDK-8233958 Memory retention due to HttpsURLConnection finalizer that serves no purpose
P4 JDK-8236859 WebSocket over authenticating proxy fails with NPE

core-libs/java.nio

Priority Bug Summary
P4 JDK-8234011 (zipfs) Memory leak in ZipFileSystem.releaseDeflater()

core-libs/java.time

Priority Bug Summary
P3 JDK-8254177 (tz) Upgrade Timezone Data to tzdata2020b
P3 JDK-8254982 (tz) Upgrade Timezone Data to tzdata2020c
P3 JDK-8255226 (tz) Upgrade Timezone Data to tzdata2020d

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8236548 Localized time zone name inconsistency between English and other locales
P4 JDK-8234347 "Turkey" meta time zone does not generate composed localized names

core-libs/javax.naming

Priority Bug Summary
P2 JDK-8151678 com/sun/jndi/ldap/LdapTimeoutTest.java failed due to timeout on DeadServerNoTimeoutTest is incorrect
P3 JDK-8245527 LDAP Channel Binding support for Java GSS/Kerberos
P4 JDK-8248865 Document JNDI/LDAP timeout properties
P4 JDK-8062947 Fix exception message to correctly represent LDAP connection failure

core-svc/debugger

Priority Bug Summary
P4 JDK-8229378 jdwp library loader in linker_md.c quietly truncates on buffer overflow

core-svc/java.lang.management

Priority Bug Summary
P3 JDK-8226575 OperatingSystemMXBean should be made container aware
P4 JDK-8242480 Negative value may be returned by getFreeSwapSpaceSize() in the docker

core-svc/javax.management

Priority Bug Summary
P4 JDK-8206179 com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java fails with Committed virtual memory size illegal value

core-svc/tools

Priority Bug Summary
P3 JDK-8254854 [cgroups v1] Metric limits not properly detected on some join controller combinations

hotspot/compiler

Priority Bug Summary
P1 JDK-8248347 windows build broken by JDK-8243114
P2 JDK-8233027 OopMapSet::all_do does oms.next() twice during iteration
P3 JDK-8230402 Allocation of compile task fails with assert: "Leaking compilation tasks?"
P3 JDK-8236772 Fix build for windows 32-bit after 8212160 and 8234331.
P3 JDK-8239477 jdk/jfr/jcmd/TestJcmdStartStopDefault.java fails -XX:+VerifyOops with "verify_oop: rsi: broken oop"
P3 JDK-8235584 UseProfiledLoopPredicate fails with assert(_phase->get_loop(c) == loop) failed: have to be in the same loop
P4 JDK-8248987 AOT's Linker.java seems to eagerly fail-fast on Windows.
P4 JDK-8222079 Don't use memset to initialize fields decode_env constructor in disassembler.cpp
P4 JDK-8231586 enlarge encoding space for OopMapValue offsets
P4 JDK-8244819 hsdis does not compile with binutils 2.34+
P4 JDK-8243114 Implement montgomery{Multiply,Square}intrinsics on Windows
P4 JDK-8232083 Minimal VM is broken after JDK-8231586
P4 JDK-8253631 Remove unimplemented CompileBroker methods after JEP-165

hotspot/gc

Priority Bug Summary
P4 JDK-8255468 JDK-8255269 incorrectly replaced average copy time
P4 JDK-8255269 Unsigned overflow in g1Policy.cpp

hotspot/jfr

Priority Bug Summary
P2 JDK-8258396 SIGILL in jdk.jfr.internal.PlatformRecorder.rotateDisk()
P3 JDK-8230767 FlightRecorderListener returns null recording
P3 JDK-8252754 Hash code calculation of JfrStackTrace is inconsistent
P3 JDK-8250928 JFR: Improve hash algorithm for stack traces
P3 JDK-8237499 JFR: Include stack trace in the ThreadStart event
P4 JDK-8210977 jdk/jfr/event/oldobject/TestThreadLocalLeak.java fails to find ThreadLocalObject
P4 JDK-8252090 JFR: StreamWriterHost::write_unbuffered() stucks in an infinite loop OpenJDK (build 13.0.1+9)
P4 JDK-8243489 Thread CPU Load event may contain wrong data for CPU time under certain conditions

hotspot/jvmti

Priority Bug Summary
P3 JDK-8212160 JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
P3 JDK-8173658 JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
P3 JDK-8236124 Minimal VM slowdebug build failed after JDK-8212160
P3 JDK-8173361 various crashes in JvmtiExport::post_compiled_method_load
P4 JDK-8235218 Minimal VM is broken after JDK-8173361
P4 JDK-8235456 Minimal VM is broken after JDK-8212160

hotspot/runtime

Priority Bug Summary
P2 JDK-8251365 Build failure on AIX after 8250636
P3 JDK-8240197 Cannot start JVM when $JAVA_HOME includes CJK characters
P3 JDK-8238676 jni crashes on accessing it from process exit hook
P3 JDK-8236617 jtreg test containers/docker/TestMemoryAwareness.java fails after 8226575
P3 JDK-8240603 Windows 32bit compile error after 8238676
P4 JDK-8227006 [linux] Runtime.availableProcessors execution time increased by factor of 100
P4 JDK-8243389 enhance os::pd_print_cpu_info on linux
P4 JDK-8239000 handle ContendedPaddingWidth in vm_version_ppc
P4 JDK-8243290 Improve diagnostic messages for class verification and redefinition failures
P4 JDK-8250636 iso8601_time returns incorrect offset part on MacOS
P4 JDK-8246648 issue with OperatingSystemImpl getFreeSwapSpaceSize in docker after 8242480
P4 JDK-8232616 JVMCI_lock fails to get initialized when cds is disabled
P4 JDK-8250844 Make sure {type,obj}ArrayOopDesc accessors check the bounds
P4 JDK-8250984 Memory Docker tests fail on some Linux kernels w/o cgroupv1 swap limit capabilities
P4 JDK-8239886 Minimal VM build fails after JDK-8237499
P4 JDK-8251257 NMT: jcmd VM.native_memory scale=1 crashes target VM
P4 JDK-8253375 OSX build fails with Xcode 12.0 (12A7209)
P4 JDK-8241086 Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows

hotspot/svc

Priority Bug Summary
P3 JDK-8228448 Jconsole can't connect to itself

hotspot/svc-agent

Priority Bug Summary
P3 JDK-8204994 SA might fail to attach to process with "Windbg Error: WaitForEvent failed"
P4 JDK-8235846 Improve WindbgDebuggerLocal implementation

infrastructure

Priority Bug Summary
P4 JDK-8253632 Bump update version for OpenJDK: jdk-13.0.6
P4 JDK-8259221 Bump update version for OpenJDK: jdk-13.0.7

infrastructure/build

Priority Bug Summary
P2 JDK-8249255 Build fails if source code in cygwin home dir
P4 JDK-8257633 Missing -mmacosx-version-min=X flag when linking libjvm

security-libs/java.security

Priority Bug Summary
P2 JDK-8233228 Disable weak named curves by default in TLS, CertPath, and Signed JAR
P2 JDK-8254081 java/security/cert/PolicyNode/GetPolicyQualifiers.java fails due to an expired certificate
P4 JDK-8235183 Remove the "HACK CODE" in comment

security-libs/javax.crypto

Priority Bug Summary
P2 JDK-8233954 UnsatisfiedLinkError or NoSuchAlgorithmException after removing sunec.dll

security-libs/javax.net.ssl

Priority Bug Summary
P2 JDK-8255603 Memory/Performance regression after JDK-8210985
P2 JDK-8223940 Private key not supported by chosen signature algorithm
P3 JDK-8226374 Restrict TLS signature schemes and named groups

tools/javac

Priority Bug Summary
P3 JDK-8234687 change javap reporting on unknown attributes
P4 JDK-8256809 Annotation processing causes NPE during flow analysis

tools/jshell

Priority Bug Summary
P2 JDK-8210527 JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
P4 JDK-8232855 jshell missing word in /help help

xml/javax.xml.transform

Priority Bug Summary
P4 JDK-8233686 XML transformer uses excessive amount of memory