From 00c5d3196a9a9b4afc61c1b0cc4161cb04083c06 Mon Sep 17 00:00:00 2001 From: Fogus Date: Thu, 16 Jan 2025 09:32:02 -0500 Subject: [PATCH] remove 21+ class from imports --- src/main/clojure/clojure/core/async.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/clojure/clojure/core/async.clj b/src/main/clojure/clojure/core/async.clj index afac03c..66d0eb3 100644 --- a/src/main/clojure/clojure/core/async.clj +++ b/src/main/clojure/clojure/core/async.clj @@ -35,8 +35,7 @@ to catch and handle." [java.util.concurrent.locks Lock] [java.util.concurrent Executors Executor ThreadLocalRandom ExecutorService] [java.util Arrays ArrayList] - [clojure.lang Var] - [java.lang Thread$Builder])) + [clojure.lang Var])) (alias 'core 'clojure.core) @@ -469,7 +468,7 @@ to catch and handle." (def ^ExecutorService io-thread-exec (if (= "21" (System/getProperty "java.vm.specification.version")) (eval '(Executors/newThreadPerTaskExecutor (-> (Thread/ofVirtual) - (Thread$Builder/.name "io-thread-" 0) + (java.lang.Thread$Builder/.name "io-thread-" 0) .factory))) thread-macro-executor))