RELEASE NOTES: JDK 17.0.1

Notes generated: Mon Nov 04 02:55:37 CET 2024

JEPs

None.

RELEASE NOTES

hotspot/runtime

Issue Description
JDK-8269851

OperatingSystemMXBean.getProcessCpuLoad Is Now Container Aware


For JVMs running in a container, OperatingSystemMXBean.getProcessCpuLoad now considers only the CPU resources available to the container when calculating CPU load. Prior to this change, the calculation included all CPUs on a host. After this change, management agents may report higher CPU usage by JVMs in containers that are constrained to a limited set of CPUs.


security-libs/java.security

Issue Description
JDK-8225083

Removal of Google's GlobalSign Root Certificate


The following root certificate from Google has been removed from the cacerts keystore: ``` + alias name "globalsignr2ca [jdk]" Distinguished Name: CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R2

```


JDK-8225082

Removal of IdenTrust Root Certificate


The following root certificate from IdenTrust has been removed from the cacerts keystore: ``` + alias name "identrustdstx3 [jdk]" Distinguished Name: CN=DST Root CA X3, O=Digital Signature Trust Co.

```


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8272332 --with-harfbuzz=system doesn't add -lharfbuzz after JDK-8255790

client-libs/2d

Priority Bug Summary
P2 JDK-8273358 macOS Monterey does not have the font Times needed by Serif
P3 JDK-8262731 [macOS] Exception from "Printable.print" is swallowed during "PrinterJob.print"

client-libs/java.awt

Priority Bug Summary
P2 JDK-8272602 [macOS] not all KEY_PRESSED events sent when control modifier is used
P3 JDK-8272806 [macOS] "Apple AWT Internal Exception" when input method is changed

core-libs/java.net

Priority Bug Summary
P4 JDK-8269993 [Test]: java/net/httpclient/DigestEchoClientSSL.java contains redundant @run tags
P4 JDK-8263531 Remove unused buffer int

core-libs/java.util

Priority Bug Summary
P4 JDK-8272326 java/util/Random/RandomTestMoments.java had two Gaussian fails

core-svc/tools

Priority Bug Summary
P4 JDK-8267666 Add option to jcmd GC.heap_dump to use existing file

docs/guides

Priority Bug Summary
P4 JDK-8275046 Refer to JEP 378 in Programmer's Guide to Text Blocks

hotspot/compiler

Priority Bug Summary
P1 JDK-8271589 Fatal error with variable shift count integer rotate operation.
P2 JDK-8271276 C2: Wrong JVM state used for receiver null check
P2 JDK-8272131 PhaseMacroExpand::generate_slow_arraycopy crash when clone null CallProjections.fallthrough_ioproj
P2 JDK-8271925 ZGC: Arraycopy stub passes invalid oop to load barrier
P2 JDK-8270098 ZGC: ZBarrierSetC2::clone_at_expansion fails with "Guard against surprises" assert
P3 JDK-8271203 C2: assert(iff->Opcode() == Op_If || iff->Opcode() == Op_CountedLoopEnd || iff->Opcode() == Op_RangeCheck) failed: Check this code when new subtype is added
P3 JDK-8268261 C2: assert(n != __null) failed: Bad immediate dominator info.
P3 JDK-8268019 C2: assert(no_dead_loop) failed: dead loop detected
P4 JDK-8268963 [IR Framework] Some default regexes matching on PrintOptoAssembly in IRNode.java do not work on all platforms
P4 JDK-8267625 AARCH64: typo in LIR_Assembler::emit_profile_type
P4 JDK-8269574 C2: Avoid redundant uncommon traps in GraphKit::builtin_throw() for JVMTI exception events

hotspot/gc

Priority Bug Summary
P2 JDK-8269897 Shenandoah: Resolve UNKNOWN access strength, where possible
P4 JDK-8269478 Shenandoah: gc/shenandoah/mxbeans tests should be more resilient
P4 JDK-8270096 Shenandoah: Optimize gc/shenandoah/TestRefprocSanity.java for interpreter mode
P4 JDK-8270094 Shenandoah: Provide human-readable labels for test configurations

hotspot/runtime

Priority Bug Summary
P2 JDK-8272472 StackGuardPages test doesn't build with glibc 2.34
P3 JDK-8272124 Cgroup v1 initialization causes NullPointerException when cgroup path contains colon
P3 JDK-8269934 RunThese24H.java failed with EXCEPTION_ACCESS_VIOLATION in java_lang_Thread::get_thread_status
P4 JDK-8269851 OperatingSystemMXBean getProcessCpuLoad reports incorrect process cpu usage in containers
P4 JDK-8269882 stack-use-after-scope in NewObjectA

infrastructure/build

Priority Bug Summary
P4 JDK-8272700 [macos] Build failure with Xcode 13.0 after JDK-8264848

infrastructure/release_eng

Priority Bug Summary
P3 JDK-8271335 Updating RE Configs for BUILD REQUEST 17.0.1+4

security-libs

Priority Bug Summary
P4 JDK-8270280 security/infra/java/security/cert/CertPathValidator/certification/LetsEncryptCA.java OCSP response error

security-libs/java.security

Priority Bug Summary
P2 JDK-8273150 Revert "8225083: Remove Google certificate that is expiring in December 2021"
P3 JDK-8225083 Remove Google certificate that is expiring in December 2021
P3 JDK-8225082 Remove IdenTrust certificate that is expiring in September 2021
P3 JDK-8272581 sun/security/pkcs11/Provider/MultipleLogins.sh fails after JDK-8266182
P4 JDK-8272708 [Test]: Cleanup: test/jdk/security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java no longer needs ocspEnabled
P4 JDK-8266182 Automate manual steps listed in the test jdk/sun/security/pkcs12/ParamsTest.java
P4 JDK-8268427 Improve AlgorithmConstraints:checkAlgorithm performance
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-8270344 Session resumption errors

security-libs/org.ietf.jgss:krb5

Priority Bug Summary
P4 JDK-8270137 Kerberos Credential Retrieval from Cache not Working in Cross-Realm Setup

tools/javac

Priority Bug Summary
P4 JDK-8261088 Repeatable annotations without @Target cannot have containers that target module declarations