请在2024 Clojure状态调查中分享您的想法!

欢迎!请参阅关于页面,了解有关如何使用本站的一些更多信息。

0
tools.trace

我在日常工作中经常看到这些警告,略微有些不便

Reflection warning, clojure/tools/trace.clj:231:54 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).
Reflection warning, clojure/tools/trace.clj:242:56 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).
Reflection warning, clojure/tools/trace.clj:244:49 - call to java.lang.Exception ctor can't be resolved.
Reflection warning, clojure/tools/trace.clj:244:69 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).
Reflection warning, clojure/tools/trace.clj:256:56 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).
Reflection warning, clojure/tools/trace.clj:259:49 - call to java.lang.Throwable ctor can't be resolved.
Reflection warning, clojure/tools/trace.clj:259:69 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).
Reflection warning, clojure/tools/trace.clj:275:56 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).
Reflection warning, clojure/tools/trace.clj:276:68 - call to method setStackTrace on java.lang.Object can't be resolved (no such method).

查看tools.trace代码 @ master,这些似乎是可以处理的。

是否可以避免这些反射警告?

1 个答案

+1

被选中
 
最佳答案

已修复,现在推送0.7.11版构建

谢谢Alex!
atorial by
0.7.11版本现可用
...