changeset 4068:899d87ec43eb

6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException Reviewed-by: prr
author flar
date Fri, 29 Apr 2011 10:58:33 -0700
parents 34056b127c96
children 3b536b18a6f0
files src/share/classes/java/awt/geom/Arc2D.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/awt/geom/Arc2D.java	Fri Apr 29 01:40:11 2011 -0700
+++ b/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);
     }