summaryrefslogtreecommitdiffstats
path: root/libjava/java/security/interfaces
diff options
context:
space:
mode:
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-27 23:57:07 +0000
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-27 23:57:07 +0000
commit05a79342912ad9d4cbbe4c94707f113035c4a8d8 (patch)
treeff39f131cca0a0da7843ec7d8797e9f7c82bd82d /libjava/java/security/interfaces
parent3563027cfeaf7b620ead1fe07e8d557d78a3e2c2 (diff)
downloadppe42-gcc-05a79342912ad9d4cbbe4c94707f113035c4a8d8.tar.gz
ppe42-gcc-05a79342912ad9d4cbbe4c94707f113035c4a8d8.zip
* mauve-libgcj: Activated serialization tests.
* gcj/field.h (getModifiers): Mask off unknown flags. * gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so spurious bits don't cause discrepancies. * java/io/ObjectOutputStream.java: Fixed typo in comment. * java/io/ObjectStreamClass.java: Fixed typos in comments. (lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize. (hasClassInitializer): Call getDeclaredMethod instead of getMethod. * java/lang/Throwable.java (serialVersionUID): New field. * java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used. * java/lang/reflect/natConstructor.cc (getModifiers): Mask off unknown flags. * java/lang/reflect/natMethod.cc: Ditto. * java/security/Key.java (serialVersionUID): Removed field for now. * java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto. * java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto. Serialization mods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security/interfaces')
-rw-r--r--libjava/java/security/interfaces/DSAPrivateKey.java2
-rw-r--r--libjava/java/security/interfaces/DSAPublicKey.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/security/interfaces/DSAPrivateKey.java b/libjava/java/security/interfaces/DSAPrivateKey.java
index a2cb583884a..c0efe21b490 100644
--- a/libjava/java/security/interfaces/DSAPrivateKey.java
+++ b/libjava/java/security/interfaces/DSAPrivateKey.java
@@ -22,7 +22,7 @@ import java.math.BigInteger;
public interface DSAPrivateKey extends DSAKey, PrivateKey
{
// FIXME: need to set this at some point when serialization is implemented.
- public static final long serialVersionUID = 0;
+ // public static final long serialVersionUID = 0L;
public BigInteger getX();
}
diff --git a/libjava/java/security/interfaces/DSAPublicKey.java b/libjava/java/security/interfaces/DSAPublicKey.java
index 7cab0708263..43eedaf1e84 100644
--- a/libjava/java/security/interfaces/DSAPublicKey.java
+++ b/libjava/java/security/interfaces/DSAPublicKey.java
@@ -22,7 +22,7 @@ import java.math.BigInteger;
public interface DSAPublicKey extends DSAKey, PublicKey
{
// FIXME: need to set this at some point when serialization is implemented.
- public static final long serialVersionUID = 0;
+ // public static final long serialVersionUID = 0L;
public BigInteger getY();
}
OpenPOWER on IntegriCloud