diff options
author | jfrijters <jfrijters> | 2014-07-09 16:47:48 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2014-07-09 16:47:48 +0400 |
commit | a877b8e419eaa37e61bcf3160a7d6a9cccac25b1 (patch) | |
tree | 14a07e0991d15b4eb5600b06b6fc04d6b610515b | |
parent | e714b27336d2382f7c365c16579a687aa4ad5136 (diff) |
If an interface extends java.lang.Comparable and has an explicit compareTo method, we bail out.
-rw-r--r-- | runtime/LambdaMetafactory.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/LambdaMetafactory.cs b/runtime/LambdaMetafactory.cs index f2a5bc81..e3a2a31b 100644 --- a/runtime/LambdaMetafactory.cs +++ b/runtime/LambdaMetafactory.cs @@ -854,6 +854,10 @@ namespace IKVM.Internal { return false; } + if (current != null && mw.RealName != current.RealName) + { + return false; + } } } foreach (TypeWrapper tw1 in tw.Interfaces) |