RELEASE NOTES: JDK 17.0.16

Notes generated: Thu Apr 03 06:01:12 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 `


JDK-8309841

Jarsigner Should Print a Warning If an Entry Is Removed


If an entry is removed from a signed JAR file, there is no mechanism to detect that it has been removed using the JarFile API, since the getJarEntry method returns null as if the entry had never existed. With this change, the jarsigner -verify command analyzes the signature files and if some sections do not have matching file entries, it prints out the following warning: "This JAR contains signed entries for files that do not exist". Users can further find out the names of these entries by adding the -verbose option to the command.


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8294155 Exception thrown before awaitAndCheck hangs PassFailJFrame
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-8305578 X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions

client-libs/2d

Priority Bug Summary
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-8341535 sun/awt/font/TestDevTransform.java fails with RuntimeException: Different rendering

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-8282863 java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java fails on Windows 10 with HiDPI screen
P4 JDK-8341004 Open source AWT FileDialog 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-8341373 Open source closed frame tests # 4
P4 JDK-8340228 Open source couple more miscellaneous AWT tests
P4 JDK-8340713 Open source DnD tests - Set5
P4 JDK-8340966 Open source few Checkbox and Cursor tests - Set1
P4 JDK-8340164 Open source few Component tests - Set1
P4 JDK-8340809 Open source few more AWT PopupMenu tests
P4 JDK-8341298 Open source more AWT window tests
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-8340605 Open source several AWT PopupMenu 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-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

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
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-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-8315981 Opensource five more random Swing 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
P5 JDK-8342524 Use latch in AbstractButton/bug6298940.java instead of delay

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-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.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.management

Priority Bug Summary
P4 JDK-8347267 [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
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
P4 JDK-8343936 Adjust timeout in test javax/management/monitor/DerivedGaugeMonitorTest.java

hotspot/compiler

Priority Bug Summary
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-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-8347126 gc/stress/TestStressG1Uncommit.java gets OOM-killed

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

hotspot/runtime

Priority Bug Summary
P3 JDK-8300645 Handle julong values in logging of GET_CONTAINER_INFO macros
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-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-8350616 Skip ValidateHazardPtrsClosure in non-debug builds
P4 JDK-8339678 Update runtime/condy tests to be executed with VM flags

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

infrastructure/build

Priority Bug Summary
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-8309841 Jarsigner should print a warning if an entry is removed
P3 JDK-8303770 Remove Baltimore root certificate expiring in May 2025
P4 JDK-8296072 CertAttrSet::encode and DerEncoder::derEncode should write into DerOutputStream
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

security-libs/javax.crypto

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

tools

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

tools/jar

Priority Bug Summary
P4 JDK-8339810 Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract

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