Skip to content

Commit

Permalink
Fix #524: reflection for both bb and jvm (#525)
Browse files Browse the repository at this point in the history
* Fix reflection for bb

* run on branch push

* changelog
  • Loading branch information
borkdude authored Mar 8, 2023
1 parent 9dd32cf commit 706f342
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Test

on:
push:
branches: ['master']
pull_request:
on: [push, pull_request]

jobs:
setup:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ A release with an intentional breaking changes is marked with:
== Unreleased

* https://github.com/clj-commons/etaoin/issues/524[#524]: fix failure in bb related to `Thread/sleep` interop in JDK19

== v1.0.39

* https://github.com/clj-commons/etaoin/issues/503[#503]: Address Clojure interop issue introduced by new Thread/sleep signature in JDK 19
Expand Down
2 changes: 1 addition & 1 deletion src/etaoin/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,7 @@
(#_{:clj-kondo/ignore [:unused-binding]} [driver seconds]
(wait seconds))
([seconds]
(Thread/sleep ^long (* seconds 1000))))
(Thread/sleep (long (* seconds 1000)))))

(defmacro with-wait
"Execute `body` waiting `seconds` before each form.
Expand Down

0 comments on commit 706f342

Please sign in to comment.