-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8329013: StackOverflowError when starting Apache Tomcat with signed jar #2429
Conversation
👋 Welcome back ashi! A progress list of the required criteria for merging this PR into |
@amosshi This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
This backport pull request has now been updated with issue from the original commit. |
@@ -42,7 +42,7 @@ public class ThreadTracker { | |||
private record ThreadRef(Thread thread) { | |||
@Override | |||
public int hashCode() { | |||
return Long.hashCode(thread.threadId()); | |||
return Long.hashCode(thread.getId()); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix compile error on jdk17u-dev
- The method
threadId()
does not exist injdk17u-dev
code base yet, but exist in current latest https://github.com/openjdk/jdk/blame/4018b2b19629ddb8cd7a56e064dfef371f23e5fa/src/java.base/share/classes/java/lang/Thread.java#L2565 - The
getId()
method logic is exact the same asthreadId()
method
@Deprecated(since="19")
public long getId() {
return threadId();
}
public final long threadId() {
return tid;
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, you have taken ThreadTracker.java from upstream which makes sense. LGTM.
|
/approval request "Backporting for parity with 17.0.12-oracle. Un-Clean backport. SAP nightlies passed on 2024-04-27” |
/integrate |
Going to push as commit 52d1f0c.
Your commit was automatically rebased without conflicts. |
Backport of JDK-8329013
src/java.base/share/classes/jdk/internal/misc/ThreadTracker.java
file, needed by this PRThreadTracker.java
class was added by openjdk/jdk@9583e36 , which is pretty big forVirtual Threads
(JDK-8284161) and we have no intention to back this change to Java 17 right nowThreadTracker.java
tojdk17u-dev
Testing
RecursiveEventHelper.java
: Test results: passed: 12024-04-27
jdk/security/logging/RecursiveEventHelper.java
: SUCCESSFUL GitHub 📊⏲ - [543 msec]Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2429/head:pull/2429
$ git checkout pull/2429
Update a local copy of the PR:
$ git checkout pull/2429
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2429/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2429
View PR using the GUI difftool:
$ git pr show -t 2429
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2429.diff
Webrev
Link to Webrev Comment