6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException
authorflar
Fri, 29 Apr 2011 10:58:33 -0700
changeset 9465 d336b679b605
parent 9464 ae693a9d5112
child 9467 068e9a688b72
6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException Reviewed-by: prr
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);
     }