-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Remove ThreadGroup#allowThreadSuspension from forbidden APIs #101651
Remove ThreadGroup#allowThreadSuspension from forbidden APIs #101651
Conversation
java.lang.ThreadGroup#allowThreadSuspension(boolean) was removed in JDK 21. See https://www.oracle.com/java/technologies/javase/21all-relnotes.html#JDK-8297295
Pinging @elastic/es-core-infra (Team:Core/Infra) |
I assume we don't have any usages of this then otherwise we'd see runtime errors when running on a Java 21 JRE? |
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.
LGTM
@elasticsearchmachine please run elasticsearch-ci/part-1 |
@mark-vieira Right. If there were usages, we'd have hit runtime or compilation failures when we moved to JDK 21. And a |
…#101651) java.lang.ThreadGroup#allowThreadSuspension(boolean) was removed in JDK 21. See https://www.oracle.com/java/technologies/javase/21all-relnotes.html#JDK-8297295
…#101651) java.lang.ThreadGroup#allowThreadSuspension(boolean) was removed in JDK 21. See https://www.oracle.com/java/technologies/javase/21all-relnotes.html#JDK-8297295
#101659) java.lang.ThreadGroup#allowThreadSuspension(boolean) was removed in JDK 21. See https://www.oracle.com/java/technologies/javase/21all-relnotes.html#JDK-8297295
#101658) java.lang.ThreadGroup#allowThreadSuspension(boolean) was removed in JDK 21. See https://www.oracle.com/java/technologies/javase/21all-relnotes.html#JDK-8297295
java.lang.ThreadGroup#allowThreadSuspension(boolean) was removed in JDK 21. See https://www.oracle.com/java/technologies/javase/21all-relnotes.html#JDK-8297295