2003-03-31 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Mon, 31 Mar 2003 09:55:09 +0000 (09:55 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 31 Mar 2003 09:55:09 +0000 (09:55 +0000)
* java/awt/font/TextAttribute.java
(readResolve): Throws java.io.InvalidObjectException.

From-SVN: r65080

libjava/ChangeLog
libjava/java/awt/font/TextAttribute.java

index 426e897..c685a6e 100644 (file)
@@ -1,5 +1,10 @@
 2003-03-31  Michael Koch  <konqueror@gmx.de>
 
+       * java/awt/font/TextAttribute.java
+       (readResolve): Throws java.io.InvalidObjectException.
+
+2003-03-31  Michael Koch  <konqueror@gmx.de>
+
        * java/rmi/server/LoaderHandler.java
        (loadClass): Deprecated.
        (getSecurityContext): Deprecated.
index ccc8049..c30f5fb 100644 (file)
@@ -38,6 +38,7 @@ exception statement from your version. */
 
 package java.awt.font;
 
+import java.io.InvalidObjectException;
 import java.text.AttributedCharacterIterator;
 
 public final class TextAttribute extends AttributedCharacterIterator.Attribute
@@ -115,6 +116,7 @@ public final class TextAttribute extends AttributedCharacterIterator.Attribute
   }
   
   protected Object readResolve ()
+    throws InvalidObjectException
   {
     throw new Error ("not implemented");
   }