java

JDK 20.0.1 Release Notes

Java SE 20.0.1 - Bundled Patch Release (BPR) - Bug Fixes and Updates

The following sections summarize changes made in all Java SE 20.0.1 BPR releases. The BPR releases are listed below in date order, most current BPR first. Note that bug fixes in previous BPRs are also included in the current BPR.

 

Changes in Java SE 20.0.1.0.1

Bug Fixes

BugId Category Subcategory Description
JDK-8302976 hotspot compiler C2 Intrinsification of Float.floatToFloat16 and Float.float16ToFloat Yields Different Result than the Interpreter

Java™ SE Development Kit 20.0.1 (JDK 20.0.1)

April 18, 2023

The full version string for this update release is 20.0.1+9 (where "+" means "build"). The version number is 20.0.1.

 

IANA TZ Data 2022g

For more information, refer to Timezone Data Versions in the JRE Software.

 

Security Baselines

The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 20.0.1 are specified in the following table:

JRE Family Version JRE Security Baseline (Full Version String)
2020.0.1+9
1717.0.7+8
1111.0.19+9
88u371-b11

 

Keeping the JDK up to Date

Oracle recommends that the JDK is updated with each Critical Patch Update. Use the Security Baseline page to determine the latest version for each release family.

Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Bulletins. It is not recommended to use this JDK (version 20.0.1) after the next critical patch update release, scheduled for July 18, 2023.

 

Other Notes

client-libs/javax.swing
 System Property to Handle HTML ObjectView Creation (JDK-8296832 (Not Public))

Some Swing components, such as JLabels and JButtons, which display application text, will try to interpret that text as HTML, principally to enable styled text. The HTML processing of the text for these components will no longer recognize the <object> tag which allows for subclasses of java.awt.Component to be rendered on the component. To re-enable this, applications must specify -Dswing.html.object=true.

security-libs/java.security
 Added Certigna(Dhimyotis) CA Certificate (JDK-8245654)

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
 File::listRoots Changed to Return All Available Drives on Windows (JDK-8208077)

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().

 

Bug Fixes

This release also contains fixes for security vulnerabilities described in the Oracle Critical Patch Update.

Issues fixed in 20.0.1:
# JBS Component Summary
1JDK-8301876hotspot/runtimeCrash in DumpTimeClassInfo::add_verification_constraint
2JDK-8278965hotspot/runtimecrash in SymbolTable::do_lookup
3JDK-8295951hotspot/runtimeintermittent cmp_baseline task failures with CDS files
4JDK-8301123hotspot/runtimeEnable Symbol refcounting underflow checks in PRODUCT
5JDK-8302202tools/javacIncorrect desugaring of null-allowed nested patterns