2005-02-22 Jeroen Frijters <jeroen@frijters.net>
* java/io/Externalizable.java, java/io/Serializable.java (serialVersionUID): Removed. * java/rmi/server/RemoteObject.java, java/rmi/server/UID.java (serialVersionUID): Made private. * java/rmi/server/RemoteRef.java, java/rmi/server/ServerRef.java (serialVersionUID): Set proper value. * java/security/interfaces/DSAPrivateKey.java, java/security/interfaces/DSAPublicKey.java, java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, java/security/interfaces/RSAPrivateCrtKey.java, java/security/interfaces/RSAPrivateKey.java, java/security/interfaces/RSAPublicKey.java, javax/crypto/SecretKey.java (serialVersionUID): Added. From-SVN: r95406
This commit is contained in:
parent
af43b1adeb
commit
b22dcb1f30
@ -1,3 +1,23 @@
|
|||||||
|
2005-02-22 Jeroen Frijters <jeroen@frijters.net>
|
||||||
|
|
||||||
|
* java/io/Externalizable.java,
|
||||||
|
java/io/Serializable.java
|
||||||
|
(serialVersionUID): Removed.
|
||||||
|
* java/rmi/server/RemoteObject.java,
|
||||||
|
java/rmi/server/UID.java
|
||||||
|
(serialVersionUID): Made private.
|
||||||
|
* java/rmi/server/RemoteRef.java,
|
||||||
|
java/rmi/server/ServerRef.java
|
||||||
|
(serialVersionUID): Set proper value.
|
||||||
|
* java/security/interfaces/DSAPrivateKey.java,
|
||||||
|
java/security/interfaces/DSAPublicKey.java,
|
||||||
|
java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
|
||||||
|
java/security/interfaces/RSAPrivateCrtKey.java,
|
||||||
|
java/security/interfaces/RSAPrivateKey.java,
|
||||||
|
java/security/interfaces/RSAPublicKey.java,
|
||||||
|
javax/crypto/SecretKey.java
|
||||||
|
(serialVersionUID): Added.
|
||||||
|
|
||||||
2005-02-22 Tom Tromey <tromey@redhat.com>
|
2005-02-22 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
|
* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
|
||||||
|
@ -60,8 +60,6 @@ package java.io;
|
|||||||
*/
|
*/
|
||||||
public interface Externalizable extends Serializable
|
public interface Externalizable extends Serializable
|
||||||
{
|
{
|
||||||
long serialVersionUID = -282491828744381764L;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method restores an object's state by reading in the instance data
|
* This method restores an object's state by reading in the instance data
|
||||||
* for the object from the passed in stream. Note that this stream is not
|
* for the object from the passed in stream. Note that this stream is not
|
||||||
|
@ -51,5 +51,4 @@ package java.io;
|
|||||||
*/
|
*/
|
||||||
public interface Serializable
|
public interface Serializable
|
||||||
{
|
{
|
||||||
long serialVersionUID = 1196656838076753133L;
|
|
||||||
} // interface Serializable
|
} // interface Serializable
|
||||||
|
@ -46,7 +46,7 @@ import java.rmi.RemoteException;
|
|||||||
|
|
||||||
public interface RemoteRef extends Externalizable
|
public interface RemoteRef extends Externalizable
|
||||||
{
|
{
|
||||||
long serialVersionUID = 0;
|
long serialVersionUID = 3632638527362204081L;
|
||||||
|
|
||||||
String packagePrefix = "gnu.java.rmi.server";
|
String packagePrefix = "gnu.java.rmi.server";
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ import java.rmi.RemoteException;
|
|||||||
|
|
||||||
public interface ServerRef extends RemoteRef
|
public interface ServerRef extends RemoteRef
|
||||||
{
|
{
|
||||||
long serialVersionUID = 0;
|
long serialVersionUID = -4557750989390278438L;
|
||||||
|
|
||||||
RemoteStub exportObject(Remote obj, Object data) throws RemoteException;
|
RemoteStub exportObject(Remote obj, Object data) throws RemoteException;
|
||||||
|
|
||||||
|
@ -49,6 +49,11 @@ import java.security.PrivateKey;
|
|||||||
*/
|
*/
|
||||||
public interface DSAPrivateKey extends DSAKey, PrivateKey
|
public interface DSAPrivateKey extends DSAKey, PrivateKey
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The version identifier used for serialization.
|
||||||
|
*/
|
||||||
|
long serialVersionUID = 7776497482533790279L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns the value of the DSA private key
|
* This method returns the value of the DSA private key
|
||||||
*/
|
*/
|
||||||
|
@ -49,6 +49,11 @@ import java.security.PublicKey;
|
|||||||
*/
|
*/
|
||||||
public interface DSAPublicKey extends DSAKey, PublicKey
|
public interface DSAPublicKey extends DSAKey, PublicKey
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The version identifier used for serialization.
|
||||||
|
*/
|
||||||
|
long serialVersionUID = 1234526332779022332L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns the value of the DSA public key
|
* This method returns the value of the DSA public key
|
||||||
*/
|
*/
|
||||||
|
@ -54,6 +54,7 @@ public interface RSAMultiPrimePrivateCrtKey extends RSAPrivateKey
|
|||||||
{
|
{
|
||||||
// Constants
|
// Constants
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
long serialVersionUID = 618058533534628008L;
|
||||||
|
|
||||||
// Methods
|
// Methods
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
@ -49,6 +49,8 @@ import java.math.BigInteger;
|
|||||||
*/
|
*/
|
||||||
public interface RSAPrivateCrtKey extends RSAPrivateKey
|
public interface RSAPrivateCrtKey extends RSAPrivateKey
|
||||||
{
|
{
|
||||||
|
long serialVersionUID = -5682214253527700368L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the public exponent for this key
|
* Returns the public exponent for this key
|
||||||
*
|
*
|
||||||
|
@ -49,6 +49,8 @@ import java.security.PrivateKey;
|
|||||||
*/
|
*/
|
||||||
public interface RSAPrivateKey extends PrivateKey, RSAKey
|
public interface RSAPrivateKey extends PrivateKey, RSAKey
|
||||||
{
|
{
|
||||||
|
long serialVersionUID = 5187144804936595022L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the private exponent value for this key
|
* Returns the private exponent value for this key
|
||||||
*
|
*
|
||||||
|
@ -49,6 +49,8 @@ import java.security.PublicKey;
|
|||||||
*/
|
*/
|
||||||
public interface RSAPublicKey extends PublicKey, RSAKey
|
public interface RSAPublicKey extends PublicKey, RSAKey
|
||||||
{
|
{
|
||||||
|
long serialVersionUID = -8727434096241101194L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the public exponent value for this key
|
* Returns the public exponent value for this key
|
||||||
*
|
*
|
||||||
|
@ -61,4 +61,5 @@ import java.security.Key;
|
|||||||
*/
|
*/
|
||||||
public interface SecretKey extends Key
|
public interface SecretKey extends Key
|
||||||
{
|
{
|
||||||
|
long serialVersionUID = -4795878709595146952L;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user