Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JDK 19's Thread/sleep #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frenchy64
Copy link

JDK 19 doesn't like this:

(Thread/sleep (rand 100))
;Execution error (IllegalArgumentException) at async-alts.core/eval11621 (form-init13060262411934958877.clj:1).
;No matching method sleep found taking 1 args

There is a new method that Clojure can't disambiguate: https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/Thread.html#sleep(java.time.Duration)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant