[jdk11u-dev] Integrated: 8329013: StackOverflowError when starting Apache Tomcat with signed jar

Amos Shi ashi at openjdk.org
Mon Jun 3 04:17:14 UTC 2024


On Fri, 26 Apr 2024 20:31:01 GMT, Amos Shi <ashi at openjdk.org> wrote:

> Backport of [JDK-8329013](https://bugs.openjdk.org/browse/JDK-8329013)
> - This PR contains two commits
> - commit 1:
>   - is the original git apply
>   - and the `src/java.base/share/classes/jdk/internal/misc/ThreadTracker.java` file needed by this PR
>     - The `ThreadTracker.java` class was added by https://github.com/openjdk/jdk/commit/9583e3657e43cc1c6f2101a64534564db2a9bd84 , which is pretty big for `Virtual Threads` ([JDK-8284161](https://bugs.openjdk.org/browse/JDK-8284161)) and we have no intention to back port this change to Java 11 right now
>     - So here we simply copy the current code of `ThreadTracker.java` to `jdk11u-dev`
> - commit 2:
>   - Manual merge of `src/java.base/share/classes/jdk/internal/event/EventHelper.java` based on the `EventHelper.java.rej` file. The change to this file can be `considered as clean`.
>   - Fix java 11 compile error for `ThreadTracker.java`
> - commit 3: The Inner Class `ThreadRef` for the original `Record` type should be `final`
> 
> Testing
> - Local: Test passed
>   - `RecursiveEventHelper.java`: Test results: passed: 1
> - Pipeline: All checks have passed
> - Testing Machine: SAP nightlies passed on `2024-04-28`
>   - Automated jtreg test: jtreg_jdk_tier2
>   - `jdk/security/logging/RecursiveEventHelper.java`: SUCCESSFUL GitHub 📊⏲ - [2,152 msec]
> - Testing Machine with commit 3: SAP nightlies passed on `2024-05-04`
>   - Automated jtreg test: jtreg_jdk_tier2
>   - jdk/security/logging/RecursiveEventHelper.java: SUCCESSFUL GitHub 📊⏲ - [2,301 msec]

This pull request has now been integrated.

Changeset: 7b377ac0
Author:    Amos Shi <ashi at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/7b377ac0ba396d6a1ca4f80ada2520a7f2c56082
Stats:     197 lines in 3 files changed: 189 ins; 1 del; 7 mod

8329013: StackOverflowError when starting Apache Tomcat with signed jar

Reviewed-by: mbaesken
Backport-of: 925d82931c09dc11ea5a3bc410ea5cfd67ee14aa

-------------

PR: https://git.openjdk.org/jdk11u-dev/pull/2687


More information about the jdk-updates-dev mailing list