RELEASE NOTES FOR: openjdk8u262 ==================================================================================================== Notes generated: Tue Oct 01 23:06:06 CEST 2024 Hint: Prefix bug IDs with https://bugs.openjdk.org/browse/ to reach the relevant JIRA entry. JAVA ENHANCEMENT PROPOSALS (JEP): None. RELEASE NOTES: security-libs/javax.crypto:pkcs11: JDK-8238555: SunPKCS11 Initialization With NSS When External FIPS Modules Are in Security Modules Database The SunPKCS11 security provider can now be initialized with NSS when FIPS-enabled external modules are configured in the Security Modules Database (NSSDB). Before this change, when such a library was configured for NSS in non-FIPS mode, the SunPKCS11 provider would throw a RuntimeException with the message "FIPS flag set for non-internal module". This change allows the JDK to work properly with recent NSS releases in GNU/Linux operating systems when the system-wide FIPS policy is turned on. hotspot/jfr: JDK-8239140: JDK Flight Recorder Integrated to OpenJDK 8u OpenJDK 8u now contains the backport of JEP 328: Flight Recorder (https://openjdk.java.net/jeps/328) from later versions of OpenJDK. JFR is a low-overhead framework to collect and provide data helpful to troubleshoot the performance of the OpenJDK runtime and of Java applications. It consists of a new API to define custom events under the jdk.jfr namespace and a JMX interface to interact with the framework. The recording can also be initiated with the application startup using the -XX:+FlightRecorder flag or via jcmd. JFR replaces the +XX:EnableTracing feature introduced in JEP 167 providing a more efficient way to retrieve the same information. For compatibility reason +XX:EnableTracing is still accepted, however no data will be printed. JFR It is not built by default. Downstream distributions need to pass the --enable-jfr flag at configure time. hotspot/runtime: JDK-8203664: JFR Start Failure After AppCDS Archive Created with JFR StartFlightRecording JFR will be disabled with a warning message if it is enabled during CDS dumping. The user will see the following warning message: Java HotSpot(TM) 64-Bit Server VM warning: JFR will be disabled during CDS dumping if JFR is enabled during CDS dumping such as in the following command line: $java -Xshare:dump -XX:StartFlightRecording=dumponexit=true security-libs/java.security: JDK-8225069: Removal of Comodo Root CA Certificate The following expired Comodo root CA certificate has been removed from the `cacerts` keystore: ``` + alias name "addtrustclass1ca [jdk]" Distinguished Name: CN=AddTrust Class 1 CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE ``` JDK-8225068: Removal of DocuSign Root CA Certificate The following expired DocuSign root CA certificate has been removed from the `cacerts` keystore: ``` + alias name "keynectisrootca [jdk]" Distinguished Name: CN=KEYNECTIS ROOT CA, OU=ROOT, O=KEYNECTIS, C=FR ``` ALL FIXED ISSUES, BY COMPONENT AND PRIORITY: client-libs: (P2) JDK-8148886: SEGV in sun.java2d.marlin.Renderer._endRendering (P2) JDK-8210776: Upgrade XWD to 1.0.7 client-libs/2d: (P2) JDK-8149338: JVM Crash caused by Marlin renderer not handling NaN coordinates (P3) JDK-8130737: [macosx] AffineTransformOp can't handle child raster with non-zero x-offset (P3) JDK-8230769: BufImg_SetupICM add ReleasePrimitiveArrayCritical call in early return (P4) JDK-8172559: [PIT][TEST_BUG] Move @test to be 1st annotation in java/awt/image/Raster/TestChildRasterOp.java (P4) JDK-8236996: Incorrect Roboto font rendering on Windows with subpixel antialiasing client-libs/java.awt: (P2) JDK-8230597: Update GIFlib library to the 5.2.1 (P3) JDK-8230926: [macosx] Two apostrophes are entered instead of one with "U.S. International - PC" layout (P3) JDK-8230782: Robot.createScreenCapture() fails if “awt.robot.gtk” is set to false (P4) JDK-8041915: Move 8 awt tests to OpenJDK regression tests tree client-libs/javax.accessibility: (P3) JDK-4949105: Access Bridge lacks html tags parsing (P3) JDK-8226253: JAWS reports wrong number of radio buttons when buttons are hidden client-libs/javax.imageio: (P3) JDK-8238842: AIOOBE in GIFImageReader.initializeStringTable client-libs/javax.swing: (P3) JDK-8226892: ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys (P3) JDK-8224475: JTextPane does not show images in HTML rendering (P4) JDK-8242883: Incomplete backport of JDK-8078268: backport test part core-libs: (P4) JDK-8243539: Copyright info (Year) should be updated for fix of 8241638 (P4) JDK-8244548: JDK 8u: sun.misc.Version.jdkUpdateVersion() returns wrong result (P4) JDK-8037866: Replace the Fun class in tests with lambdas core-libs/java.io: (P4) JDK-8229899: java.io.File.isInvalid() is racy core-libs/java.lang: (P2) JDK-8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null core-libs/java.net: (P3) JDK-8244461: [JDK 8u] Build fails with glibc 2.32 (P3) JDK-8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed on windows intermittently (P4) JDK-8230856: Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return core-libs/java.nio: (P3) JDK-8151582: (ch) test java/nio/channels/AsyncCloseAndInterrupt.java failing due to "Connection succeeded" (P4) JDK-8229888: (zipfs) Updating an existing zip file does not preserve original permissions core-libs/java.rmi: (P4) JDK-8216528: test/jdk/java/rmi/transport/runtimeThreadInheritanceLeak/RuntimeThreadInheritanceLeak.java failing with Xcomp core-libs/java.time: (P3) JDK-8243541: (tz) Upgrade Timezone Data to tzdata2020a core-libs/java.util:i18n: (P3) JDK-8244843: [JDK 8u] JapanEraNameCompatTest fails (P4) JDK-8248715: [8u262] New JavaTimeSupplementary localisation for 'in' installed in wrong package core-libs/jdk.nashorn: (P3) JDK-8171934: ObjectSizeCalculator.getEffectiveMemoryLayoutSpecification() does not recognize OpenJDK's HotSpot VM core-svc/debugger: (P2) JDK-8246223: Windows build fails after JDK-8227269 (P4) JDK-8227269: Slow class loading when running with JDWP (P4) JDK-8239055: Wrong implementation of VMState.hasListener (P4) JDK-8241750: x86_32 build failure after JDK-8227269 hotspot/compiler: (P2) JDK-8240576: JVM crashes after transformation in C2 IdealLoopTree::merge_many_backedges (P2) JDK-8244407: JVM crashes after transformation in C2 IdealLoopTree::split_fall_in (P3) JDK-8030680: 292 cleanup from default method code assessment (P3) JDK-8239852: java/util/concurrent tests fail with -XX:+VerifyGraphEdges: assert(!VerifyGraphEdges) failed: verification should have failed (P4) JDK-8146612: C2: Precedence edges specification violated hotspot/gc: (P2) JDK-8141056: Erroneous assignment in HeapRegionSet.cpp (P3) JDK-8191393: Random crashes during cfree+0x1c (P4) JDK-8242788: Non-PCH build is broken after JDK-8191393 hotspot/jfr: (P1) JDK-8214896: JFR Tool left files behind (P2) JDK-8236002: [JFR Backport] CSR for JFR backport suggests not leaving out the package-info (P2) JDK-8236074: [JFR Backport] Missed package-info. (P2) JDK-8236174: [JFR Backport] Should update javadoc since tags. (P2) JDK-8207392: [PPC64] Implement JFR profiling. (P2) JDK-8241902: AIX Build broken after integration of JDK-8223147 (JFR Backport) (P2) JDK-8211239: Build fails without JFR: empty JFR events signatures mismatch (P2) JDK-8220293: Deadlock in JFR string pool (P2) JDK-8199712: Flight Recorder (P2) JDK-8203921: JFR thread sampling is missing fixes from JDK-8194552 (P2) JDK-8205516: JFR tool (P2) JDK-8227605: Kitchensink fails "assert((((klass)->trace_id() & (JfrTraceIdEpoch::leakp_in_use_this_epoch_bit())) != 0)) failed: invariant" (P2) JDK-8213421: Line number information for execution samples always 0 (P2) JDK-8227011: Starting a JFR recording in response to JVMTI VMInit and / or Java agent premain corrupts memory (P3) JDK-8209960: -Xlog:jfr* doesn't work with the JFR parser (P3) JDK-8216064: -XX:StartFlightRecording:settings= doesn't work properly (P3) JDK-8229401: Fix JFR code cache test failures (P3) JDK-8207829: FlightRecorderMXBeanImpl is leaking the first classloader which calls it (P3) JDK-8215175: Inconsistencies in JFR event metadata (P3) JDK-8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing (P3) JDK-8215237: jdk.jfr.Recording javadoc does not compile (P3) JDK-8213617: JFR should record the PID of the recorded process (P3) JDK-8203346: JFR: Inconsistent signature of jfr_add_string_constant (P3) JDK-8215284: Reduce noise induced by periodic task getFileSize() (P3) JDK-8215771: The jfr tool should pretty print reference chains (P3) JDK-8165675: Trace event for thread park has incorrect unit for timeout (P3) JDK-8214750: Unnecessary

tags in jfr classes (P3) JDK-8212232: Wrong metadata for the configuration of the cutoff for old object sample events (P4) JDK-8229873: 8229401 broke jdk8u-jfr-incubator (P4) JDK-8239476: 8238589: broke windows build by moving OrderedPair (P4) JDK-8236008: [JFR Backport] Some backup files were accidentally left in the hotspot tree (P4) JDK-8223690: Add JFR BiasedLock Event Support (P4) JDK-8223692: Add JFR G1 Heap Summary Event Support (P4) JDK-8223691: Add JFR G1 Region Type Change Event Support (P4) JDK-8223689: Add JFR Thread Sampling Support (P4) JDK-8239140: Backport JFR to OpenJDK 8 (P4) JDK-8244777: ClassLoaderStats VM Op uses constant hash value (P4) JDK-8216995: Clean up JFR command line processing (P4) JDK-8239867: correct over use of INCLUDE_JFR macro (P4) JDK-8240375: Disable JFR by default for July 2020 release (P4) JDK-8238590: Enable JFR by default during compilation in 8u incubator (P4) JDK-8238076: Fix OpenJDK 7 Bootstrap Broken by JFR Backport (P4) JDK-8213015: Inconsistent settings between JFR.configure and -XX:FlightRecorderOptions (P4) JDK-8223147: JFR Backport (P4) JDK-8229708: JFR backport code does not initialize (P4) JDK-8210024: JFR calls virtual is_Java_thread from ~Thread() (P4) JDK-8003209: JFR events for network utilization (P4) JDK-8203929: Limit amount of data for JFR.dump (P4) JDK-8218935: Make jfr strncpy uses GCC 8.x friendly (P4) JDK-8239479: minimal1 and zero builds are failing (P4) JDK-8238589: Necessary code cleanup in JFR for JDK8u (P4) JDK-8216486: Possibility of integer overflow in JfrThreadSampler::run() (P4) JDK-8195819: Remove recording=x from jcmd JFR.check output (P4) JDK-8216578: Remove unused/obsolete method in JFR code (P4) JDK-8202578: Revisit location for class unload events (P4) JDK-8041626: Shutdown tracing event (P4) JDK-8213966: The ZGC JFR events should be marked as experimental (P4) JDK-8245167: Top package in method profiling shows "null" in JMC (P5) JDK-8233623: Add classpath exception to copyright in EventHandlerProxyCreator.java file hotspot/runtime: (P3) JDK-8216559: [JFR] Native libraries not correctly parsed from /proc/self/maps (P3) JDK-8202835: jfr/event/os/TestSystemProcess.java fails on missing events (P3) JDK-8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1) (P4) JDK-8183925: Decouple crash protection from watcher thread (P4) JDK-8203664: JFR start failure after AppCDS archive created with JFR StartFlightRecording (P4) JDK-8241444: Metaspace::_class_vsm not initialized if compressed class pointers are disabled (P4) JDK-8076475: Misuses of strncpy/strncat (P4) JDK-8203287: Zero fails to build after JDK-8199712 (Flight Recorder) hotspot/svc: (P2) JDK-8150986: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format hotspot/svc-agent: (P3) JDK-8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE infrastructure/build: (P3) JDK-8243059: Build fails when --with-vendor-name contains a comma (P3) JDK-8233880: Support compilers with multi-digit major version numbers (P4) JDK-8248399: [8u262] Build installs jfr binary when JFR is disabled security-libs/java.security: (P3) JDK-8238452: Keytool generates wrong expiration date if validity is set to 2050/01/01 (P3) JDK-8225069: Remove Comodo root certificate that is expiring in May 2020 (P3) JDK-8225068: Remove DocuSign root certificate that is expiring in May 2020 (P4) JDK-8176182: 4 security tests are not run (P4) JDK-8181841: A TSA server returns timestamp with precision higher than milliseconds (P4) JDK-8028591: NegativeArraySizeException in sun.security.util.DerInputStream.getUnalignedBitString() (P4) JDK-8028431: NullPointerException in DerValue.equals(DerValue) security-libs/javax.crypto: (P2) JDK-8178374: Problematic ByteBuffer handling in CipherSpi.bufferCrypt method security-libs/javax.crypto:pkcs11: (P4) JDK-8238555: Allow initialization of SunPKCS11 with NSS when there are external FIPS modules in the NSSDB security-libs/javax.xml.crypto: (P4) JDK-7147060: com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java doesn't run in agentvm mode tools/launcher: (P4) JDK-8241638: launcher time metrics always report 1 on Linux when _JAVA_LAUNCHER_DEBUG set xml/org.xml.sax: (P4) JDK-8213734: SAXParser.parse(File, ..) does not close resources when Exception occurs.