Re: clojure.lang.Reflector.invokeMatchingMethod and type hints within macros

2010-01-12 Thread jpraher
after some more debugging, the issue seems more subtle: the method that has declaringClass target.getClass is apparantly of signature (Lcom/sun/jdi/ReferenceType)V; Though both are methods of interface MethodEntryRequest: http://java.sun.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/request/Metho

Re: clojure.lang.Reflector.invokeMatchingMethod and type hints within macros

2010-01-12 Thread jpraher
I looked into the code and found the following Problem with this particiular code (com.sun.jdi) implementation: I think the problem stems from within Reflector.java's invokeMatchingMethod with signature (String methodName, List methods, Object target, Object[] args) : (1) target.getClass() == Eve

clojure.lang.Reflector.invokeMatchingMethod and type hints within macros

2010-01-11 Thread jpraher
Hi all, first of all kudos to clojure. Especially the clojure-swank in combination with leinigen is a nice environment to work with. Now to my problem: I am playing with JDI to intercept events of an attached JVM via clojure. Since there are a lot of siblings eventrequest subinterfaces, which can