Notes generated: Fri Jun 07 02:08:27 CEST 2024





Issue Description

Make HttpURLConnection Default Keep Alive Timeout Configurable

Two system properties have been added which control the keep alive behavior of HttpURLConnection in the case where the server does not specify a keep alive time. Two properties are defined for controlling connections to servers and proxies separately. They are http.keepAlive.time.server and http.keepAlive.time.proxy respectively. More information about them can be found in Networking Properties.


Issue Description

Windows KeyStore Updated to Include Access to the Local Machine Location

The Windows KeyStore support in the SunMSCAPI provider has been expanded to include access to the local machine location. The new keystore types are:


The following keystore types were also added, allowing developers to make it clear they map to the current user:

  • "Windows-MY-CURRENTUSER" (same as "Windows-MY")
  • "Windows-ROOT-CURRENTUSER" (same as "Windows-ROOT")


Issue Description

CPU Shares Ignored When Computing Active Processor Count

Previous JDK releases used an incorrect interpretation of the Linux cgroups parameter "cpu.shares". This might cause the JVM to use fewer CPUs than available, leading to an under utilization of CPU resources when the JVM is used inside a container.

Starting from this JDK release, by default, the JVM no longer considers "cpu.shares" when deciding the number of threads to be used by the various thread pools. The -XX:+UseContainerCpuShares command-line option can be used to revert to the previous behavior. This option is deprecated and may be removed in a future JDK release.


Issue Description

Toolchain Upgrade to Visual Studio 2022

As part of ongoing maintenance, the JDK for Windows is built using the Microsoft Visual Studio 2022 toolchain starting with this release.

If you have issues with a Java application and if you have native or JNI libraries that are compiled with a different release of the compiler, then you must consider compatibility issues between the runtimes. Specifically, your environment is supported only if you follow the Microsoft guidelines when dealing with multiple runtimes. More information can be found in “C++ binary compatibility between Visual Studio versions”.


Issue Description

Disabled SHA-1 Signed JARs

JARs signed with SHA-1 algorithms are now restricted by default and treated as if they were unsigned. This applies to the algorithms used to digest, sign, and optionally timestamp the JAR. It also applies to the signature and digest algorithms of the certificates in the certificate chain of the code signer and the Timestamp Authority, and any CRLs or OCSP responses that are used to verify if those certificates have been revoked. These restrictions also apply to signed JCE providers.

To reduce the compatibility risk for JARs that have been previously timestamped, there is one exception to this policy:

  • Any JAR signed with SHA-1 algorithms and timestamped prior to January 01, 2019 will not be restricted.

This exception may be removed in a future JDK release. To determine if your signed JARs are affected by this change, run jarsigner -verify -verbose -certs on the signed JAR, and look for instances of "SHA1" or "SHA-1" and "disabled" and a warning that the JAR will be treated as unsigned in the output.

For example:

``` - Signed by "CN="Signer"" Digest algorithm: SHA-1 (disabled) Signature algorithm: SHA1withRSA (disabled), 2048-bit key

WARNING: The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled by the security property:

jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024, SHA1 denyAfter 2019-01-01


JARs affected by these new restrictions should be replaced or re-signed with stronger algorithms.

Users can, at their own risk, remove these restrictions by modifying the configuration file (or override it by using the system property) and removing "SHA1 usage SignedJAR & denyAfter 2019-01-01" from the jdk.certpath.disabledAlgorithms security property and "SHA1 denyAfter 2019-01-01" from the jdk.jar.disabledAlgorithms security property.


Issue Description

Update Timezone Data to 2022c

This version includes changes from 2022b that merged multiple regions that have the same timestamp data post-1970 into a single time zone database. All time zone IDs remain the same but the merged time zones will point to a shared zone database.

As a result, pre-1970 data may not be compatible with earlier JDK versions. The affected zones are `Antarctica/Vostok, Asia/Brunei, Asia/Kuala_Lumpur, Atlantic/Reykjavik, Europe/Amsterdam, Europe/Copenhagen, Europe/Luxembourg, Europe/Monaco, Europe/Oslo, Europe/Stockholm, Indian/Christmas, Indian/Cocos, Indian/Kerguelen, Indian/Mahe, Indian/Reunion, Pacific/Chuuk, Pacific/Funafuti, Pacific/Majuro, Pacific/Pohnpei, Pacific/Wake, Pacific/Wallis, Arctic/Longyearbyen, Atlantic/Jan_Mayen, Iceland, Pacific/Ponape, Pacific/Truk, and Pacific/Yap`.

For more details, refer to the announcement of 2022b



Priority Bug Summary
P4 JDK-8283712 Create a manual test framework class
P4 JDK-8282046 Create a regression test for JDK-8000326
P4 JDK-8282640 Create a test for JDK-4740761
P4 JDK-8284898 Enhance PassFailJFrame
P4 JDK-8270312 Error: Not a test or directory containing tests: java/awt/print/PrinterJob/
P4 JDK-8285617 Fix java/awt/print/PrinterJob/ImagePrinting/ manual test
P4 JDK-8284535 Fix test that is failing with Parse Exception
P4 JDK-8283803 Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/ and fix test


Priority Bug Summary
P3 JDK-8283457 [macos] libpng build failures with Xcode13.3
P3 JDK-8289697 buffer overflow in MTLVertexCache.m: MTLVertexCache_AddGlyphQuad
P3 JDK-8264666 Change implementation of safeAdd/safeMult in the LCMSImageLayout class
P3 JDK-8290334 Update FreeType to 2.12.1
P3 JDK-8289853 Update HarfBuzz to 4.4.1
P4 JDK-8255724 [XRender] the BlitRotateClippedArea test fails on Linux in the XR pipeline
P4 JDK-8284680 sun.font.FontConfigManager.getFontConfig() leaks charset
P4 JDK-8287824 The MTPerLineTransformValidation tests has a typo in the @run tag


Priority Bug Summary
P3 JDK-8273506 java Robot API did the 'm' keypress and caused /awt/event/KeyEvent/KeyCharTest/KeyCharTest.html is timing out on macOS 12
P3 JDK-8274597 Some of the dnd tests time out and fail intermittently
P4 JDK-8028998 [TEST_BUG] [macosx] java/awt/dnd/DropTargetEnterExitTest/ failed
P4 JDK-6854300 [TEST_BUG] java/awt/event/MouseEvent/SpuriousExitEnter/ fails in jdk6u14 & jdk7
P4 JDK-8079267 [TEST_BUG] Test java/awt/Frame/MiscUndecorated/ fails
P4 JDK-8281569 Create tests for Frame.setMinimumSize() method
P4 JDK-8159694 HiDPI, Unity, java/awt/dnd/DropTargetEnterExitTest/
P4 JDK-8169468 fails because FS Window didn't receive all resizes!
P4 JDK-8284956 Potential leak awtImageData/color_data when initializes X11GraphicsEnvironment
P4 JDK-8225122 Test fails when Windows desktop is scaled.


Priority Bug Summary
P2 JDK-8278612 [macos] test/jdk/java/awt/dnd/RemoveDropTargetCrashTest crashes with VoiceOver on macOS
P3 JDK-8278609 [macos] accessibility frame is misplaced on a secondary monitor on macOS
P3 JDK-8286266 [macos] VoiceOver : Moving JTable column to be the first column JVM crashes
P3 JDK-8284014 Menu items with submenus in JPopupMenu are not spoken on macOS
P4 JDK-8282778 Create a regression test for JDK-4699544
P4 JDK-8282933 Create a test for JDK-4529616
P4 JDK-8283245 Create a test for JDK-4670319
P4 JDK-8283015 Create a test for JDK-4715496
P4 JDK-8283087 Create a test or JDK-4715503
P4 JDK-8284077 Create an automated test for JDK-4170173
P4 JDK-8285693 Create an automated test for JDK-4702199


Priority Bug Summary
P4 JDK-7131823 bug in GIFImageReader


Priority Bug Summary
P4 JDK-8281738 Create a regression test for checking the 'Space' key activation of focused Button
P4 JDK-8282548 Create a regression test for JDK-4330998
P4 JDK-8281745 Create a regression test for JDK-4514331
P4 JDK-8282343 Create a regression test for JDK-4518432
P4 JDK-8282234 Create a regression test for JDK-4532513
P4 JDK-8281988 Create a regression test for JDK-4618767
P4 JDK-8281535 Create a regression test for JDK-4670051
P4 JDK-8280913 Create a regression test for JRootPane.setDefaultButton() method
P4 JDK-8283507 Create a regression test for RFE 4287690
P4 JDK-8282789 Create a regression test for the JTree usecase of JDK-4618767
P4 JDK-8283623 Create an automated regression test for JDK-4525475
P4 JDK-8284294 Create an automated regression test for RFE 4138746
P4 JDK-8283493 Create an automated regression test for RFE 4231298
P4 JDK-8283624 Create an automated regression test for RFE-4390885
P4 JDK-8172065 javax/swing/JTree/4908142/ The selected index should be "aad"
P4 JDK-8283621 Write a regression test for CCC4400728
P4 JDK-8282860 Write a regression test for JDK-4164779
P4 JDK-8282936 Write a regression test for JDK-4615365
P4 JDK-8282937 Write a regression test for JDK-4820080
P4 JDK-8284521 Write an automated regression test for RFE 4371575


Priority Bug Summary
P3 JDK-8287663 Add a regression test for JDK-8287073
P4 JDK-8284977 MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist
P4 JDK-8287073 NPE from CgroupV2Subsystem.getInstance()


Priority Bug Summary
P4 JDK-8289569 [test] java/lang/ProcessBuilder/ fails on Alpine/musl
P4 JDK-8211002 test/jdk/java/lang/Math/ skips testing for non-corner-case values


Priority Bug Summary
P3 JDK-8287917 System.loadLibrary does not work on Big Sur if JDK is built with macOS SDK 10.15 and earlier


Priority Bug Summary
P4 JDK-8278067 Make HttpURLConnection default keep alive timeout configurable


Priority Bug Summary
P3 JDK-8280233 Temporarily disable Unix domain sockets in Windows PipeImpl
P4 JDK-8280944 Enable Unix domain sockets in Windows Selector notification mechanism


Priority Bug Summary
P4 JDK-8286114 [test] show real exception in bomb call in sun/rmi/runtime/Log/checkLogging/


Priority Bug Summary
P4 JDK-8264792 The NumberFormat for locale sq_XK formats price incorrectly.


Priority Bug Summary
P3 JDK-8292579 (tz) Update Timezone Data to 2022c


Priority Bug Summary
P2 JDK-8280950 RandomGenerator:NextDouble() default behavior non conformant after JDK-8280550 fix
P2 JDK-8281183 RandomGenerator:NextDouble() default behavior partially fixed by JDK-8280950
P4 JDK-8274517 java/util/DoubleStreamSums/ fails with expected [true] but found [false]
P4 JDK-8280550 SplittableRandom#nextDouble(double,double) can return result >= bound


Priority Bug Summary
P4 JDK-8286582 Build fails on macos aarch64 when using --with-zlib=bundled


Priority Bug Summary
P3 JDK-8283277 ISO 4217 Amendment 171 Update
P3 JDK-8289549 ISO 4217 Amendment 172 Update
P3 JDK-8272352 Java launcher can not parse Chinese character when system locale is set to UTF-8
P4 JDK-8028265 Add legacy tz tests to OpenJDK
P4 JDK-8287896 fail on msys2
P4 JDK-8287902 UnreadableRB case in MissingResourceCauseTest is not working reliably on Windows


Priority Bug Summary
P4 JDK-8287672 jtreg test com/sun/jndi/ldap/ fails intermittently in nightly run


Priority Bug Summary
P4 JDK-8288599 com/sun/management/OperatingSystemMXBean/ Expected total swap size ... but getTotalSwapSpaceSize returned ...
P4 JDK-8283903 GetContainerCpuLoad does not return the correct result in share mode


Priority Bug Summary
P1 JDK-8289856 [PPC64] SIGSEGV in C2Compiler::init_c2_runtime() after JDK-8289060
P2 JDK-8289197 [17u] Push of backport of 8286177 did not remove assertion
P2 JDK-8290082 [PPC64] ZGC C2 load barrier stub needs to preserve vector registers
P2 JDK-8287091 aarch64 : guarantee(val < (1ULL << nbits)) failed: Field too big for insn
P2 JDK-8289127 Apache Lucene triggers: DEBUG MESSAGE: duplicated predicate failed which is impossible
P2 JDK-8287432 C2: assert(tn->in(0) != __null) failed: must have live top node
P2 JDK-8286638 C2: CmpU needs to do more precise over/underflow analysis
P2 JDK-8288360 CI: ciInstanceKlass::implementor() is not consistent for well-known classes
P2 JDK-8282555 Missing memory edge when spilling MoveF2I, MoveD2L etc
P3 JDK-8272736 [JVMCI] Add API for reading and writing JVMCI thread locals
P3 JDK-8285923 [REDO] JDK-8285802 AArch64: Consistently handle offsets in MacroAssembler as 64-bit quantities
P3 JDK-8284944 assert(cnt++ < 40) failed: infinite cycle in loop optimization
P3 JDK-8287223 C1: Inlining attempt through MH::invokeBasic() with null receiver
P3 JDK-8288781 C1: LIR_OpVisitState::maxNumberOfOperands too small
P3 JDK-8288303 C1: Miscompilation due to broken Class.getModifiers intrinsic
P3 JDK-8280696 C2 compilation hits assert(is_dominator(c, n_ctrl)) failed
P3 JDK-8286625 C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
P3 JDK-8286177 C2: "failed: non-reduction loop contains reduction nodes" assert failure
P3 JDK-8270090 C2: LCM may prioritize CheckCastPP nodes over projections
P3 JDK-8285820 C2: LCM prioritizes locally dependent CreateEx nodes over projections after 8270090
P3 JDK-8279622 C2: miscompilation of map pattern as a vector reduction
P3 JDK-8283441 C2: segmentation fault in ciMethodBlocks::make_block_at(int)
P3 JDK-8288000 compiler/loopopts/ fails with release VMs
P3 JDK-8284883 JVM crash: guarantee(sect->end() <= sect->limit()) failed: sanity on AVX512
P3 JDK-8287396 LIR_Opr::vreg_number() and data() can return negative number
P3 JDK-8288467 remove memory_operand assert for spilled instructions
P3 JDK-8265360 several compiler/whitebox tests fail with "private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"
P3 JDK-8290246 test fails "assert(init != __null) failed: initialization not found"
P3 JDK-8286314 Trampoline not created for far runtime targets outside small CodeCache
P3 JDK-8284358 Unreachable loop is not removed from C2 IR, leading to a broken graph
P4 JDK-8276546 [IR Framework] Whitelist and ignore CompileThreshold
P4 JDK-8288992 AArch64: CMN should be handled the same way as CMP
P4 JDK-8282467 add extra diagnostics for JDK-8268184
P4 JDK-8285301 C2: assert(!requires_atomic_access) failed: can't ensure atomicity
P4 JDK-8279032 compiler/loopopts/ times out with -XX:TieredStopAtLevel < 4
P4 JDK-8273115 CountedLoopEndNode::stride_con crash in debug build with -XX:+TraceLoopOpts
P4 JDK-8271078 jdk/incubator/vector/ failed a subtest
P4 JDK-8286870 Memory leak with RepeatCompilation


Priority Bug Summary
P2 JDK-8281297 TestStressG1Humongous fails with guarantee(is_range_uncommitted)
P2 JDK-8272417 ZGC: fastdebug build crashes when printing ClassLoaderData
P3 JDK-8291633 Build failures with GCC 11, Alpine 3 due to incompatible casts from nullptr
P3 JDK-8288754 GCC 12 fails to build zReferenceProcessor.cpp


Priority Bug Summary
P3 JDK-8290004 [PPC64] JfrGetCallTrace: assert(_pc != nullptr) failed: must have PC
P3 JDK-8287463 JFR: Disable on Windows
P3 JDK-8282947 JFR: Dump on shutdown live-locks in some conditions
P3 JDK-8287113 JFR: Periodic task thread uses period for method sampling events
P4 JDK-8290020 Deadlock in leakprofiler::emit_events during shutdown
P4 JDK-8284686 Interval of < 1 ms disables ExecutionSample events


Priority Bug Summary
P3 JDK-8283597 [REDO] Invalid generic signature for redefined classes


Priority Bug Summary
P3 JDK-8289799 Build warning in methodData.cpp memset zero-length parameter
P3 JDK-8290417 CDS cannot archive lamda proxy with useImplMethodHandle
P3 JDK-8287107 CgroupSubsystemFactory.setCgroupV2Path asserts with freezer controller
P3 JDK-8281181 Do not use CPU Shares to compute active processor count
P3 JDK-8287741 Fix of JDK-8287107 (unused cgv1 freezer controller) was incomplete
P3 JDK-8289477 Memory corruption with CPU_ALLOC, CPU_FREE on muslc
P3 JDK-8287735 Provide separate event category for dll operations
P4 JDK-8286277 CDS VerifyError when calling clone() on object array
P4 JDK-8284950 CgroupV1 detection code should consider memory.swappiness
P4 JDK-8283562 JDK-8282306 breaks gtests on zero
P4 JDK-8288003 log events for os::dll_unload
P4 JDK-8256844 Make NMT late-initializable
P4 JDK-8257534 misc tests failed with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"
P4 JDK-8274434 move os::get_default_process_handle and os::dll_lookup to os_posix for POSIX platforms
P4 JDK-8282306 os::is_first_C_frame(frame*) crashes on invalid link access
P4 JDK-8290456 remove os::print_statistics()
P4 JDK-8286869 unify os::dir_is_empty across posix platforms
P4 JDK-8289147 unify os::infinite_sleep on posix platforms
P4 JDK-8289910 unify os::message_box across posix platforms


Priority Bug Summary
P3 JDK-8283849 AsyncGetCallTrace may crash JVM on guarantee
P4 JDK-8282477 [x86, aarch64] vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler


Priority Bug Summary
P4 JDK-8269556 sun/tools/jhsdb/ fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr


Priority Bug Summary
P4 JDK-8287016 Bump update version for OpenJDK: jdk-17.0.5
P4 JDK-8283723 Update Visual Studio 2022 to version 17.1.0 for Oracle builds on Windows


Priority Bug Summary
P2 JDK-8287906 Rewrite of GitHub Actions (GHA) sanity tests
P3 JDK-8287724 Fix various issues with msys2
P3 JDK-8287366 Improve test failure reporting in GHA
P4 JDK-8290000 Bump macOS GitHub actions to macOS 11
P4 JDK-8287202 GHA: Add macOS aarch64 to the list of default platforms for workflow_dispatch event
P4 JDK-8286429 jpackageapplauncher build fails intermittently in Tier[45]
P4 JDK-8288399 MacOS debug symbol files not always deterministic in reproducible builds
P4 JDK-8254318 Remove .hgtags
P4 JDK-8288499 Restore cancel-in-progress in GHA
P4 JDK-8285730 unify _WIN32_WINNT settings
P4 JDK-8280863 Update build README to reflect that MSYS2 is supported


Priority Bug Summary
P4 JDK-8295056 [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.5
P4 JDK-8283911 DEFAULT_PROMOTED_VERSION_PRE not reset to 'ea' for jdk-17.0.4


Priority Bug Summary
P3 JDK-8285380 Fix typos in security
P3 JDK-8282538 PKCS11 tests fail on CentOS Stream 9


Priority Bug Summary
P2 JDK-8285696 AlgorithmConstraints:permits not throwing IllegalArgumentException when 'alg' is null
P3 JDK-8269039 Disable SHA-1 Signed JARs
P3 JDK-8275887 jarsigner prints invalid digest/signature algorithm warnings if keysize is weak/disabled
P5 JDK-8291595 [17u] Delete files missed in backport of 8269039


Priority Bug Summary
P3 JDK-8281628 KeyAgreement : generateSecret intermittently not resetting
P4 JDK-6782021 It is not possible to read local computer certificates with the SunMSCAPI provider


Priority Bug Summary
P4 JDK-8288985 P11TlsKeyMaterialGenerator should work with ChaCha20-Poly1305


Priority Bug Summary
P3 JDK-8212096 javax/net/ssl/ServerName/ failed intermittently due to SSLException: Tag mismatch
P3 JDK-8227651 Tests fail with SSLProtocolException: Input record too big
P4 JDK-8284694 Avoid evaluating SSLAlgorithmConstraints twice


Priority Bug Summary
P3 JDK-8286211 Update PCSC-Lite for SUSE Linux to 1.9.5


Priority Bug Summary
P4 JDK-8285398 Cache the results of constraint checks


Priority Bug Summary
P4 JDK-8286573 Remove the unnecessary method Attr#attribTopLevel and its usage
P4 JDK-8287895 Some langtools tests fail on msys2


Priority Bug Summary
P3 JDK-8282214 Upgrade JQuery to version 3.6.0
P3 JDK-8284367 Upgrade JQuery UI to 1.13.1 from 1.12.1


Priority Bug Summary
P3 JDK-8240903 Add test to check that jmod hashes are reproducible


Priority Bug Summary
P3 JDK-8284675 "jpackage.exe" creates application launcher without Windows Application Manfiest
P3 JDK-8287125 [macos] Multiple jpackage tests fail/timeout on same host
P3 JDK-8278233 [macos] tools/jpackage tests timeout due to /usr/bin/osascript
P3 JDK-8276837 [macos]: Error when signing the additional launcher
P3 JDK-8282007 Assorted enhancements to jpackage testing framework
P3 JDK-8278311 Debian packaging doesn't work
P3 JDK-8274856 Failing jpackage tests with fastdebug/release build
P3 JDK-8279370 jdk.jpackage/share/native/applauncher/JvmLauncher.cpp fails to build with GCC 6.3.0
P3 JDK-8284067 jpackage'd launcher reports non-zero exit codes with error prompt
P4 JDK-8286122 [macos]: App bundle cannot upload to Mac App Store due to info.plist embedded in java exe
P4 JDK-8277493 [REDO] Quarantined jpackage apps are labeled as "damaged"
P4 JDK-8277429 Conflicting jpackage static library name
P4 JDK-8272815 jpackage --type rpm produces an error: Invalid or unsupported type: [null]
P4 JDK-8282351 jpackage does not work if class file has `$$` in the name on windows
P4 JDK-8282407 Missing ')' in
P4 JDK-8273040 Turning off JpAllowDowngrades (or Upgrades)
P4 JDK-8271344 Windows product version issue


Priority Bug Summary
P5 JDK-8285097 Duplicate XML keys in and


Priority Bug Summary
P5 JDK-8289471 Issue in Initialization of keys in and


Priority Bug Summary
P3 JDK-8289486 Improve XSLT XPath operators count efficiency
P4 JDK-8285081 Improve XPath operators count accuracy
P4 JDK-8282280 Update Xerces2 Java to Version 2.12.2