6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException

Reviewed-by: prr
This commit is contained in:
Jim Graham 2011-04-29 10:58:33 -07:00
parent e8ad64314e
commit 6b348af4c0

View File

@ -681,7 +681,7 @@ public abstract class Arc2D extends RectangularShape {
* @see java.awt.geom.Arc2D.Float
* @see java.awt.geom.Arc2D.Double
*/
Arc2D() {
protected Arc2D() {
this(OPEN);
}