RELEASE NOTES: JDK openjdk8u372

Notes generated: Tue Apr 02 03:24:42 CEST 2024

JEPs

None.

RELEASE NOTES

core-svc/javax.management

Issue Description
JDK-8234484

Added Ability to Configure Third Port for Remote JMX


JMX supports (explicit) remote network access through the configuration of two network ports (either from the command line or in a property file), by setting the following properties:

com.sun.management.jmxremote.port=<port#>
com.sun.management.jmxremote.rmi.port=<port#>

Note: If it is not specified, the second port will default to the first.

A third local port is also opened to accept (local) JMX connections. This port previously had its number selected at random, which could cause port collisions.

However, it is now possible to configure the third JMX port (local only) by using:
com.sun.management.jmxremote.local.port=<port#>


hotspot/runtime

Issue Description
JDK-8230305

Cgroups v2: Container awareness


The HotSpot runtime code as well as the core libraries code in the JDK has been updated in order to detect a cgroup v2 host system when running OpenJDK within a Linux container.

Since the 8u202 release of OpenJDK, the container detection code recognized cgroup v1 (legacy) host Linux systems. With 8u372 and later releases, both versions of the underlying cgroups pseudo filesystem will be detected and corresponding container limits applied to the OpenJDK runtime.

Without this enhancement, OpenJDK would not apply container resource limits when running on a cgroup v2 Linux host system, but would use the underlying hosts' resource limits instead.


security-libs/java.security

Issue Description
JDK-8245654

Added Certigna(Dhimyotis) CA Certificate


The following root certificate has been added to the cacerts truststore: ` + Certigna (Dhimyotis) + certignaca DN: CN=Certigna, O=Dhimyotis, C=FR `


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8294767 8u contains two copies of test/../FileUtils.java, one uses JDK9+ features
P4 JDK-8239827 The test OpenByUNCPathNameTest.java should be changed to be manual

client-libs/2d

Priority Bug Summary
P3 JDK-8203485 [freetype] text rotated on 180 degrees is too narrow
P3 JDK-8301246 NPE in FcFontManager.getDefaultPlatformFont() on Linux without installed fontconfig
P4 JDK-7001973 java/awt/Graphics2D/CopyAreaOOB.java fails
P4 JDK-8280048 Missing comma in copyright header
P4 JDK-8286624 Regression Test CoordinateTruncationBug.java fails on OL8.3
P4 JDK-8298027 Remove SCCS id's from awt jtreg tests
P4 JDK-8300014 Some backports placed the tests in the wrong location
P5 JDK-8293767 AWT test TestSinhalaChar.java has old SCCS markings

client-libs/java.awt

Priority Bug Summary
P3 JDK-8296957 One more cast in SAFE_SIZE_NEW_ARRAY2
P3 JDK-8296496 Overzealous check in sizecalc.h prevents large memory allocation
P3 JDK-8075964 Test java/awt/Mouse/TitleBarDoubleClick/TitleBarDoubleClick.html fails intermittently with timeout error
P4 JDK-8142540 [TEST_BUG] Test sun/awt/dnd/8024061/bug8024061.java fails on ubuntu
P4 JDK-8241087 Build failure with VS 2019 (16.5.0) due to C2039 and C2873
P4 JDK-7124381 DragSourceListener.dragDropEnd() never been called on completion of dnd operation
P4 JDK-8196196 Headful tests should not be run in headless mode
P4 JDK-6829250 Reg test: java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java fails in Windows
P4 JDK-6734341 REGTEST fails: SelectionAutoscrollTest.html
P4 JDK-8296632 Write a test to verify the content change of TextArea sends TextEvent

client-libs/java.beans

Priority Bug Summary
P4 JDK-8156579 Two JavaBeans tests failed

client-libs/javax.accessibility

Priority Bug Summary
P3 JDK-8284690 [macos] VoiceOver : Getting java.lang.IllegalArgumentException: Invalid location on Editable JComboBox

client-libs/javax.sound

Priority Bug Summary
P4 JDK-8177560 @headful key can be removed from the tests for JavaSound

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8159135 [PIT] javax/swing/JMenuItem/8152981/MenuItemIconTest.java always fail
P4 JDK-7124238 [macosx] Font in BasicHTML document is bigger than it should be
P4 JDK-8137101 [TEST_BUG] javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java failure due to timing
P4 JDK-8039888 [TEST_BUG] keyboard garbage after javax/swing/plaf/windows/WindowsRootPaneUI/WrongAltProcessing/WrongAltProcessing.java
P4 JDK-8196467 javax/swing/JInternalFrame/Test6325652.java fails

core-libs

Priority Bug Summary
P3 JDK-8284756 [11u] Remove unused isUseContainerSupport in CgroupV1Subsystem
P3 JDK-8275713 TestDockerMemoryMetrics test fails on recent runc
P4 JDK-8231111 Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
P4 JDK-8245543 Cgroups: Incorrect detection logic on some systems (still reproducible)
P4 JDK-8257620 Do not use objc_msgSend_stret to get macOS version
P4 JDK-8284977 MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist

core-libs/java.time

Priority Bug Summary
P3 JDK-8305113 (tz) Update Timezone Data to 2023c

core-libs/javax.naming

Priority Bug Summary
P4 JDK-8275535 Retrying a failed authentication on multiple LDAP servers can lead to users blocked

core-svc

Priority Bug Summary
P1 JDK-8304053 Revert os specific stubs for SystemMetrics
P2 JDK-8303408 [AIX] Broken jdk8u build after JDK-8266391
P2 JDK-8303828 [Solaris] Broken jdk8u build after JDK-8266391
P3 JDK-8293540 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
P4 JDK-8254001 [Metrics] Enhance parsing of cgroup interface files for version detection
P4 JDK-8262379 Add regression test for JDK-8257746
P4 JDK-8266391 Replace use of reflection in jdk.internal.platform.Metrics

core-svc/java.lang.management

Priority Bug Summary
P3 JDK-8292541 [Metrics] Reported memory limit may exceed physical machine memory
P4 JDK-8300119 CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems

core-svc/javax.management

Priority Bug Summary
P4 JDK-8234484 Add ability to configure third port for remote JMX

hotspot/jfr

Priority Bug Summary
P3 JDK-8287463 JFR: Disable TestDevNull.java on Windows
P3 JDK-8282947 JFR: Dump on shutdown live-locks in some conditions

hotspot/runtime

Priority Bug Summary
P2 JDK-8237479 8230305 causes slowdebug build failure
P2 JDK-8229202 Docker reporting causes secondary crashes in error handling
P3 JDK-8253797 [cgroups v2] Account for the fact that swap accounting is disabled on some systems
P3 JDK-8253727 [cgroups v2] Memory and swap limits reported incorrectly
P3 JDK-8253714 [cgroups v2] Soft memory limit incorrectly using memory.high
P3 JDK-8253435 Cgroup: 'stomping of _mount_path' crash if manually mounted cpusets exist
P3 JDK-8239785 Cgroups: Incorrect detection logic on old systems in hotspot
P3 JDK-8239559 Cgroups: Incorrect detection logic on some systems
P3 JDK-8287107 CgroupSubsystemFactory.setCgroupV2Path asserts with freezer controller
P3 JDK-8292083 Detected container memory limit may exceed physical machine memory
P3 JDK-8287741 Fix of JDK-8287107 (unused cgv1 freezer controller) was incomplete
P3 JDK-8252359 HotSpot Not Identifying it is Running in a Container
P3 JDK-8293472 Incorrect container resource limit detection if manual cgroup fs mounts present
P4 JDK-8216366 Add rationale to PER_CPU_SHARES define
P4 JDK-8197408 Bad pointer comparison and small cleanup in os_linux.cpp
P4 JDK-8230305 Cgroups v2: Container awareness
P4 JDK-8278951 containers/cgroup/PlainRead.java fails on Ubuntu 21.10
P4 JDK-8228585 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
P4 JDK-8244500 jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java
P4 JDK-8232207 Linux os::available_memory re-reads cgroup configuration on every invocation
P4 JDK-8254997 Remove unimplemented OSContainer::read_memory_limit_in_bytes
P4 JDK-8226236 win32: gc/metaspace/TestCapacityUntilGCWrapAround.java fails
P4 JDK-8252957 Wrong comment in CgroupV1Subsystem::cpu_quota

hotspot/test

Priority Bug Summary
P4 JDK-8301620 [8u] some shell tests are passed but have unexpected operator errors
P4 JDK-8299548 Fix hotspot/test/runtime/Metaspace/MaxMetaspaceSizeTest.java in 8u
P4 JDK-8299804 Fix non-portable code in hotspot shell tests in 8u
P4 JDK-8295322 Tests for JDK-8271459 were not backported to 11u

infrastructure

Priority Bug Summary
P4 JDK-8301550 [8u] Enable additional linux build testing in GitHub
P4 JDK-8301122 [8u] Fix unreliable vs2010 download link
P4 JDK-8298307 Enable hotspot/tier1 for 32-bit builds in GHA for 8u

infrastructure/build

Priority Bug Summary
P2 JDK-8297996 [8u] generated images are broken due to renaming of MSVC runtime DLL's
P3 JDK-8297329 [8u] hotspot needs to recognise VS2019
P3 JDK-8247676 vcruntime140_1.dll is not needed on 32-bit Windows
P3 JDK-8242468 VS2019 build missing vcruntime140_1.dll

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8297739 Bump update version of OpenJDK: 8u372

security-libs/java.security

Priority Bug Summary
P2 JDK-8263404 RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec
P3 JDK-8245654 Add Certigna Root CA
P3 JDK-8287109 Distrust.java failed with CertificateExpiredException
P4 JDK-8254717 isAssignableFrom checks in KeyFactorySpi.engineGetKeySpec appear to be backwards
P4 JDK-8243543 jtreg test security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java fails
P4 JDK-8248899 security/infra/java/security/cert/CertPathValidator/certification/QuoVadisCA.java fails, Certificate has been revoked

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8282398 EndingDotHostname.java test fails because SSL cert expired
P3 JDK-8282511 Use fixed certificate validation date in SSLExampleCert template
P4 JDK-8299445 EndingDotHostname.java fails because of compilation errors
P4 JDK-8270317 Large Allocation in CipherSuite
P4 JDK-8065422 Trailing dot in hostname causes TLS handshake to fail with SNI disabled

security-libs/org.ietf.jgss

Priority Bug Summary
P4 JDK-8301760 Fix possible leak in SpNegoContext dispose

tools

Priority Bug Summary
P4 JDK-8283606 Tests may fail with zh locale on MacOS