MenuComponent.java: Import java.io.Serialization.
2003-12-04 Michael Koch <konqueror@gmx.de> * java/awt/MenuComponent.java: Import java.io.Serialization. * java/awt/MenuItem.java: Likewise. * java/awt/TextComponent.java: Likewise. * java/awt/image/ImagingOpException.java (serialVersionUID): Fixed. From-SVN: r74286
This commit is contained in:
parent
6938ec6c89
commit
02bec8cb64
5 changed files with 22 additions and 9 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-12-04 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/awt/MenuComponent.java: Import java.io.Serialization.
|
||||
* java/awt/MenuItem.java: Likewise.
|
||||
* java/awt/TextComponent.java: Likewise.
|
||||
* java/awt/image/ImagingOpException.java
|
||||
(serialVersionUID): Fixed.
|
||||
|
||||
2003-12-04 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* gnu/java/net/protocol/http/Connection.java
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* MenuComponent.java -- Superclass of all AWT menu components
|
||||
Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -39,6 +39,7 @@ exception statement from your version. */
|
|||
package java.awt;
|
||||
|
||||
import java.awt.peer.MenuComponentPeer;
|
||||
import java.io.Serializable;
|
||||
|
||||
// FIXME: Java 1.0 event model unimplemented
|
||||
|
||||
|
@ -47,7 +48,7 @@ import java.awt.peer.MenuComponentPeer;
|
|||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
*/
|
||||
public abstract class MenuComponent implements java.io.Serializable
|
||||
public abstract class MenuComponent implements Serializable
|
||||
{
|
||||
|
||||
/*
|
||||
|
@ -55,7 +56,7 @@ public abstract class MenuComponent implements java.io.Serializable
|
|||
*/
|
||||
|
||||
// Serialization Constant
|
||||
private static final long serialVersionUID = -4536902356223894379L;
|
||||
private static final long serialVersionUID = -4269533416223798698L;
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* MenuItem.java -- An item in a menu
|
||||
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -41,6 +41,7 @@ package java.awt;
|
|||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.peer.MenuItemPeer;
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.EventListener;
|
||||
|
||||
|
@ -49,7 +50,8 @@ import java.util.EventListener;
|
|||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
*/
|
||||
public class MenuItem extends MenuComponent implements java.io.Serializable
|
||||
public class MenuItem extends MenuComponent
|
||||
implements Serializable
|
||||
{
|
||||
|
||||
// FIXME: The enabled event mask is not used at this time.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* TextComponent.java -- Widgets for entering text
|
||||
Copyright (C) 1999, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -42,6 +42,7 @@ import java.awt.event.TextEvent;
|
|||
import java.awt.event.TextListener;
|
||||
import java.awt.peer.TextComponentPeer;
|
||||
import java.awt.peer.ComponentPeer;
|
||||
import java.io.Serializable;
|
||||
import java.util.EventListener;
|
||||
|
||||
/**
|
||||
|
@ -50,7 +51,8 @@ import java.util.EventListener;
|
|||
*
|
||||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
*/
|
||||
public class TextComponent extends Component implements java.io.Serializable
|
||||
public class TextComponent extends Component
|
||||
implements Serializable
|
||||
{
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* ImagingOpException.java -- indicates an imaging filter failure
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -52,7 +52,7 @@ public class ImagingOpException extends RuntimeException
|
|||
/**
|
||||
* Compatible with JDK 1.0+.
|
||||
*/
|
||||
private static final long serialVersionUID = 96598996116164315L;
|
||||
private static final long serialVersionUID = 8026288481846276658L;
|
||||
|
||||
/**
|
||||
* Create a new instance with a descriptive error message.
|
||||
|
|
Loading…
Add table
Reference in a new issue