diff options
author | jfrijters <jfrijters> | 2011-11-29 13:00:44 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-11-29 13:00:44 +0400 |
commit | 3d7b3bcd60aa78454721e62f9f2db94fde3db05e (patch) | |
tree | b3988fedcfa3c38118ccadd4bc00aa42f44a8c09 | |
parent | 80e43e17ab7a239559d3ac9d07a051ce6428428f (diff) |
Added Object.toString() extension method.
-rw-r--r-- | classpath/ikvm/extensions/ExtensionMethods.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classpath/ikvm/extensions/ExtensionMethods.java b/classpath/ikvm/extensions/ExtensionMethods.java index 2e29d41d..997777f8 100644 --- a/classpath/ikvm/extensions/ExtensionMethods.java +++ b/classpath/ikvm/extensions/ExtensionMethods.java @@ -238,6 +238,12 @@ public final class ExtensionMethods } @ExtensionAttribute.Annotation + public static String toString(Object obj) + { + return obj.toString(); + } + + @ExtensionAttribute.Annotation public static void wait(Object obj) throws InterruptedException { obj.wait(); |