RELEASE NOTES: JDK 11.0.22

Notes generated: Tue Apr 02 15:01:09 CEST 2024

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8317374

Added ISRG Root X2 CA Certificate from Let's Encrypt


The following root certificate has been added to the cacerts truststore: ` + Let's Encrypt + letsencryptisrgx2 DN: CN=ISRG Root X2, O=Internet Security Research Group, C=US `


JDK-8312489

Increase Default Value of the System Property `jdk.jar.maxSignatureFileSize`


The system property, jdk.jar.maxSignatureFileSize, allows applications to control the maximum size of signature files in a signed JAR. Its default value has been increased from 8000000 bytes (8 MB) to 16000000 bytes (16 MB).


JDK-8318759

Added Four Root Certificates from DigiCert, Inc.


The following root certificates have been added to the cacerts truststore: ``` + DigiCert, Inc. + digicertcseccrootg5 DN: CN=DigiCert CS ECC P384 Root G5, O="DigiCert, Inc.", C=US

  • DigiCert, Inc.

  • digicertcsrsarootg5 DN: CN=DigiCert CS RSA4096 Root G5, O="DigiCert, Inc.", C=US

  • DigiCert, Inc.

  • digicerttlseccrootg5 DN: CN=DigiCert TLS ECC P384 Root G5, O="DigiCert, Inc.", C=US

  • DigiCert, Inc.

  • digicerttlsrsarootg5 DN: CN=DigiCert TLS RSA4096 Root G5, O="DigiCert, Inc.", C=US ```


JDK-8317373

Added Telia Root CA v2 Certificate


The following root certificate has been added to the cacerts truststore: ` + Telia Root CA v2 + teliarootcav2 DN: CN=Telia Root CA v2, O=Telia Finland Oyj, C=FI `


JDK-8319187

Added Three Root Certificates from eMudhra Technologies Limited


The following root certificates have been added to the cacerts truststore: ``` + eMudhra Technologies Limited + emsignrootcag1 DN: CN=emSign Root CA - G1, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN

  • eMudhra Technologies Limited

  • emsigneccrootcag3 DN: CN=emSign ECC Root CA - G3, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN

  • eMudhra Technologies Limited

  • emsignrootcag2 DN: CN=emSign Root CA - G2, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN ```


JDK-8254711

New JFR Event: `jdk.SecurityProviderService`


A new Java Flight Recorder (JFR) event has been added to record details of java.security.Provider.getService(String type, String algorithm) calls.

The new event name is jdk.SecurityProviderService and contains the following fields:

| Field name | Field Description | | ------------------------ | --------------------------- | |type | Type of Service | |algorithm |Algorithm Name | |provider | Security Provider |

This event is disabled by default and can be enabled via the JFR configuration files or via standard JFR options.


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8306575 Clean up and open source four Dialog related tests
P4 JDK-8306135 Clean up and open source some AWT tests
P4 JDK-8278456 Define jtreg jdk_desktop test group time-based sub-tasks for use by headful testing.
P4 JDK-8306280 Open source several choice AWT tests
P4 JDK-8285612 Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java
P4 JDK-8285687 Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PageRangesDlgTest.java
P4 JDK-8300405 Screen capture for test JFileChooserSetLocationTest.java, failure case
P4 JDK-8298905 Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java" fails because the frames of instruction does not display

client-libs/2d

Priority Bug Summary
P3 JDK-8231556 Wrong font ligatures used when 2 versions of same font used
P4 JDK-8282404 DrawStringWithInfiniteXform.java failed with "RuntimeException: drawString with InfiniteXform transform takes long time"
P4 JDK-8316710 Exclude java/awt/font/Rotate/RotatedTextTest.java
P4 JDK-8313576 GCC 7 reports compiler warning in bundled freetype 2.13.0
P4 JDK-8316206 Test StretchedFontTest.java fails for Baekmuk font
P4 JDK-8299255 Unexpected round errors in FreetypeFontScaler

client-libs/java.awt

Priority Bug Summary
P3 JDK-8307165 java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java timed out
P3 JDK-8252713 jtreg time out of CtrlASCII.java seems to hang the Xserver.
P4 JDK-8288325 [windows] Actual and Preferred Size of AWT Non-resizable frame are different
P4 JDK-8265586 [windows] last button is not shown in AWT Frame with BorderLayout and MenuBar set.
P4 JDK-8289077 Add manual tests to open
P4 JDK-8290469 Add new positioning options to PassFailJFrame test framework
P4 JDK-8271519 java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]"
P4 JDK-8297296 java/awt/Mouse/EnterExitEvents/DragWindowTest.java fails with "No MouseReleased event on label!"
P4 JDK-8288415 java/awt/PopupMenu/PopupMenuLocation.java is unstable in MacOS machines
P4 JDK-8306372 Open source AWT CardLayout and Checkbox tests
P4 JDK-8306430 Open source some AWT tests related to TextComponent and Toolkit
P4 JDK-8306134 Open source some AWT tests relating to Button and a few other classes
P4 JDK-8289238 Refactoring changes to PassFailJFrame Test Framework
P4 JDK-8263530 sun.awt.X11.ListHelper.removeAll() should use clear()
P4 JDK-8265678 Test java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java fails intermittentently on windows
P4 JDK-8307079 Update test java/awt/Choice/DragOffNoSelect.java
P4 JDK-8302525 Write a test to check various components send Events while mouse and key are used simultaneously
P4 JDK-8296275 Write a test to verify setAccelerator method of JMenuItem
P5 JDK-8288993 Make AwtFramePackTest generic by removing @requires tag

client-libs/javax.sound

Priority Bug Summary
P3 JDK-8312535 MidiSystem.getSoundbank() throws unexpected SecurityException

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8223788 [macos] JSpinner buttons in JColorChooser dialog may capture focus using TAB Key.
P3 JDK-8294427 Check boxes and radio buttons have rendering issues on Windows in High DPI env
P3 JDK-8153090 TAB key cannot change input focus after the radio button in the Color Selection dialog
P4 JDK-8251177 [macosx] The text "big" is truncated in JTabbedPane
P4 JDK-8197825 [Test] Intermittent timeout with javax/swing JColorChooser Test
P4 JDK-8266249 javax/swing/JPopupMenu/7156657/bug7156657.java fails on macOS
P4 JDK-6445283 ProgressMonitorInputStream not large file aware (>2GB)
P4 JDK-8293811 Provide a reason for PassFailJFrame.forceFail
P4 JDK-8309095 Remove UTF-8 character from TaskbarPositionTest.java
P4 JDK-8041447 Test javax/swing/dnd/7171812/bug7171812.java fails with java.lang.RuntimeException: Test failed, scroll on drag doesn't work
P4 JDK-8289547 Update javax/swing/Popup/TaskbarPositionTest.java

core-libs

Priority Bug Summary
P4 JDK-8282143 Objects.requireNonNull should be ForceInline

core-libs/java.lang

Priority Bug Summary
P3 JDK-8310265 (process) jspawnhelper should not use argv[0]
P4 JDK-8232135 Add diagnostic output to test java/util/ProcessBuilder/Basic.java
P4 JDK-8314094 java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
P4 JDK-8183374 Refactor java/lang/Runtime shell tests to java

core-libs/java.lang.invoke

Priority Bug Summary
P4 JDK-8292407 Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures

core-libs/java.net

Priority Bug Summary
P3 JDK-8238740 java/net/httpclient/whitebox/FlowTestDriver.java should not specify a TLS protocol
P3 JDK-8220083 Remove hard-coded 127.0.0.1 loopback address in JDK networking tests
P3 JDK-8223145 Replace wildcard address with loopback or local host in tests - part 1
P3 JDK-8224204 Replace wildcard address with loopback or local host in tests - part 10
P3 JDK-8226825 Replace wildcard address with loopback or local host in tests - part 19
P3 JDK-8230435 Replace wildcard address with loopback or local host in tests - part 22
P3 JDK-8230858 Replace wildcard address with loopback or local host in tests - part 23
P4 JDK-8233847 (sctp) Flx link-local IPv6 scope handling and test cleanup.
P4 JDK-8240754 Instrument FlowTest.java to provide more debug traces.
P4 JDK-8232513 java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
P4 JDK-8249812 java/net/DatagramSocket/PortUnreachable.java still fails intermittently with SocketTimeoutException
P4 JDK-8237858 PlainSocketImpl.socketAccept() handles EINTR incorrectly
P4 JDK-8224035 Replace wildcard address with loopback or local host in tests - part 9
P4 JDK-8312065 Socket.connect does not timeout when profiling

core-libs/java.nio

Priority Bug Summary
P4 JDK-8053479 (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
P4 JDK-8289584 (fs) Print size values in java/nio/file/FileStore/Basic.java when they differ by > 1GiB

core-libs/java.util.concurrent

Priority Bug Summary
P4 JDK-8315683 Parallelize java/util/concurrent/tck/JSR166TestCase.java

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8240235 jdk.test.lib.util.JarUtils updates jar files incorrectly

core-libs/java.util.logging

Priority Bug Summary
P2 JDK-8314263 Signed jars triggering Logger finder recursion and StackOverflowError
P3 JDK-8315696 SignedLoggerFinderTest.java test failed
P4 JDK-8316087 Test SignedLoggerFinderTest.java is still failing

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-6381945 (cal) Japanese calendar unit test system should avoid multiple static imports

core-libs/javax.naming

Priority Bug Summary
P3 JDK-8313657 com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
P3 JDK-8314063 The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
P4 JDK-8214694 cleanup rawtypes warnings in open jndi tests

core-svc/debugger

Priority Bug Summary
P4 JDK-8259266 com/sun/jdi/JdbOptions.java failed with "RuntimeException: 'prop[boo] = >foo 2<' missing from stdout/stderr"
P4 JDK-8260431 com/sun/jdi/JdbOptions.java failed with "RuntimeException: 'prop[boo] = >foo<' missing from stdout/stderr"
P4 JDK-8317920 JDWP-agent sends broken exception event with onthrow option

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8240604 Rewrite sun/management/jmxremote/bootstrap/CustomLauncherTest.java test to make binaries from source file

core-svc/javax.management

Priority Bug Summary
P3 JDK-8315862 [11u] Backport 8227337: javax/management/remote/mandatory/connection/ReconnectTest.java NoSuchObjectException no such object in table
P3 JDK-8205467 javax/management/remote/mandatory/connection/MultiThreadDeadLockTest.java possible deadlock

core-svc/tools

Priority Bug Summary
P4 JDK-8313815 The exception messages printed by jcmd ManagementAgent.start are corrupted on Japanese Windows

hotspot/compiler

Priority Bug Summary
P3 JDK-8313626 C2 crash due to unexpected exception control flow
P4 JDK-8067250 [mlvm] vm/mlvm/mixed/stress/regression/b6969574 fails and perf regression
P4 JDK-8316178 Better diagnostic header for CodeBlobs
P4 JDK-8316514 Better diagnostic header for VtableStub
P4 JDK-8311813 C1: Uninitialized PhiResolver::_loop field
P4 JDK-8312573 Failure during CompileOnly parsing leads to ShouldNotReachHere
P4 JDK-8233000 Mark vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize test as stress test
P4 JDK-8292713 Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses
P4 JDK-8218178 vmTestbase/vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java fails with -Xcomp

hotspot/gc

Priority Bug Summary
P2 JDK-8210265 Crash in HSpaceCounters::update_used()
P2 JDK-8275329 ZGC: vmTestbase/gc/gctests/SoftReference/soft004/soft004.java fails with assert(_phases->length() <= 1000) failed: Too many recored phases?
P4 JDK-8217329 JTREG: Clean up, remove unused imports in gc folder
P4 JDK-8315766 Parallelize gc/stress/TestStressIHOPMultiThread.java test
P4 JDK-8315692 Parallelize gc/stress/TestStressRSetCoarsening.java test
P4 JDK-8275333 Print count in "Too many recored phases?" assert
P5 JDK-8316906 Clarify TLABWasteTargetPercent flag

hotspot/jfr

Priority Bug Summary
P3 JDK-8293166 jdk/jfr/jvm/TestDumpOnCrash.java fails on Linux ppc64le and Linux aarch64
P3 JDK-8244508 JFR: FlightRecorderOptions reset date format
P4 JDK-8294673 JFR: Add SecurityProviderService#threshold to TestActiveSettingEvent.java
P4 JDK-8286707 JFR: Don't commit JFR internal jdk.JavaMonitorWait events
P4 JDK-8289745 JfrStructCopyFailed uses heap words instead of bytes for object sizes
P4 JDK-8289917 Metadata for regionsRefilled of G1EvacuationStatistics event is wrong

hotspot/runtime

Priority Bug Summary
P2 JDK-8213898 CDS dumping of springboot asserts in G1ArchiveAllocator::alloc_new_region
P2 JDK-8316746 Top of lock-stack does not match the unlocked object
P3 JDK-8301570 Test runtime/jni/nativeStack/ needs to detach the native thread
P4 JDK-8284331 Add sanity check for signal handler modification warning.
P4 JDK-8308910 Allow executeAndLog to accept running process
P4 JDK-8301065 Handle control characters in java_lang_String::print
P4 JDK-8297640 Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names
P4 JDK-8210168 JCK test .vm.classfmt.ins.code__002.code__00201m1.code__00201m1 hangs with -noverify
P4 JDK-8293466 libjsig should ignore non-modifying sigaction calls
P4 JDK-8311285 report some fontconfig related environment variables in hs_err file
P4 JDK-8290067 Show stack dimensions in UL logging when attaching threads
P4 JDK-8306883 Thread stacksize is reported with wrong units in os::create_thread logging
P4 JDK-8313691 use close after failing os::fdopen in vmError and ciEnv

hotspot/svc

Priority Bug Summary
P3 JDK-8316380 [11u] Backport 8170089: nsk/jdi/EventSet/resume/resume008: ERROR: suspendCounts don't match for : Common-Cleaner
P4 JDK-8280004 DCmdArgument::parse_value() should handle NULL input

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8221396 Clean up serviceability/sa/TestUniverse.java
P4 JDK-8315770 serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies

hotspot/test

Priority Bug Summary
P4 JDK-8315937 Enable parallelism in vmTestbase/nsk/stress/numeric tests
P4 JDK-8273804 Platform.isTieredSupported should handle the no-compiler case
P4 JDK-8314242 Update applications/scimark/Scimark.java to accept VM flags

infrastructure

Priority Bug Summary
P4 JDK-8312972 Bump update version for OpenJDK: jdk-11.0.22

infrastructure/build

Priority Bug Summary
P3 JDK-8294281 Allow warnings to be disabled on a per-file basis
P3 JDK-8318669 Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
P4 JDK-8315480 [11u] Harmonize GHA cross-compilation block with mainline
P4 JDK-8315062 [GHA] get-bootjdk action should return the abolute path
P4 JDK-8315863 [GHA] Update checkout action to use v4
P4 JDK-8313707 GHA: Bootstrap sysroots with --variant=minbase
P4 JDK-8295885 GHA: Bump gcc versions
P4 JDK-8313428 GHA: Bump GCC versions for July 2023 updates
P4 JDK-8293107 GHA: Bump to Ubuntu 22.04
P4 JDK-8294941 GHA: Cut down cross-compilation sysroots
P4 JDK-8314262 GHA: Cut down cross-compilation sysroots deeper
P4 JDK-8314730 GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
P4 JDK-8293361 GHA: dump config.log in case of configure failure
P4 JDK-8293098 GHA: Harmonize GCC version handling for host and cross builds
P4 JDK-8294956 GHA: qemu-debootstrap is deprecated, use the regular one
P4 JDK-8299330 Minor improvements in MSYS2 Workflow handling
P4 JDK-8295213 Run GHA manually with user-specified make and configure arguments
P4 JDK-8315020 The macro definition for LoongArch64 zero build is not accurate.

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8323423 [11u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 11.0.22

security-libs/java.security

Priority Bug Summary
P2 JDK-8318759 Add four DigiCert root certificates
P2 JDK-8317374 Add Let's Encrypt ISRG Root X2
P2 JDK-8317373 Add Telia Root CA v2
P2 JDK-8319187 Add three eMudhra emSign roots
P3 JDK-8302017 Allocate BadPaddingException only if it will be thrown
P3 JDK-8310549 avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
P3 JDK-8308592 Framework for CA interoperability testing
P3 JDK-8312489 Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
P3 JDK-8026393 jarsigner never shows a warning in badKeyUsage case
P3 JDK-8320597 RSA signature verification fails on signed data that does not encode params correctly
P3 JDK-8268916 Tests for AffirmTrust roots
P4 JDK-8254711 Add java.security.Provider.getService JFR Event
P4 JDK-8300259 Add test coverage for processing of pending block files in signed JARs
P4 JDK-8300272 Improve readability of the test JarWithOneNonDisabledDigestAlg
P4 JDK-8312126 NullPointerException in CertStore.getCRLs after 8297955

security-libs/javax.crypto

Priority Bug Summary
P2 JDK-8303607 SunMSCAPI provider leaks memory and keys

security-libs/javax.net.ssl

Priority Bug Summary
P2 JDK-8317967 Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
P3 JDK-8258914 javax/net/ssl/DTLS/RespondToRetransmit.java timed out
P5 JDK-8267860 Off-by-one bug when searching arrays in AlpnGreaseTest

security-libs/javax.xml.crypto

Priority Bug Summary
P4 JDK-8255548 Missing coverage for javax.xml.crypto.dom.DOMCryptoContext

security-libs/jdk.security

Priority Bug Summary
P4 JDK-8301167 Update VerifySignedJar to actually exercise and test verification

tools

Priority Bug Summary
P4 JDK-8315214 Do not run sun/tools/jhsdb tests concurrently

tools/javac

Priority Bug Summary
P4 JDK-8232933 Javac inferred type does not conform to equality constraint

tools/javap

Priority Bug Summary
P4 JDK-8195589 T6587786.java failed after JDK-8189997

tools/jshell

Priority Bug Summary
P3 JDK-8207166 jdk/jshell/JdiHangingLaunchExecutionControlTest.java - launch timeout
P3 JDK-8313792 Verify 4th party information in src/jdk.internal.le/share/legal/jline.md