mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Removal of serialVersionUID which was not used correctly:
Rhino never claimed to support binary compatibility in the serialized objects and it is better to use the system generated ids always to catch errors about incompatible changes ASAP.
This commit is contained in:
parent
3859082191
commit
3f2ace010a
@ -43,8 +43,6 @@ import org.mozilla.javascript.debug.DebuggableScript;
|
||||
final class InterpreterData implements Serializable, DebuggableScript
|
||||
{
|
||||
|
||||
static final long serialVersionUID = 4815333329084415557L;
|
||||
|
||||
static final int INITIAL_MAX_ICODE_LENGTH = 1024;
|
||||
static final int INITIAL_STRINGTABLE_SIZE = 64;
|
||||
static final int INITIAL_NUMBERTABLE_SIZE = 64;
|
||||
|
@ -373,8 +373,6 @@ public class ObjArray implements Serializable
|
||||
}
|
||||
}
|
||||
|
||||
static final long serialVersionUID = -8887981051569446902L;
|
||||
|
||||
// Number of data elements
|
||||
private int size;
|
||||
|
||||
|
@ -455,8 +455,6 @@ public class ObjToIntMap implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
static final long serialVersionUID = 3396438333234169727L;
|
||||
|
||||
// A == golden_ratio * (1 << 32) = ((sqrt(5) - 1) / 2) * (1 << 32)
|
||||
// See Knuth etc.
|
||||
private static final int A = 0x9e3779b9;
|
||||
|
@ -429,9 +429,6 @@ public class UintMap implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
static final long serialVersionUID = -6916326879143724506L;
|
||||
|
||||
|
||||
// A == golden_ratio * (1 << 32) = ((sqrt(5) - 1) / 2) * (1 << 32)
|
||||
// See Knuth etc.
|
||||
private static final int A = 0x9e3779b9;
|
||||
|
Loading…
Reference in New Issue
Block a user