Skip to content

Commit

Permalink
use public lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Aug 8, 2024
1 parent 6da47ce commit e42b5db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import scala.util.control.NonFatal

@InternalApi
private[dispatch] object VirtualThreadSupport {
private val lookup = MethodHandles.lookup
private val lookup = MethodHandles.publicLookup()

/**
* Is virtual thread supported
Expand Down

0 comments on commit e42b5db

Please sign in to comment.