RELEASE NOTES: JDK 11.0.19

Notes generated: Mon Dec 02 18:56:26 CET 2024

JEPs

None.

RELEASE NOTES

security-libs/javax.net.ssl

Issue Description
JDK-8190492

Removed SSLv2Hello and SSLv3 From Default Enabled TLS Protocols


SSLv2Hello and SSLv3 have been removed from the default enabled TLS protocols.

After this update, if SSLv3 is removed from the jdk.tls.disabledAlgorithms security property, the SSLSocket.getEnabledProtocols(), SSLServerSocket.getEnabledProtocols(), SSLEngine.getEnabledProtocols() and SSLParameters.getProtocols() APIs will return "TLSv1.3, TLSv1.2, TLSv1.1, TLSv1". "SSLv3" will not be returned in this list.

If a client or server still needs to use the SSLv3 protocol they can do so by enabling it through the jdk.tls.client.protocols or jdk.tls.server.protocols system properties or with the SSLSocket.setEnabledProtocols(), SSLServerSocket.setEnabledProtocols() and SSLEngine.setEnabledProtocols() APIs.


security-libs/java.security

Issue Description
JDK-8245654

Added Certigna(Dhimyotis) CA Certificate


The following root certificate has been added to the cacerts truststore: ` + Certigna (Dhimyotis) + certignaca DN: CN=Certigna, O=Dhimyotis, C=FR `


core-libs/java.io

Issue Description
JDK-8208077

`File::listRoots` Changed to Return All Available Drives on Windows


The behavior of the method java.io.File.listRoots() on Microsoft Windows has changed in this release so that the returned array includes a File object for all available disk drives. This differs from the behavior in JDK 10 to JDK 20, where this method filtered out disk drives that were not accessible or did not have media present. This change avoids performance issues observed in the previous releases and also ensures that the method is consistent with the root directories in the iteration returned by FileSystem.getDefault().getRootDirectories().


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8285399 JNI exception pending in awt_GraphicsEnv.c:1432
P3 JDK-8297088 Update LCMS to 2.14
P4 JDK-8280048 Missing comma in copyright header
P4 JDK-8255710 Opensource unit/regression tests for CMM
P4 JDK-8192931 Regression test java/awt/font/TextLayout/CombiningPerf.java fails
P4 JDK-8298027 Remove SCCS id's from awt jtreg tests
P4 JDK-6528710 sRGB-ColorSpace to sRGB-ColorSpace Conversion
P5 JDK-8293767 AWT test TestSinhalaChar.java has old SCCS markings

client-libs/java.awt

Priority Bug Summary
P1 JDK-8288332 Tier1 validate-source fails after 8279614
P2 JDK-8295685 Update Libpng to 1.6.38
P3 JDK-8144030 [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)
P3 JDK-8274939 Incorrect size of the pixel storage is used by the robot on macOS
P3 JDK-8284023 java.sun.awt.X11GraphicsDevice.getDoubleBufferVisuals() leaks XdbeScreenVisualInfo
P3 JDK-8238936 The crash in XRobotPeer when the custom GraphicsDevice is used
P3 JDK-8279614 The left line of the TitledBorder is not painted on 150 scale factor
P4 JDK-8209115 adjust libsplashscreen linux ppc64le builds for easier libpng update
P4 JDK-8298093 improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c
P4 JDK-8297489 Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent
P4 JDK-8295774 Write a test to verify List sends ItemEvent/ActionEvent
P4 JDK-8299296 Write a test to verify the components selection sends ItemEvent

client-libs/javax.accessibility

Priority Bug Summary
P3 JDK-8261352 Create implementation for component peer for all the components who should be ignored in a11y interactions

client-libs/javax.imageio

Priority Bug Summary
P4 JDK-8297480 GetPrimitiveArrayCritical in imageioJPEG misses result - NULL check

client-libs/javax.sound

Priority Bug Summary
P4 JDK-7188098 TEST_BUG: closed/javax/sound/midi/Synthesizer/Receiver/bug6186488.java fails

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8261350 Create implementation for NSAccessibilityCheckBox protocol peer
P3 JDK-8256126 Create implementation for NSAccessibilityImage protocol peer
P3 JDK-8261351 Create implementation for NSAccessibilityRadioButton protocol
P3 JDK-8264300 Create implementation for NSAccessibilityScrollBar protocol peer
P3 JDK-8256111 Create implementation for NSAccessibilityStaticText protocol
P3 JDK-8256110 Create implementation for NSAccessibilityStepper protocol
P3 JDK-8264299 Create implementation of native accessibility peer for ScrollPane and ScrollBar Java Accessibility roles
P3 JDK-8296878 Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters
P3 JDK-8282958 Rendering Issues with Borders on Windows High-DPI systems
P4 JDK-8065097 [macosx] javax/swing/Popup/TaskbarPositionTest.java fails because Popup is one pixel off
P4 JDK-8241806 The sun/awt/shell/FileSystemViewMemoryLeak.java is unstable

core-libs

Priority Bug Summary
P4 JDK-8230374 maxOutputSize, instead of javatest.maxOutputSize, should be used in TEST.properties
P4 JDK-8259267 Refactor LoaderLeak shell test as java test.
P4 JDK-8259265 Refactor UncaughtExceptions shell test as java test.

core-libs/java.io

Priority Bug Summary
P3 JDK-8208077 File.listRoots performance degradation

core-libs/java.lang

Priority Bug Summary
P3 JDK-8282219 jdk/java/lang/ProcessBuilder/Basic.java fails on AIX
P4 JDK-8284165 Add pid to process reaper thread name
P4 JDK-8285690 CloneableReference subtest should not throw CloneNotSupportedException
P4 JDK-8290899 java/lang/String/StringRepeat.java test requests too much heap on windows x86

core-libs/java.math

Priority Bug Summary
P4 JDK-8215759 [test] java/math/BigInteger/ModPow.java can throw an ArithmeticException

core-libs/java.net

Priority Bug Summary
P2 JDK-8297569 URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378
P3 JDK-8223463 Replace wildcard address with loopback or local host in tests - part 2
P3 JDK-8227422 sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
P3 JDK-8294378 URLPermission constructor exception when using tr locale
P3 JDK-8298588 WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body
P4 JDK-8300424 [11u] Chunk lost in backport of 8297569
P4 JDK-8214445 [test] java/net/URL/HandlerLoop has illegal reflective access
P4 JDK-8295777 java/net/httpclient/ConnectExceptionTest.java should not rely on system resolver
P4 JDK-8286962 java/net/httpclient/ServerCloseTest.java failed once with ConnectException
P4 JDK-8129315 java/net/Socket/LingerTest.java and java/net/Socket/ShutdownBoth.java timeout intermittently
P4 JDK-8171405 java/net/URLConnection/ResendPostBody.java failed with "Error while cleaning up threads after test"
P4 JDK-8221098 Run java/net/URL/HandlerLoop.java in othervm mode
P4 JDK-8223716 sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic
P4 JDK-8218133 sun/net/www/protocol/http/ProtocolRedirect.java failed with "java.net.ConnectException"
P4 JDK-8170705 sun/net/www/protocol/http/StackTraceTest.java fails intermittently with Invalid Http response
P4 JDK-8245245 WebSocket can lose the URL encoding of URI query parameters

core-libs/java.nio

Priority Bug Summary
P4 JDK-8264200 java/nio/channels/DatagramChannel/SRTest.java fails intermittently
P4 JDK-8280896 java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
P4 JDK-8218460 Test generation scripts do not invoke stream preprocessor correctly
P4 JDK-8215372 test/jdk/java/nio/file/DirectoryStream/Basic.java not correct when using a glob
P4 JDK-8290197 test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension

core-libs/java.sql

Priority Bug Summary
P5 JDK-8266974 duplicate property key in java.sql.rowset resource bundle

core-libs/java.util

Priority Bug Summary
P3 JDK-8264512 jdk/test/jdk/java/util/prefs/ExportNode.java relies on default platform encoding

core-libs/java.util.concurrent

Priority Bug Summary
P2 JDK-8224024 java/util/concurrent/BlockingQueue/DrainToFails.java testBounded fails intermittently
P4 JDK-8292877 java/util/concurrent/atomic/Serial.java uses {Double,Long}Accumulator incorrectly
P4 JDK-8195057 java/util/concurrent/CountDownLatch/Basic.java failed w/ Xcomp
P4 JDK-8221168 java/util/concurrent/CountDownLatch/Basic.java fails

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8282036 Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
P4 JDK-8295530 Update Zlib Data Compression Library to Version 1.2.13

core-libs/java.util.logging

Priority Bug Summary
P3 JDK-8195716 BootstrapLoggerTest : Executor still alive
P4 JDK-8283719 java/util/logging/CheckZombieLockTest.java failing intermittently
P4 JDK-8217353 java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexResetUpdate.java fails with Unexpected reference: java.lang.ref.WeakReference

core-libs/java.util.stream

Priority Bug Summary
P4 JDK-8294705 Disable an assertion in test/jdk/java/util/DoubleStreamSums/CompensatedSums.java
P4 JDK-8249691 jdk/lambda/vm/StrictfpDefault.java file can be removed

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8299194 CustomTzIDCheckDST.java may fail at future date
P4 JDK-8261279 sun/util/resources/cldr/TimeZoneNamesTest.java timed out
P4 JDK-8267038 Update IANA Language Subtag Registry to Version 2022-03-02
P4 JDK-8287180 Update IANA Language Subtag Registry to Version 2022-08-08

core-libs/javax.lang.model

Priority Bug Summary
P4 JDK-8222430 Add tests for ElementKind predicates

core-svc/debugger

Priority Bug Summary
P5 JDK-8283717 vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed due to SocketTimeoutException

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8300119 CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems

core-svc/tools

Priority Bug Summary
P4 JDK-8241293 CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes

globalization/translation

Priority Bug Summary
P4 JDK-8283870 jdeprscan --help causes an exception when the locale is ja, zh_CN or de

hotspot/compiler

Priority Bug Summary
P2 JDK-8304389 [11u] Crash on Windows in C2 compiled code after 8248238 and 8218431
P2 JDK-8295788 C2 compilation hits "assert((mode == ControlAroundStripMined && use == sfpt) || !use->is_reachable_from_root()) failed: missed a node"
P3 JDK-8290964 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
P3 JDK-8256934 C2: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded limit
P3 JDK-8295116 C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead
P3 JDK-8296924 C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address
P3 JDK-8297264 C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top
P3 JDK-8297951 C2: Create skeleton predicates for all If nodes in loop predication
P3 JDK-8296912 C2: CreateExNode::Identity fails with assert(i < _max) failed: oob: i=1, _max=1
P3 JDK-8285835 SIGSEGV in PhaseIdealLoop::build_loop_late_post_work
P4 JDK-8293996 C2: fix and simplify IdealLoopTree::do_remove_empty_loop
P4 JDK-8273895 compiler/ciReplay/TestVMNoCompLevel.java fails due to wrong data size with TieredStopAtLevel=2,3
P4 JDK-8273806 compiler/cpuflags/TestSSE4Disabled.java should test for CPU feature explicitly
P4 JDK-8262060 compiler/whitebox/BlockingCompilation.java timed out
P4 JDK-8209023 fix 2 compiler tests to avoid JDK-8208690
P4 JDK-8261270 MakeMethodNotCompilableTest fails with -XX:TieredStopAtLevel={1,2,3}
P4 JDK-8260576 Typo in compiler/runtime/safepoints/TestRegisterRestoring.java
P4 JDK-8294947 Use 64bit atomics in patch_verified_entry on x86_64
P5 JDK-8286800 Assert in PhaseIdealLoop::dump_real_LCA is too strong
P5 JDK-8292863 assert(_print_inlining_stream->size() > 0) failed: missing inlining msg

hotspot/gc

Priority Bug Summary
P2 JDK-8272985 Reference discovery is confused about atomicity and degree of parallelism
P4 JDK-8248306 gc/stress/gclocker/TestExcessGCLockerCollections.java does not compile
P4 JDK-8300742 jstat's CGCT is 5 percent higher than the pause time in -Xlog:gc.

hotspot/jfr

Priority Bug Summary
P3 JDK-8298129 Let checkpoint event sizes grow beyond u4 limit
P4 JDK-8301842 JFR: increase checkpoint event size for stacktrace and string pool
P4 JDK-8299520 TestPrintXML.java output error messages in case compare fails

hotspot/jvmti

Priority Bug Summary
P4 JDK-8231595 [TEST] develop a test case for SuspendThreadList including current thread
P4 JDK-8223736 jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails due to wrong number of MonitorContendedEntered events
P4 JDK-8226917 jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails on jvmti->InterruptThread (JVMTI_ERROR_THREAD_NOT_ALIVE)
P4 JDK-8226595 jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java still fails due to wrong number of MonitorContendedEntered events
P5 JDK-8257928 Test image build failure with clang-10 due to -Wmisleading-indentation

hotspot/runtime

Priority Bug Summary
P3 JDK-8271506 Add ResourceHashtable support for deleting selected entries
P3 JDK-8286030 Avoid JVM crash when containers share the same /tmp dir
P4 JDK-8221351 Crash in KlassFactory::check_shared_class_file_load_hook
P4 JDK-8294580 frame::interpreter_frame_print_on() crashes if free BasicObjectLock exists in frame
P4 JDK-8287011 Improve container information
P4 JDK-8280391 NMT: Correct NMT tag on CollectedHeap
P4 JDK-8295412 support latest VS2022 MSC_VER in abstract_vm_version.cpp
P4 JDK-8247741 Test test/hotspot/jtreg/runtime/7162488/TestUnrecognizedVmOption.java fails when -XX:+IgnoreUnrecognizedVMOptions is set

hotspot/svc

Priority Bug Summary
P4 JDK-8233462 serviceability/tmtools/jstat tests times out with -Xcomp

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8298073 gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx
P4 JDK-8230731 SA tests fail with "Windbg Error: ReadVirtual failed"
P4 JDK-8279662 serviceability/sa/ClhsdbScanOops.java can fail due to unexpected GC

hotspot/test

Priority Bug Summary
P4 JDK-8252401 Introduce Utils.TEST_NATIVE_PATH
P4 JDK-8252532 use Utils.TEST_NATIVE_PATH instead of System.getProperty("test.nativepath")

infrastructure

Priority Bug Summary
P2 JDK-8301397 [11u, 17u] Bump jtreg to fix issue with build JDK 11.0.18
P4 JDK-8300642 [17u,11u] Fix DEFAULT_PROMOTED_VERSION_PRE=ea for -dev
P4 JDK-8297257 Bump update version for OpenJDK: jdk-11.0.19

infrastructure/build

Priority Bug Summary
P2 JDK-8302000 [11u] A subtle race condition during jdk11u build
P2 JDK-8287906 Rewrite of GitHub Actions (GHA) sanity tests
P3 JDK-8218736 Build warning in lib/JvmFlags.gmk: extraneous text after 'ifeq' directive
P3 JDK-8299789 Compilation of gtest causes build to fail if runtime libraries are in different dirs
P3 JDK-8298527 Cygwin's uname -m returns different string than before
P3 JDK-8295211 Fix autoconf 2.71 warning "AC_CHECK_HEADERS: you should use literals"
P3 JDK-8298459 Fix msys2 linking and handling out of tree build directory for source zip creation
P3 JDK-8218431 Improved platform checking in makefiles
P3 JDK-8285093 Introduce UTIL_ARG_WITH
P3 JDK-8285755 JDK-8285093 changed the default for --with-output-sync
P3 JDK-8293550 Optionally add get-task-allow entitlement to macos binaries
P3 JDK-8256240 Reproducible builds should turn on the "deterministic" flag for Visual Studio
P3 JDK-8217730 Split up MakeBase.gmk
P3 JDK-8244592 Start supporting SOURCE_DATE_EPOCH
P4 JDK-8302694 [11u] Update GHA Boot JDK to 11.0.18
P4 JDK-8273497 building.md should link to both md and html
P4 JDK-8221621 FindTests.gmk cannot handle "=" in TEST.groups comments
P4 JDK-8296904 Improve handling of macos xcode toolchain
P4 JDK-8297963 Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros
P4 JDK-8285919 Remove debug printout from JDK-8285093
P4 JDK-8288499 Restore cancel-in-progress in GHA
P4 JDK-8281262 Windows builds in different directories are not fully reproducible

infrastructure/release_eng

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

security-libs/java.security

Priority Bug Summary
P3 JDK-8298108 Add a regression test for JDK-8297684
P3 JDK-8245654 Add Certigna Root CA
P3 JDK-8296675 Exclude linux-aarch64 in NSS tests
P3 JDK-8298271 java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
P3 JDK-8290920 sspi_bridge.dll not built if BUILD_CRYPTO is false
P3 JDK-8209935 Test to cover CodeSource.getCodeSigners()
P4 JDK-8295405 Add cause in a couple of IllegalArgumentException and InvalidParameterException shown by sun/security/pkcs11 tests

security-libs/javax.crypto

Priority Bug Summary
P4 JDK-8254267 javax/xml/crypto/dsig/LogParameters.java failed with "RuntimeException: Unexpected log output:"

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P4 JDK-8279941 sun/security/pkcs11/Signature/TestDSAKeyLength.java fails when NSS version detection fails

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8282398 EndingDotHostname.java test fails because SSL cert expired
P3 JDK-8190492 Remove SSLv2Hello and SSLv3 from default enabled TLS protocols
P3 JDK-8282511 Use fixed certificate validation date in SSLExampleCert template
P4 JDK-8235448 code cleanup in SSLContextImpl.java
P4 JDK-8299445 EndingDotHostname.java fails because of compilation errors
P4 JDK-8065422 Trailing dot in hostname causes TLS handshake to fail with SNI disabled

security-libs/org.ietf.jgss

Priority Bug Summary
P4 JDK-8280401 [sspi] gss_accept_sec_context leaves output_token uninitialized
P4 JDK-8210373 Deadlock in libj2gss.so when loading "j2gss" and "net" libraries in parallel.
P4 JDK-8301760 Fix possible leak in SpNegoContext dispose
P4 JDK-8212165 JGSS: Fix cut/paste error in NativeUtil.c
P4 JDK-8212216 JGSS: Fix leak in exception cases in getJavaOID()

tools

Priority Bug Summary
P4 JDK-8289562 Change bugs.java.com and bugreport.java.com URL's to https
P4 JDK-8283606 Tests may fail with zh locale on MacOS

tools/javac

Priority Bug Summary
P4 JDK-8207248 Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests
P4 JDK-8035787 SourcePositions are wrong for Strings concatenated with '+' operator

tools/javadoc(tool)

Priority Bug Summary
P3 JDK-8296619 Upgrade jQuery to 3.6.1
P4 JDK-8302903 [11u] Add modified test snippet after backport of JDK-8221871
P4 JDK-8202621 bad test with broken links needs to be updated
P4 JDK-8213265 fix missing newlines at end of files

xml

Priority Bug Summary
P4 JDK-8300773 Address the inconsistency between the constant array and pool size

xml/jaxp

Priority Bug Summary
P4 JDK-8209774 Refactor shell test javax/xml/jaxp/common/8035437/run.sh to java