Repository navigation
[FLINK-36902][core] Keep process exit working on JDK 24+ where the Security Manager is disabled #29547
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
base: master
Are you sure you want to change the base?
[FLINK-36902][core] Keep process exit working on JDK 24+ where the Security Manager is disabled #29547
Changes from all commits
3187198
c2e857b
7d23d54
7fe07e7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,11 +97,7 @@ public ExecutorThreadFactory(String poolName, UncaughtExceptionHandler exception | |
| this.threadPriority = threadPriority; | ||
| this.exceptionHandler = exceptionHandler; | ||
|
|
||
| SecurityManager securityManager = System.getSecurityManager(); | ||
| this.group = | ||
| (securityManager != null) | ||
| ? securityManager.getThreadGroup() | ||
| : Thread.currentThread().getThreadGroup(); | ||
| this.group = Thread.currentThread().getThreadGroup(); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need it?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll need to check if retaining |
||
| } | ||
|
|
||
| // ------------------------------------------------------------------------ | ||
|
|
||
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.
Please tell your ai do not refactor everything and focus on the exact task