Skip to content

Commit

Permalink
removed 1.12 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fogus committed Feb 26, 2025
1 parent 6139a90 commit e60d508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/core/async/impl/dispatch.clj
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
(defn- make-io-executor
[]
(if virtual-threads-available?
(-> (Class/.getDeclaredMethod Executors "newVirtualThreadPerTaskExecutor" (make-array Class 0))
(-> (.getDeclaredMethod Executors "newVirtualThreadPerTaskExecutor" (make-array Class 0))
(.invoke nil (make-array Class 0)))
(make-ctp-named :io)))

Expand Down

0 comments on commit e60d508

Please sign in to comment.