RELEASE NOTES: JDK 11.0.15

Notes generated: Sat May 21 01:38:21 CEST 2022

JEPs

None.

RELEASE NOTES

security-libs/javax.crypto:pkcs11

Issue Description
JDK-8255410

SunPKCS11 Provider Supports ChaCha20-Poly1305 Cipher and ChaCha20 KeyGenerator if Supported by PKCS11 Library


SunPKCS11 provider is enhanced to support the following crypto services and algorithms when the underlying PKCS11 library supports the corresponding PKCS#11 mechanisms:

ChaCha20 KeyGenerator <=> CKM_CHACHA20_KEY_GEN mechanism  
CHACHA20-POLY1305 Cipher <=> CKM_CHACHA20_POLY1305 mechanism  
CHACHA20-POLY1305 AlgorithmParameters <=> CKM_CHACHA20_POLY1305 mechanism  
CHACHA20 SecretKeyFactory <=> CKM_CHACHA20_POLY1305 mechanism

FIXED ISSUES

client-libs

Priority Bug Summary
P3 JDK-8233827 Enable screenshots in the enhanced failure handler on Linux/macOS

client-libs/2d

Priority Bug Summary
P3 JDK-8270874 JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
P4 JDK-8261107 ArrayIndexOutOfBoundsException in the ICC_Profile.getInstance(InputStream)
P4 JDK-8273704 DrawStringWithInfiniteXform.java failed : drawString with InfiniteXform transform takes long time
P4 JDK-8256321 Some "inactive" color profiles use the wrong profile class

client-libs/demo

Priority Bug Summary
P4 JDK-8251558 J2DBench should support shaped and translucent windows

client-libs/java.awt

Priority Bug Summary
P4 JDK-8256373 [Windows/HiDPI] The Frame#setBounds does not work in a minimized state

client-libs/javax.imageio

Priority Bug Summary
P4 JDK-8266171 -Warray-bounds happens in imageioJPEG.c
P4 JDK-8266174 -Wmisleading-indentation happens in libmlib_image sources

client-libs/javax.sound

Priority Bug Summary
P3 JDK-8266421 Deadlock in Sound System

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8239502 [TEST_BUG] Test javax/swing/text/FlowView/6318524/bug6318524.java never fails
P4 JDK-8273634 [TEST_BUG] Improve javax/swing/text/ParagraphView/6364882/bug6364882.java
P4 JDK-8274465 Fix javax/swing/text/ParagraphView/6364882/bug6364882.java failures
P4 JDK-8273638 javax/swing/JTable/4235420/bug4235420.java fails in GTK L&F
P4 JDK-8254085 javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with "RuntimeException: Wrong caret position"
P4 JDK-8199079 Test javax/swing/UIDefaults/6302464/bug6302464.java is unstable

core-libs

Priority Bug Summary
P4 JDK-8266168 -Wmaybe-uninitialized happens in check_code.c
P4 JDK-8266173 -Wmaybe-uninitialized happens in jni_util.c

core-libs/java.io

Priority Bug Summary
P4 JDK-8275536 Add test to check that File::lastModified returns same time stamp as Files.getLastModifiedTime
P4 JDK-8276623 JDK-8275650 accidentally pushed "out" file

core-libs/java.lang

Priority Bug Summary
P2 JDK-8279833 Loop optimization issue in String.encodeUTF8_UTF16
P3 JDK-8256154 Some TestNG tests require default constructors
P3 JDK-8275703 System.loadLibrary fails on Big Sur for libraries hidden from filesystem

core-libs/java.math

Priority Bug Summary
P4 JDK-8272541 Incorrect overflow test in Toom-Cook branch of BigInteger multiplication

core-libs/java.net

Priority Bug Summary
P4 JDK-8280414 Memory leak in DefaultProxySelector

core-libs/java.nio

Priority Bug Summary
P4 JDK-8278172 java/nio/channels/FileChannel/BlockDeviceSize.java should only run on Linux

core-libs/java.text

Priority Bug Summary
P4 JDK-8190748 java/text/Format/DateFormat/DateFormatTest.java and NonGregorianFormatTest fail intermittently
P4 JDK-8216969 ParseException thrown for certain months with russian locale

core-libs/java.time

Priority Bug Summary
P4 JDK-8272473 Parsing epoch seconds at a DST transition with a non-UTC parser is wrong

core-libs/java.util

Priority Bug Summary
P2 JDK-8273514 java/util/DoubleStreamSums/CompensatedSums.java failure

core-libs/java.util.stream

Priority Bug Summary
P4 JDK-8214761 Bug in parallel Kahan summation implementation

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8274658 ISO 4217 Amendment 170 Update

core-libs/javax.naming

Priority Bug Summary
P3 JDK-8277795 LDAP connection timeout not honoured under contention

core-svc

Priority Bug Summary
P4 JDK-8277992 Add fast jdk_svc subtests to jdk:tier3

core-svc/debugger

Priority Bug Summary
P4 JDK-8279669 test/jdk/com/sun/jdi/TestScaffold.java uses wrong condition

core-svc/java.lang.instrument

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

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8274523 java/lang/management/MemoryMXBean/MemoryTest.java test should handle Shenandoah

hotspot

Priority Bug Summary
P4 JDK-8211333 AArch64: Fix another build failure after JDK-8211029

hotspot/compiler

Priority Bug Summary
P2 JDK-8278871 [JVMCI] assert((uint)reason < 2* _trap_hist_limit) failed: oob
P2 JDK-8253795 Implementation of JEP 391: macOS/AArch64 Port
P2 JDK-8253816 Support macOS W^X
P2 JDK-8253839 Update tests and JDK code for macOS/Aarch64
P3 JDK-8279225 [arm32] C1 longs comparison operation destroys argument registers
P3 JDK-8279300 [arm32] SIGILL when running GetObjectSizeIntrinsicsTest
P3 JDK-8262894 [macos_aarch64] SIGBUS in Assembler::ld_st2
P3 JDK-8222825 ARM32 SIGILL issue on single core CPU (not supported PLDW instruction)
P3 JDK-8271202 C1: assert(false) failed: live_in set of first block must be empty
P3 JDK-8268882 C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
P3 JDK-8275326 C2: assert(no_dead_loop) failed: dead loop detected
P3 JDK-8279076 C2: Bad AD file when matching SqrtF with UseSSE=0
P3 JDK-8273277 C2: Move conditional negation into rc_predicate
P3 JDK-8275610 C2: Object field load floats above its null check resulting in a segfault
P3 JDK-8262134 compiler/uncommontrap/TestDeoptOOM.java failed with "guarantee(false) failed: wrong number of expression stack elements during deopt"
P3 JDK-8277447 Hotspot C1 compiler crashes on Kotlin suspend fun with loop
P3 JDK-8279998 PPC64 debug builds fail with "untested: RangeCheckStub: predicate_failed_trap_id"
P3 JDK-8237787 rewrite vmTestbase/vm/compiler/CodeCacheInfo* from shell to java
P3 JDK-8278758 runtime/BootstrapMethod/BSMCalledTwice.java fails with release VMs after JDK-8262134
P3 JDK-8280526 x86_32 Math.sqrt performance regression with -XX:UseSSE={0,1}
P4 JDK-8276314 [JVMCI] check alignment of call displacement during code installation
P4 JDK-8211170 AArch64: Warnings in C1 and template interpreter
P4 JDK-8276105 C2: Conv(D|F)2(I|L)Nodes::Ideal should handle rounding correctly
P4 JDK-8251127 clean up FileInstaller $test.src $cwd in remaining vmTestbase_vm_compiler tests
P4 JDK-8249019 clean up FileInstaller $test.src $cwd in vmTestbase_vm_compiler tests
P4 JDK-8277441 CompileQueue::add fails with assert(_last->next() == __null) failed: not last
P4 JDK-8254827 JVMCI: Enable it for Windows+AArch64
P4 JDK-8251132 make main classes public in vmTestbase/jit tests
P4 JDK-8214004 Missing space between compiler thread name and task info in hs_err
P4 JDK-8251998 remove usage of PropertyResolvingWrapper in vmTestbase/jit/t
P4 JDK-8237798 rewrite vmTestbase/jit/tiered from shell to java
P4 JDK-8253818 Support macOS Aarch64 ABI for compiled wrappers
P4 JDK-8234930 Use MAP_JIT when allocating pages for code cache on macOS
P5 JDK-8223142 Clean-up WS and CB.

hotspot/gc

Priority Bug Summary
P3 JDK-8232533 G1 uses only a single thread for pretouching the java heap
P3 JDK-8241423 NUMA APIs fail to work in dockers due to dependent syscalls are disabled by default
P4 JDK-8278115 gc/stress/gclocker/TestGCLockerWithSerial.java has duplicate -Xmx
P4 JDK-8210236 Prepare ciReceiverTypeData::translate_receiver_data_from for concurrent class unloading

hotspot/jfr

Priority Bug Summary
P3 JDK-8279077 JFR crashes on Linux ppc due to missing crash protector in signal handler
P3 JDK-8202142 jfr/event/io/TestInstrumentation is unstable
P4 JDK-8281520 JFR: A wrong parameter is passed to the constructor of LeakKlassWriter

hotspot/jvmti

Priority Bug Summary
P4 JDK-8276177 nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption failed with "assert(def_ik->is_being_redefined()) failed: should be being redefined to get here"
P4 JDK-8253197 vmTestbase/nsk/jvmti/StopThread/stopthrd007/TestDescription.java fails with "ERROR: DebuggeeSleepingThread: ThreadDeath lost"

hotspot/runtime

Priority Bug Summary
P1 JDK-8282372 [11] build issue on MacOS/aarch64 12.2.1 using Xcode 13.1: call to 'log2_intptr' is ambiguous
P2 JDK-8268014 Build failure on SUSE Linux Enterprise Server 11.4 (s390x) due to 'SYS_get_mempolicy' was not declared
P2 JDK-8253817 Support macOS Aarch64 ABI in Interpreter
P3 JDK-8283270 [11u] broken JRT_ENTRY_NO_ASYNC after Backport of JDK-8253795
P3 JDK-8266889 [macosx-aarch64] Crash with SIGBUS in MarkActivationClosure::do_code_blob during vmTestbase/nsk/jvmti/.../bi04t002 test run
P3 JDK-8280155 [PPC64, s390] frame size checks are not yet correct
P3 JDK-8279924 [PPC64, s390] implement frame::is_interpreted_frame_valid checks
P3 JDK-8186780 clang fastdebug assertion failure in os_linux_x86:os::verify_stack_alignment()
P3 JDK-8241004 NMT tests fail on unaligned thread size with debug build
P4 JDK-8266176 -Wmaybe-uninitialized happens in libArrayIndexOutOfBoundsExceptionTest.c
P4 JDK-8266170 -Wnonnull happens in classLoaderData.inline.hpp
P4 JDK-8266172 -Wstringop-overflow happens in vmError.cpp
P4 JDK-8278381 [GCC 11] Address::make_raw() does not initialize rspec
P4 JDK-8262896 [macos_aarch64] Crash in jni_fast_GetLongField
P4 JDK-8262903 [macos_aarch64] Thread::current() called on detached thread
P4 JDK-8281061 [s390] JFR runs into assertions while validating interpreter frames
P4 JDK-8278309 [windows] use of uninitialized OSThread::_state
P4 JDK-8274795 AArch64: avoid spilling and restoring r18 in macro assembler
P4 JDK-8254940 AArch64: Cleanup non-product thread members
P4 JDK-8254072 AArch64: Get rid of --disable-warnings-as-errors on Windows+ARM64 build
P4 JDK-8278384 Bytecodes::result_type() for arraylength returns T_VOID instead of T_INT
P4 JDK-8273438 Enable parallelism in vmTestbase/metaspace/stressHierarchy tests
P4 JDK-8273433 Enable parallelism in vmTestbase_nsk_sysdict tests
P4 JDK-8253819 Implement os/cpu for macOS/AArch64
P4 JDK-8274714 Incorrect verifier protected access error message
P4 JDK-8272345 macos doesn't check `os::set_boot_path()` result
P4 JDK-8263185 Mallinfo deprecated in glibc 2.33
P4 JDK-8207011 Remove uses of the register storage class specifier
P4 JDK-8278116 runtime/modules/LoadUnloadModuleStress.java has duplicate -Xmx
P4 JDK-8274265 Suspicious string concatenation in logTestUtils.inline.hpp
P4 JDK-8255239 The timezone of the hs_err_pid log file is corrupted in Japanese locale
P4 JDK-8273341 Update Siphash to version 1.0
P4 JDK-8277342 vmTestbase/nsk/stress/strace/strace004.java fails with SIGSEGV in InstanceKlass::jni_id_for
P4 JDK-8277385 Zero: Enable CompactStrings support

hotspot/svc

Priority Bug Summary
P4 JDK-8265150 AsyncGetCallTrace crashes on ResourceMark
P4 JDK-8254941 Implement Serviceability Agent for macOS/AArch64
P4 JDK-8268542 serviceability/logging/TestFullNames.java tests only 1st test case

hotspot/svc-agent

Priority Bug Summary
P3 JDK-8250750 JDK-8247515 fix for OSX pc_to_symbol() lookup fails with some symbols
P3 JDK-8247515 OSX pc_to_symbol() lookup does not work with core files
P3 JDK-8247272 SA ELF file support has never worked for 64-bit causing address to symbol name mapping to fail

hotspot/test

Priority Bug Summary
P3 JDK-8240904 Screen flashes on test failures when running tests from make
P4 JDK-8252005 narrow disabling of allowSmartActionArgs in vmTestbase
P4 JDK-8251126 nsk.share.GoldChecker should read golden file from ${test.src}

infrastructure

Priority Bug Summary
P4 JDK-8277796 Bump update version for OpenJDK: jdk-11.0.15

infrastructure/build

Priority Bug Summary
P3 JDK-8279702 [macosx] ignore xcodebuild warnings on M1
P3 JDK-8279379 GHA: Print tests that are in error
P4 JDK-8283778 11u GHA: Fix GCC 9 ubuntu package names
P4 JDK-8283018 11u GHA: Update GCC 9 minor versions
P4 JDK-8280999 array_bounds should be array-bounds after 8278507
P4 JDK-8255776 Change build system for macOS/AArch64
P4 JDK-8264650 Cross-compilation to macos/aarch64
P4 JDK-8065704 Set LC_ALL=C for all relevant commands in the build system

security-libs/java.security

Priority Bug Summary
P3 JDK-8277488 Add expiry exception for Digicert (geotrustglobalca) expiring in May 2022
P3 JDK-8274736 Concurrent read/close of SSLSockets causes SSLSessions to be invalidated unnecessarily
P4 JDK-8281599 test/lib/jdk/test/lib/KnownOIDs.java is redundant since JDK-8268801

security-libs/javax.crypto

Priority Bug Summary
P3 JDK-8257769 Cipher.getParameters() throws NPE for ChaCha20-Poly1305

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P3 JDK-8255410 Add ChaCha20 and Poly1305 support to SunPKCS11 provider

security-libs/javax.net.ssl

Priority Bug Summary
P2 JDK-8275811 Incorrect instance to dispose
P2 JDK-8274524 SSLSocket.close() hangs if it is called during the ssl handshake

security-libs/javax.xml.crypto

Priority Bug Summary
P3 JDK-8275082 Update XML Security for Java to 2.3.0

tools/javac

Priority Bug Summary
P3 JDK-8225559 assertion error at TransTypes.visitApply
P3 JDK-8261205 AssertionError: Cannot add metadata to an intersection type
P3 JDK-8214026 Canonicalized archive paths appearing in diagnostics
P3 JDK-8236210 javac generates wrong annotation for fields generated from record components
P4 JDK-8193277 SimpleFileObject inconsistency between getName and getShortName
P4 JDK-8220634 SymLinkArchiveTest should handle not being able to create symlinks

tools/jshell

Priority Bug Summary
P3 JDK-8236505 Mark jdk/editpad/EditPadTest.java as @headful
P4 JDK-8177814 jdk/editpad is not in jdk TEST.groups
P4 JDK-8277328 jdk/jshell/CommandCompletionTest.java failures on Windows
P4 JDK-8273682 Upgrade Jline to 3.20.0

xml/javax.xml.xpath

Priority Bug Summary
P2 JDK-8284920 Incorrect Token type causes XPath expression to return incorrect results

xml/jaxp

Priority Bug Summary
P3 JDK-8284548 Invalid XPath expression causes StringIndexOutOfBoundsException
P4 JDK-8255035 Update BCEL to Version 6.5.0
P4 JDK-8276141 XPathFactory set/getProperty method
P4 JDK-8282761 XPathFactoryImpl remove setProperty and getProperty methods