mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 08:08:59 +08:00
7db51521a0
* 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. From-SVN: r35302
30 lines
738 B
Java
30 lines
738 B
Java
/* Copyright (C) 2000 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
package java.security;
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* @author Warren Levy <warrenl@cygnus.com>
|
|
* @date February 1, 2000.
|
|
*/
|
|
|
|
/* Written using on-line Java Platform 1.2 API Specification.
|
|
* Status: Believed complete and correct.
|
|
*/
|
|
|
|
public interface Key extends Serializable
|
|
{
|
|
// FIXME: need to set this at some point when serialization is implemented.
|
|
// public static final long serialVersionUID = 0L;
|
|
|
|
public String getAlgorithm();
|
|
public String getFormat();
|
|
public byte[] getEncoded();
|
|
}
|