diff --git a/classpath/java/lang/Object.java b/classpath/java/lang/Object.java index 4e4fb4ca2c..236350aa91 100644 --- a/classpath/java/lang/Object.java +++ b/classpath/java/lang/Object.java @@ -5,7 +5,7 @@ public class Object { if (this instanceof Cloneable) { return clone(this); } else { - throw new CloneNotSupportedException(); + throw new CloneNotSupportedException(getClass().getName()); } }