Oh the serialization + DashO humanity. We have to override the
serialVersionUID because requesting for DashO to include a class as is with no modifications still results in a different serialVersionUID than the automatically generated value (even though the documentation indicates otherwise). Keerist, what a fragile fiasco. git-svn-id: https://samskivert.googlecode.com/svn/trunk@999 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ArrayIntSet.java,v 1.9 2002/12/16 01:57:36 mdb Exp $
|
||||
// $Id: ArrayIntSet.java,v 1.10 2002/12/19 22:41:13 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -360,4 +360,10 @@ public class ArrayIntSet extends AbstractSet
|
||||
|
||||
/** The number of elements in this set. */
|
||||
protected int _size;
|
||||
|
||||
/** Change this if the fields or inheritance hierarchy ever changes
|
||||
* (which is extremely unlikely). We override this because I'm tired
|
||||
* of serialized crap not working depending on whether I compiled with
|
||||
* jikes or javac. */
|
||||
private static final long serialVersionUID = 1;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SortableArrayList.java,v 1.8 2002/12/16 01:55:55 mdb Exp $
|
||||
// $Id: SortableArrayList.java,v 1.9 2002/12/19 22:41:13 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -246,4 +246,10 @@ public class SortableArrayList extends AbstractList
|
||||
|
||||
/** The number of elements in our list. */
|
||||
protected int _size;
|
||||
|
||||
/** Change this if the fields or inheritance hierarchy ever changes
|
||||
* (which is extremely unlikely). We override this because I'm tired
|
||||
* of serialized crap not working depending on whether I compiled with
|
||||
* jikes or javac. */
|
||||
private static final long serialVersionUID = 1;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Tuple.java,v 1.4 2001/11/26 21:57:42 mdb Exp $
|
||||
// $Id: Tuple.java,v 1.5 2002/12/19 22:41:13 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -77,4 +77,10 @@ public class Tuple implements Serializable
|
||||
{
|
||||
return "[left=" + left + ", right=" + right + "]";
|
||||
}
|
||||
|
||||
/** Change this if the fields or inheritance hierarchy ever changes
|
||||
* (which is extremely unlikely). We override this because I'm tired
|
||||
* of serialized crap not working depending on whether I compiled with
|
||||
* jikes or javac. */
|
||||
private static final long serialVersionUID = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user