Patch: make AbstractGraphicsState.clone public

Tom Tromey tromey@redhat.com
Tue Feb 13 10:48:00 GMT 2001


This patch fixes a bug in AbstractGraphicsState.
This bug currently isn't detected by gcj, but that is a bug in gcj.
(Alex has a patch to fix it.)

There's no particular reason for this to go on the branch.

2001-02-13  Tom Tromey  <tromey@redhat.com>

	* gnu/awt/j2d/AbstractGraphicsState.java (clone): Made public.

Tom

Index: gnu/awt/j2d/AbstractGraphicsState.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/awt/j2d/AbstractGraphicsState.java,v
retrieving revision 1.1
diff -u -r1.1 AbstractGraphicsState.java
--- AbstractGraphicsState.java	2000/10/22 17:46:09	1.1
+++ AbstractGraphicsState.java	2001/02/13 18:47:41
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000  Free Software Foundation
+/* Copyright (C) 2000, 2001  Free Software Foundation
 
    This file is part of libgcj.
 
@@ -125,4 +125,9 @@
   public abstract void scale(double scaleX, double scaleY);
   
   public abstract void shear(double shearX, double shearY);
+
+  public Object clone ()
+  {
+    return super.clone ();
+  }
 }



More information about the Java-patches mailing list