diff options
Diffstat (limited to 'libjava/java/awt/geom/Dimension2D.java')
-rw-r--r-- | libjava/java/awt/geom/Dimension2D.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/java/awt/geom/Dimension2D.java b/libjava/java/awt/geom/Dimension2D.java index 0814e03..f891bf0 100644 --- a/libjava/java/awt/geom/Dimension2D.java +++ b/libjava/java/awt/geom/Dimension2D.java @@ -31,6 +31,10 @@ public abstract class Dimension2D implements Cloneable public Object clone () { - return super.clone(); + try + { + return super.clone (); + } + catch (CloneNotSupportedException _) {return null;} } } |