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

Amos Shi ashi at openjdk.org
Mon Apr 29 20:53:36 UTC 2024


> 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: `pending`

Amos Shi has updated the pull request incrementally with one additional commit since the last revision:

  Backport The Record class should be final

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2687/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2687/files/20f1386f..a7967b63

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2687&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2687&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2687.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2687/head:pull/2687

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


More information about the jdk-updates-dev mailing list