Skip to content
Snippets Groups Projects
Unverified Commit c5946629 authored by Chris Truter's avatar Chris Truter Committed by GitHub
Browse files

Fix reflection on newer JVM versions (#42630)

parent f52e02ff
No related branches found
No related tags found
No related merge requests found
......@@ -320,7 +320,7 @@
(defn- poll
"Returns `(thunk)` if the result satisfies the `done?` predicate within the timeout and nil otherwise."
[{:keys [thunk done? timeout-ms interval-ms]}]
[{:keys [thunk done? timeout-ms ^long interval-ms]}]
(let [start-time (System/currentTimeMillis)]
(loop []
(let [response (thunk)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment