com.walmartlabs.lacinia.tracing-test hangs with following errors.
Exception in thread "Thread-4" Exception in thread "Thread-5" java.lang.IllegalArgumentException: No matching method sleep found taking 1 args
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:154)
at clojure.lang.Reflector.invokeStaticMethod(Reflector.java:332)
at com.walmartlabs.lacinia.tracing_test$resolve_slow$f__22220.invoke(tracing_test.clj:44)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.IllegalArgumentException: No matching method sleep found taking 1 args
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:154)
at clojure.lang.Reflector.invokeStaticMethod(Reflector.java:332)
at com.walmartlabs.lacinia.tracing_test$resolve_slow$f__22220.invoke(tracing_test.clj:44)
at clojure.lang.AFn.run(AFn.java:22)
at java.base/java.lang.Thread.run(Thread.java:1583)
Since Java 20 introcuded overloaded Thread/sleep with 1 arg, you need to add a type hint in your clojure code.
com.walmartlabs.lacinia.tracing-test
hangs with following errors.Since Java 20 introcuded overloaded Thread/sleep with 1 arg, you need to add a type hint in your clojure code.