diff options
author | Rich Hickey <richhickey@gmail.com> | 2008-03-01 19:02:42 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2008-03-01 19:02:42 +0000 |
commit | 3afd0faecd03d5a01528a74d3f50c253e4dd5c9d (patch) | |
tree | 8901f8c97317e9fb0279be236107ae48d83dc387 /src | |
parent | 7705d1c11ba26627f4889f7b6afceb1e634c7839 (diff) |
fixed declared method detection
Diffstat (limited to 'src')
-rw-r--r-- | src/proxy.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxy.clj b/src/proxy.clj index eb1e9963..61cb27d4 100644 --- a/src/proxy.clj +++ b/src/proxy.clj @@ -138,7 +138,7 @@ get-proxy-class [& bases] (let [mm (loop [mm {} c super] (if c (recur - (loop [mm mm meths (seq (. super (getDeclaredMethods)))] + (loop [mm mm meths (seq (. c (getDeclaredMethods)))] (if meths (let [#^java.lang.reflect.Method meth (first meths) mods (. meth (getModifiers)) |