Skip to content

Commit

Permalink
Merge pull request eclipse-openj9#14250 from pshipton/depthreadstop
Browse files Browse the repository at this point in the history
Thread.stop() is deprecated for removal in jdk18
  • Loading branch information
keithc-ca authored Jan 12, 2022
2 parents 2090edd + 83c3611 commit 34bb0a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jcl/src/java.base/share/classes/java/lang/Thread.java
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,9 @@ public synchronized void start() {
*
* @deprecated
*/
/*[IF Sidecar19-SE]*/
/*[IF JAVA_SPEC_VERSION >= 18]*/
@Deprecated(forRemoval=true, since="1.2")
/*[ELSEIF JAVA_SPEC_VERSION >= 9]*/
@Deprecated(forRemoval=false, since="1.2")
/*[ELSE]*/
@Deprecated
Expand Down

0 comments on commit 34bb0a7

Please sign in to comment.