Skip to content

Commit c33c9e5

Browse files
committed
Thread.getId is deprecated in JVM19
1 parent 09ea6fd commit c33c9e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/scala/concurrent/impl/ExecutionContextImpl.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ private[concurrent] object ExecutionContextImpl {
3535

3636
private final val blockerPermits = new Semaphore(maxBlockers)
3737

38+
@annotation.nowarn("cat=deprecation")
3839
def wire[T <: Thread](thread: T): T = {
3940
thread.setDaemon(daemonic)
4041
thread.setUncaughtExceptionHandler(uncaught)

0 commit comments

Comments
 (0)