# HG changeset patch # User flar # Date 1304099913 25200 # Node ID d336b679b605ee75543e2e12c9aabacbb7b8b680 # Parent ae693a9d51121b55285fa865bdd35c8d26089e9d 6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException Reviewed-by: prr diff -r ae693a9d5112 -r d336b679b605 jdk/src/share/classes/java/awt/geom/Arc2D.java --- a/jdk/src/share/classes/java/awt/geom/Arc2D.java Fri Apr 29 01:40:11 2011 -0700 +++ b/jdk/src/share/classes/java/awt/geom/Arc2D.java Fri Apr 29 10:58:33 2011 -0700 @@ -681,7 +681,7 @@ * @see java.awt.geom.Arc2D.Float * @see java.awt.geom.Arc2D.Double */ - Arc2D() { + protected Arc2D() { this(OPEN); }