ring-clojure / ring

Clojure HTTP server abstraction
MIT License
3.73k stars 518 forks source link

Reflection warnings #498

Closed raszi closed 4 months ago

raszi commented 4 months ago

I am not sure if you are aware of that or not but there is a reflection warning project:

Reflection warning, ring/middleware/multipart_params/temp_file.clj:36:5 - call to static method sleep on java.lang.Thread can't be resolved (argument types: java.lang.Number).
$ 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)
weavejester commented 4 months ago

Thanks for the report. This looks like it was caused by updates in the Java Thread API.

raszi commented 4 months ago

Yes, probably! Thank you!