aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve')
-rwxr-xr-xsrc/jogl/classes/com/jogamp/graph/curve/OutlineShape.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
index fa8494d4e..9a5d86fc2 100755
--- a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
@@ -459,7 +459,7 @@ public class OutlineShape implements Comparable<OutlineShape> {
OutlineShape o;
try {
o = (OutlineShape) super.clone();
- } catch (CloneNotSupportedException e) { return null; /* never, ever */ }
+ } catch (CloneNotSupportedException e) { throw new InternalError(); }
o.bbox = bbox.clone();
o.outlines = new ArrayList<Outline>(outlines.size());
for(int i=0; i<outlines.size(); i++) {