overtone / at-at

Ahead-of-time function scheduler
Eclipse Public License 1.0
287 stars 38 forks source link

Reflection warnings #25

Open raszi opened 6 months ago

raszi commented 6 months ago

First of all, thank you for the library!

We can still see some reflection warnings using your library:

Reflection warning, overtone/at_at.clj:15:3 - reference to field printStackTrace can't be resolved.
Reflection warning, overtone/at_at.clj:211:16 - call to java.util.concurrent.ScheduledThreadPoolExecutor ctor can't be resolved.

I believe it would be a good idea to add a call to (set! *warn-on-reflection* true) in the test suite or something like that to avoid regressions.

raszi commented 6 months ago
$ java -version
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment Temurin-19.0.2+7 (build 19.0.2+7)
OpenJDK 64-Bit Server VM Temurin-19.0.2+7 (build 19.0.2+7, mixed mode)