RELEASE NOTES: JDK 17.0.16

Notes generated: Sun Apr 27 06:06:51 CEST 2025

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8303770

Removed Baltimore CyberTrust Root Certificate after expiry date


The following expired root certificate has been removed from the cacerts keystore: ` + alias name "baltimorecybertrustca [jdk]" Distinguished Name: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE `


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8294155 Exception thrown before awaitAndCheck hangs PassFailJFrame
P4 JDK-8298709 Fix typos in src/java.desktop/ and various test classes of client component
P4 JDK-8350260 Improve HTML instruction formatting in PassFailJFrame
P4 JDK-8279894 javax/swing/JInternalFrame/8020708/bug8020708.java timeouts on Windows 11
P4 JDK-8340560 Open Source several AWT/2D font and rendering tests
P4 JDK-8340784 Remove PassFailJFrame constructor with screenshots
P4 JDK-8290162 Reset recursion counter missed in fix of JDK-8224267
P4 JDK-8353138 Screen capture for test TaskbarPositionTest.java, failure case
P4 JDK-8305578 X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions

client-libs/2d

Priority Bug Summary
P3 JDK-8296920 Regression Test DialogOrient.java fails on MacOS
P3 JDK-8348596 Update FreeType to 2.13.3
P3 JDK-8348597 Update HarfBuzz to 10.4.0
P3 JDK-8348110 Update LCMS to 2.17
P4 JDK-8316497 ColorConvertOp - typo for non-ICC conversions needs one-line fix
P4 JDK-8340143 Open source several Java2D rendering loop tests.
P4 JDK-8341128 open source some 2d graphics tests
P4 JDK-8341535 sun/awt/font/TestDevTransform.java fails with RuntimeException: Different rendering
P4 JDK-8343124 Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access

client-libs/java.awt

Priority Bug Summary
P2 JDK-8308875 java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java failed with 'Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null'
P3 JDK-8280991 [XWayland] No displayChanged event after setDisplayMode call
P3 JDK-8280468 Crashes in getConfigColormap, getConfigVisualId, XVisualIDFromVisual on Linux
P3 JDK-8348598 Update Libpng to 1.6.47
P3 JDK-8348600 Update PipeWire to 1.3.81
P4 JDK-8349751 AIX build failure after upgrade pipewire to 1.3.81
P4 JDK-8334644 Automate javax/print/attribute/PageRangesException.java
P4 JDK-8328482 Convert and Open source few manual applet test to main based
P4 JDK-8328301 Convert Applet test ManualHTMLDataFlavorTest.java to main program
P4 JDK-8343170 java/awt/Cursor/JPanelCursorTest/JPanelCursorTest.java does not show the default cursor
P4 JDK-8352109 java/awt/Desktop/MailTest.java fails in platforms where Action.MAIL is not supported
P4 JDK-8341972 java/awt/dnd/DnDRemoveFocusOwnerCrashTest.java timed out after JDK-8341257
P4 JDK-8282863 java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java fails on Windows 10 with HiDPI screen
P4 JDK-8340458 Open source additional Component tests (part 2)
P4 JDK-8340625 Open source additional Component tests (part 3)
P4 JDK-8341004 Open source AWT FileDialog related tests
P4 JDK-8340084 Open source AWT Frame related tests
P4 JDK-8339984 Open source AWT MenuItem related tests
P4 JDK-8339794 Open source closed choice tests #1
P4 JDK-8340393 Open source closed choice tests #2
P4 JDK-8340433 Open source closed choice tests #3
P4 JDK-8340907 Open source closed frame tests # 2
P4 JDK-8341239 Open source closed frame tests # 3
P4 JDK-8341373 Open source closed frame tests # 4
P4 JDK-8341447 Open source closed frame tests # 5
P4 JDK-8340228 Open source couple more miscellaneous AWT tests
P4 JDK-8340555 Open source DnD tests - Set4
P4 JDK-8340713 Open source DnD tests - Set5
P4 JDK-8340966 Open source few Checkbox and Cursor tests - Set1
P4 JDK-8340077 Open source few Checkbox tests - Set2
P4 JDK-8340164 Open source few Component tests - Set1
P4 JDK-8340967 Open source few Cursor tests - Set2
P4 JDK-8341257 Open source few DND tests - Set1
P4 JDK-8340978 Open source few DnD tests - Set6
P4 JDK-8341191 Open source few more AWT FileDialog tests
P4 JDK-8340437 Open source few more AWT Frame related tests
P4 JDK-8340639 Open source few more AWT List tests
P4 JDK-8340809 Open source few more AWT PopupMenu tests
P4 JDK-8341278 Open source few TrayIcon tests - Set7
P4 JDK-8341378 Open source few TrayIcon tests - Set8
P4 JDK-8341258 Open source few various AWT tests - Set1
P4 JDK-8340332 Open source mixed AWT tests - Set3
P4 JDK-8341298 Open source more AWT window tests
P4 JDK-8341072 Open source several AWT Canvas and Rectangle related tests
P4 JDK-8340193 Open source several AWT Dialog tests - Batch 1
P4 JDK-8340279 Open source several AWT Dialog tests - Batch 2
P4 JDK-8340366 Open source several AWT Dialog tests - Batch 3
P4 JDK-8340790 Open source several AWT Dialog tests - Batch 4
P4 JDK-8339727 Open source several AWT focus tests - series 1
P4 JDK-8339842 Open source several AWT focus tests - series 2
P4 JDK-8339895 Open source several AWT focus tests - series 3
P4 JDK-8339906 Open source several AWT focus tests - series 4
P4 JDK-8339935 Open source several AWT focus tests - series 5
P4 JDK-8339995 Open source several AWT focus tests - series 6
P4 JDK-8340621 Open source several AWT List tests
P4 JDK-8339836 Open source several AWT Mouse tests - Batch 1
P4 JDK-8339982 Open source several AWT Mouse tests - Batch 2
P4 JDK-8340605 Open source several AWT PopupMenu tests
P4 JDK-8340271 Open source several AWT Robot tests
P4 JDK-8341148 Open source several Choice related tests
P4 JDK-8341170 Open source several Choice related tests (part 2)
P4 JDK-8340173 Open source some Component/Panel/EventQueue tests - Set2
P4 JDK-8340985 Open source some Desktop related tests
P4 JDK-8340417 Open source some MenuBar tests - Set1
P4 JDK-8340432 Open source some MenuBar tests - Set2
P4 JDK-8340874 Open source some of the AWT Geometry/Button tests
P4 JDK-8341162 Open source some of the AWT window test
P4 JDK-8341000 Open source some of the AWT Window tests
P4 JDK-8340367 Opensource few AWT image tests
P4 JDK-8339639 Opensource few AWT PopupMenu tests
P4 JDK-8348299 Update List/ItemEventTest/ItemEventTest.java

client-libs/javax.accessibility

Priority Bug Summary
P3 JDK-8345728 [Accessibility,macOS,Screen Magnifier]: JCheckbox unchecked state does not magnify but works for checked state
P3 JDK-8348936 [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS
P3 JDK-8286204 [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS

client-libs/javax.imageio

Priority Bug Summary
P3 JDK-8347911 Limit the length of inflated text chunks

client-libs/javax.sound

Priority Bug Summary
P4 JDK-8347576 Error output in libjsound has non matching format strings

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8218474 JComboBox display issue with GTKLookAndFeel
P3 JDK-8224267 JOptionPane message string with 5000+ newlines produces StackOverflowError
P3 JDK-8051591 Test javax/swing/JTabbedPane/8007563/Test8007563.java fails
P4 JDK-8325435 [macos] Menu or JPopupMenu not closed when main window is resized
P4 JDK-8024624 [TEST_BUG] [macosx] CTRL+RIGHT(LEFT) doesn't move selection on next cell in JTable on Aqua L&F
P4 JDK-8328670 Automate and open source few closed manual applet test
P4 JDK-8280820 Clean up bug8033699 and bug8075609.java tests: regtesthelpers aren't used
P4 JDK-8328484 Convert and Opensource few JFileChooser applet test to main
P4 JDK-8196465 javax/swing/JComboBox/8182031/ComboPopupTest.java fails on Linux
P4 JDK-8295804 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
P4 JDK-8350924 javax/swing/JMenu/4213634/bug4213634.java fails
P4 JDK-8042134 JOptionPane bungles HTML messages
P4 JDK-8346581 JRadioButton/ButtonGroupFocusTest.java fails in CI on Linux
P4 JDK-8315876 Open source several Swing CSS related tests
P4 JDK-8315951 Open source several Swing HTMLEditorKit related tests
P4 JDK-8315669 Open source several Swing PopupMenu related tests
P4 JDK-8316061 Open source several Swing RootPane and Slider related tests
P4 JDK-8315742 Open source several Swing Scroll related tests
P4 JDK-8316324 Opensource five miscellaneous Swing tests
P4 JDK-8315981 Opensource five more random Swing tests
P4 JDK-8315871 Opensource five more Swing regression tests
P4 JDK-8316388 Opensource five Swing component related regression tests
P4 JDK-8328648 Remove applet usage from JFileChooser tests bug4150029
P4 JDK-5074006 Swing JOptionPane shows tag as a string after newline
P4 JDK-8345357 test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04
P5 JDK-8342524 Use latch in AbstractButton/bug6298940.java instead of delay

core-libs/java.io

Priority Bug Summary
P4 JDK-8353714 [17u] Backport of 8347740 incomplete
P4 JDK-8314120 Add tests for FileDescriptor.sync
P4 JDK-8316156 ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow

core-libs/java.lang

Priority Bug Summary
P4 JDK-8349974 [JMH,17u] MaskQueryOperationsBenchmark fails java.lang.NoClassDefFoundError
P4 JDK-8315721 CloseRace.java#id0 fails transiently on libgraal

core-libs/java.net

Priority Bug Summary
P4 JDK-8256211 assert fired in java/net/httpclient/DependentPromiseActionsTest (infrequent)
P4 JDK-8254786 java/net/httpclient/CancelRequestTest.java failing intermittently
P4 JDK-8281511 java/net/ipv6tests/UdpTest.java fails with checkTime failed
P4 JDK-8341637 java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
P4 JDK-8277983 Remove unused fields from sun.net.www.protocol.jar.JarURLConnection
P4 JDK-8348107 test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
P4 JDK-6956385 URLConnection.getLastModified() leaks file handles for jar:file and file: URLs

core-libs/java.nio

Priority Bug Summary
P4 JDK-8347286 (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java

core-libs/java.time

Priority Bug Summary
P3 JDK-8352716 (tz) Update Timezone Data to 2025b

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-8349200 [JMH] time.format.ZonedDateTimeFormatterBenchmark fails

core-svc/debugger

Priority Bug Summary
P5 JDK-8337299 vmTestbase/nsk/jdb/stop_at/stop_at002/stop_at002.java failure goes undetected

core-svc/java.lang.instrument

Priority Bug Summary
P4 JDK-8316451 6 java/lang/instrument/PremainClass tests ignore VM flags
P4 JDK-8316452 java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags
P5 JDK-8319578 Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8347267 [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
P4 JDK-8335684 Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java
P4 JDK-8297173 usageTicks and totalTicks should be volatile to ensure that different threads get the latest ticks

core-svc/javax.management

Priority Bug Summary
P3 JDK-8342633 javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir
P4 JDK-8316460 4 javax/management tests ignore VM flags
P4 JDK-8343936 Adjust timeout in test javax/management/monitor/DerivedGaugeMonitorTest.java
P4 JDK-8292064 Convert java/lang/management/MemoryMXBean shell tests to java version

hotspot/compiler

Priority Bug Summary
P3 JDK-8320682 [AArch64] C1 compilation fails with "Field too big for insn"
P3 JDK-8335662 [AArch64] C1: guarantee(val < (1ULL << nbits)) failed: Field too big for insn
P4 JDK-8350412 [21u] AArch64: Ambiguous frame layout leads to incorrect traces in JFR
P4 JDK-8334560 [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields
P4 JDK-8343205 CompileBroker::possibly_add_compiler_threads excessively polls available memory
P4 JDK-8337221 CompileFramework: test library to conveniently compile java and jasm sources for fuzzing
P4 JDK-8350211 CTW: Attempt to preload all classes in constant pool
P4 JDK-8287801 Fix test-bugs related to stress flags
P4 JDK-8319572 Test jdk/incubator/vector/LoadJsvmlTest.java ignores VM flags
P4 JDK-8251505 Use of types in compiler shared code should be consistent.

hotspot/gc

Priority Bug Summary
P2 JDK-8293503 gc/metaspace/TestMetaspacePerfCounters.java#Epsilon-64 failed assertGreaterThanOrEqual: expected MMM >= NNN
P4 JDK-8276995 Bug in jdk.jfr.event.gc.collection.TestSystemGC
P4 JDK-8339300 CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms
P4 JDK-8329261 G1: interpreter post-barrier x86 code asserts index size of wrong buffer
P4 JDK-8347126 gc/stress/TestStressG1Uncommit.java gets OOM-killed
P4 JDK-8211400 nsk.share.gc.Memory::getArrayLength returns wrong value
P4 JDK-8321718 ProcessTools.executeProcess calls waitFor before logging

hotspot/jfr

Priority Bug Summary
P4 JDK-8334780 Crash: assert(h_array_list.not_null()) failed: invariant

hotspot/jvmti

Priority Bug Summary
P4 JDK-8343103 Enable debug logging for vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java
P4 JDK-8305010 Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended

hotspot/other

Priority Bug Summary
P4 JDK-8318962 Update ProcessTools javadoc with suggestions in 8315097

hotspot/runtime

Priority Bug Summary
P3 JDK-8300645 Handle julong values in logging of GET_CONTAINER_INFO macros
P3 JDK-8321479 java -D-D crashes
P3 JDK-8339148 Make os::Linux::active_processor_count() public
P3 JDK-8300658 memory_and_swap_limit() reporting wrong values on systems with swapaccount=0
P3 JDK-8298061 vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.java failed with "fatal error: refcount has gone to zero"
P4 JDK-8298147 Clang warns about pointless comparisons
P4 JDK-8298248 Limit sscanf output width in cgroup file parsers
P4 JDK-8314320 Mark runtime/CommandLine/ tests as flagless
P4 JDK-8321931 memory_swap_current_in_bytes reports 0 as "unlimited"
P4 JDK-8342376 More reliable OOM handling in ExceptionDuringDumpAtObjectsInitPhase test
P4 JDK-8334895 OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942
P4 JDK-8298730 Refactor subsystem_file_line_contents and add docs and tests
P4 JDK-8271419 Refactor test code for modifying CDS archive contents
P4 JDK-8350616 Skip ValidateHazardPtrsClosure in non-debug builds
P4 JDK-8339678 Update runtime/condy tests to be executed with VM flags

hotspot/svc

Priority Bug Summary
P1 JDK-8316228 jcmd tests are broken by 8314828
P4 JDK-8352649 [17u] guarantee(is_result_safe || is_in_asgct()) failed inside AsyncGetCallTrace
P4 JDK-8314828 Mark 3 jcmd command-line options test as vm.flagless

hotspot/svc-agent

Priority Bug Summary
P3 JDK-8307318 Test serviceability/sa/ClhsdbCDSJstackPrintAll.java failed: ArrayIndexOutOfBoundsException
P4 JDK-8349039 Adjust exception No type named in database
P4 JDK-8343529 serviceability/sa/ClhsdbWhere.java fails AssertionFailure: Corrupted constant pool
P4 JDK-8253440 serviceability/sa/TestJhsdbJstackLineNumbers.java failed with "Didn't find enough line numbers"

infrastructure/build

Priority Bug Summary
P3 JDK-8353709 Debug symbols bundle should contain full debug files when building --with-external-symbols-in-bundles=public
P4 JDK-8279884 Use better file for cygwin source permission check

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8350651 Bump update version for OpenJDK: jdk-17.0.16

security-libs/java.security

Priority Bug Summary
P3 JDK-8303770 Remove Baltimore root certificate expiring in May 2025
P3 JDK-8344361 Restore null return for invalid services from legacy providers
P4 JDK-8296072 CertAttrSet::encode and DerEncoder::derEncode should write into DerOutputStream
P4 JDK-8346049 jdk/test/lib/security/timestamp/TsaServer.java warnings
P4 JDK-8349348 Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java
P4 JDK-8345134 Test sun/security/tools/jarsigner/ConciseJarsigner.java failed: unable to find valid certification path to requested target
P4 JDK-8352302 Test sun/security/tools/jarsigner/TimestampCheck.java is failing
P4 JDK-8345133 Test sun/security/tools/jarsigner/TsacertOptionTest.java failed: Warning found in stdout

security-libs/javax.crypto

Priority Bug Summary
P4 JDK-8345598 Upgrade NSS binaries for interop tests

security-libs/org.ietf.jgss

Priority Bug Summary
P3 JDK-8325680 Uninitialised memory in deleteGSSCB of GSSLibStub.c:179

tools

Priority Bug Summary
P2 JDK-8296167 test/langtools/tools/jdeps/jdkinternals/ShowReplacement.java failing after JDK-8296072

tools/jshell

Priority Bug Summary
P4 JDK-8347629 Test FailOverDirectExecutionControlTest.java fails with -Xcomp

xml/jaxp

Priority Bug Summary
P4 JDK-8077371 Binary files in JAXP test should be removed