Created
November 27, 2008 15:48
-
-
Save headius/29788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/org/jruby/java/proxies/JavaInterfaceTemplate.java b/src/org/jruby/java/proxies/JavaInterfaceTemplate.java | |
index 872f52d..bc6ab52 100644 | |
--- a/src/org/jruby/java/proxies/JavaInterfaceTemplate.java | |
+++ b/src/org/jruby/java/proxies/JavaInterfaceTemplate.java | |
@@ -239,7 +239,7 @@ public class JavaInterfaceTemplate { | |
// we've already done the above priming logic, just add another interface | |
// to the list of intentions unless we're past the point of no return or | |
// already intend to implement the given interface | |
- if (!(javaInterfaces.isFrozen() || ((RubyArray)javaInterfaces).includes(context, javaClass))) { | |
+ if (!(javaInterfaces.isFrozen() || ((RubyArray)javaInterfaces).includes(context, javaClassObj))) { | |
((RubyArray)javaInterfaces).append(javaClassObj); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment