We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ad622 commit 497c21fCopy full SHA for 497c21f
test/manifold/executor_test.clj
@@ -59,12 +59,12 @@
59
(is (.newThread tf (constantly nil))))
60
(let [tf (thread-factory
61
(fn [group target _ stack-size]
62
- (proxy [Thread] [group target "custom-name" stack-size])))
+ (Thread. group target "custom-name" stack-size)))
63
thread (.newThread tf (constantly nil))]
64
(is (= "custom-name" (.getName thread))))
65
66
67
- (proxy [Thread] [group target "custom-name" stack-size]))
+ (Thread. group target "custom-name" stack-size))
68
500)
69
70
(is (= "custom-name" (.getName thread)))))
0 commit comments