I know this is a silly example but I am curious to know what is happening
with the proxy method.
I have set up two calls to proxy:
1.
(def cp
(proxy [java.util.AbstractMap clojure.asm.ClassVisitor] []))
2.
(def cp
(proxy [clojure.asm.ClassVisitor java.util.AbstractMap] []))
The first call is fine.... and it return cp. The second call gives me an
exception.
clojure.lang.Compiler$CompilerException:
java.lang.IncompatibleClassChangeError: Implementing class,
compiling:(/private/var/folders/dd/qfdy6sbn3mlgk20vcxc3j0ljnpxsqr/T/form-init4780219965491827451.clj:2:5)
java.lang.IncompatibleClassChangeError: Implementing class
java.lang.ClassLoader.defineClass1
ClassLoader.java
java.lang.ClassLoader.defineClass
ClassLoader.java: 800
java.lang.ClassLoader.defineClass
ClassLoader.java: 643
clojure.lang.DynamicClassLoader.defineClass
DynamicClassLoader.java: 46
clojure.core/get-proxy-class
core_proxy.clj: 262
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.