summaryrefslogtreecommitdiff
path: root/libjava/java/sql/SQLException.java
diff options
context:
space:
mode:
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-05 23:57:16 +0000
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-05 23:57:16 +0000
commitf7ce7e1e7ea220277a849d860fa470f665b84a9c (patch)
treeab6da2cb575ebc39dc451d7b89674a8d23e7af54 /libjava/java/sql/SQLException.java
parent0b43d1b24866cb86b5440744dc54b82ebf7fb125 (diff)
downloadgcc-f7ce7e1e7ea220277a849d860fa470f665b84a9c.tar.gz
* Makefile.am: Removed java/io/Replaceable.java and
java/io/Resolvable.java. * Makefile.in: Rebuilt. * gcj/javaprims.h: Removed Replaceable and Resolvable from java.io namespace. * java/io/ObjectInputStream.java (processResolution): Fixed typo in method name. (processResolution): Handle readResolve method via reflection with removal of Resolvable interface. * java/io/ObjectOutputStream.java (writeObject): Handle writeReplace method via reflection with removal of Replaceable interface. * java/io/Replaceable.java: Removed. * java/io/Resolvable.java: Removed. * java/security/Key.java (serialVersionUID): New field. * java/security/Provider.java (serialVersionUID): New field. * java/security/interfaces/DSAPrivateKey.java (serialVersionUID): New field. * java/security/interfaces/DSAPublicKey.java (serialVersionUID): New field. * java/sql/DataTruncation.java (serialVersionUID): New field. * java/sql/SQLException.java (serialVersionUID): New field. * java/sql/SQLWarning.java (serialVersionUID): New field. * java/util/Date.java (serialVersionUID): New field. (millis): Made transient. (readObject): New method. (writeObject): New method. Serialization mods. Note: The interfaces java.io.Replaceable and java.io.Resolvable were only temporary additions to JDK 1.2 beta versions and were not included in the JDK 1.2 final. The Serialization spec instructs how to deal with their methods (via reflection). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36736 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/sql/SQLException.java')
-rw-r--r--libjava/java/sql/SQLException.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/java/sql/SQLException.java b/libjava/java/sql/SQLException.java
index 0fa64830f28..650d3c6e574 100644
--- a/libjava/java/sql/SQLException.java
+++ b/libjava/java/sql/SQLException.java
@@ -1,5 +1,5 @@
/* SQLException.java -- General SQL exception
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -59,6 +59,8 @@ private String SQLState;
*/
private int vendorCode;
+private static final long serialVersionUID = 2135244094396331484L;
+
/*************************************************************************/
/*