This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: java.awt.font.TextAttribute


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to make java.awt.font 100% API 
compatible with SUNs implementation.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+iBE0WSOgCCdjSDsRAhNvAJ97+vgg3WjYITfVNi9zfT1Sbx7RtgCfRk+7
qTygWgj+oOaU+vH4On25LVM=
=syP9
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1831
diff -u -r1.1831 ChangeLog
--- ChangeLog	31 Mar 2003 06:49:32 -0000	1.1831
+++ ChangeLog	31 Mar 2003 09:54:48 -0000
@@ -1,5 +1,10 @@
 2003-03-31  Michael Koch  <konqueror at gmx dot de>
 
+	* java/awt/font/TextAttribute.java
+	(readResolve): Throws java.io.InvalidObjectException.
+
+2003-03-31  Michael Koch  <konqueror at gmx dot de>
+
 	* java/rmi/server/LoaderHandler.java
 	(loadClass): Deprecated.
 	(getSecurityContext): Deprecated.
Index: java/awt/font/TextAttribute.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/font/TextAttribute.java,v
retrieving revision 1.1
diff -u -r1.1 TextAttribute.java
--- java/awt/font/TextAttribute.java	17 Feb 2003 15:26:30 -0000	1.1
+++ java/awt/font/TextAttribute.java	31 Mar 2003 09:54:48 -0000
@@ -38,6 +38,7 @@
 
 package java.awt.font;
 
+import java.io.InvalidObjectException;
 import java.text.AttributedCharacterIterator;
 
 public final class TextAttribute extends AttributedCharacterIterator.Attribute
@@ -115,6 +116,7 @@
   }
   
   protected Object readResolve ()
+    throws InvalidObjectException
   {
     throw new Error ("not implemented");
   }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]