aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom/Dimension2D.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/geom/Dimension2D.java')
-rw-r--r--libjava/java/awt/geom/Dimension2D.java6
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;}
}
}