scgilardi/slingshot — Issue #18: Eliminate Reflection Warnings
Author: ath
Created: 2012-01-05 11:00:12+00:00
State: open

In my project.clj file I typically set the option :warn-on-reflection true, and this way I noticed the following warnings in Slingshot 0.9.0:

Reflection warning, slingshot/support.clj:14 - call to java.lang.IllegalArgumentException ctor can't be resolved.
Reflection warning, slingshot/support.clj:44 - reference to field getContext can't be resolved.
Reflection warning, slingshot/support.clj:45 - reference to field getCause can't be resolved.
Reflection warning, slingshot/support.clj:55 - reference to field getMessage can't be resolved.
Reflection warning, slingshot/support.clj:56 - reference to field getCause can't be resolved.
Reflection warning, slingshot/support.clj:57 - reference to field getStackTrace can't be resolved.
Reflection warning, slingshot/slingshot.clj:105 - reference to field getContext can't be resolved.

Would be nice if you could remove them, and also include that option in the project.clj file.