summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2008-03-11 12:50:08 +0000
committerRich Hickey <richhickey@gmail.com>2008-03-11 12:50:08 +0000
commit5789303b240a81c8dc467ef038b529abde936749 (patch)
tree819ebb2a4392569cccc7755096aaffb5051c4c6a /src
parente113c3192846af8f7f1db73824a89eb39292355e (diff)
make method set union of declared and public methods in order to catch unimplemented interface methods of abstract classes
Diffstat (limited to 'src')
-rw-r--r--src/proxy.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proxy.clj b/src/proxy.clj
index f525d820..f0463e11 100644
--- a/src/proxy.clj
+++ b/src/proxy.clj
@@ -140,7 +140,9 @@
(let [mm (loop [mm {} c super]
(if c
(recur
- (loop [mm mm meths (seq (. c (getDeclaredMethods)))]
+ (loop [mm mm meths (concat
+ (seq (. c (getDeclaredMethods)))
+ (seq (. c (getMethods))))]
(if meths
(let [#^java.lang.reflect.Method meth (first meths)
mods (. meth (getModifiers))