8181082: class-level since tag issues in java.base & java.datatransfer module

Reviewed-by: alanb, serb
This commit is contained in:
Hamlin Li 2017-05-31 19:54:16 -07:00
parent d2b3d30d6a
commit 696328559d
167 changed files with 171 additions and 0 deletions

View file

@ -403,6 +403,7 @@ import java.lang.module.ModuleFinder;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*/
public final class RuntimePermission extends BasicPermission {

View file

@ -36,6 +36,7 @@ import jdk.internal.HotSpotIntrinsicCandidate;
* conversion would occur.
*
* @author Nakul Saraiya
* @since 1.1
*/
public final
class Array {

View file

@ -59,6 +59,7 @@ import java.util.StringJoiner;
*
* @author Kenneth Russell
* @author Nakul Saraiya
* @since 1.1
*/
public final class Constructor<T> extends Executable {
private Class<T> clazz;

View file

@ -60,6 +60,7 @@ import sun.reflect.annotation.TypeAnnotationParser;
*
* @author Kenneth Russell
* @author Nakul Saraiya
* @since 1.1
*/
public final
class Field extends AccessibleObject implements Member {

View file

@ -38,6 +38,7 @@ package java.lang.reflect;
*
* @see Method
* @see Constructor
* @since 1.1
*/
public class InvocationTargetException extends ReflectiveOperationException {
/**

View file

@ -35,6 +35,7 @@ package java.lang.reflect;
* @see Constructor
*
* @author Nakul Saraiya
* @since 1.1
*/
public
interface Member {

View file

@ -63,6 +63,7 @@ import java.util.StringJoiner;
*
* @author Kenneth Russell
* @author Nakul Saraiya
* @since 1.1
*/
public final class Method extends Executable {
private Class<?> clazz;

View file

@ -43,6 +43,7 @@ import jdk.internal.reflect.ReflectionFactory;
*
* @author Nakul Saraiya
* @author Kenneth Russell
* @since 1.1
*/
public class Modifier {

View file

@ -222,6 +222,7 @@ import java.util.Arrays;
* @author Mike Cowlishaw
* @author Joseph D. Darcy
* @author Sergey V. Kuksenko
* @since 1.1
*/
public class BigDecimal extends Number implements Comparable<BigDecimal> {
/**

View file

@ -167,6 +167,7 @@ import java.util.StringTokenizer;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*/
public final class NetPermission extends BasicPermission {

View file

@ -40,6 +40,7 @@ import java.lang.annotation.Native;
* DatagramSocket and MulticastSocket.
*
* @author David Brown
* @since 1.1
*/

View file

@ -142,6 +142,7 @@ import sun.security.util.Debug;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*
* @serial exclude
*/

View file

@ -74,6 +74,7 @@ import sun.security.util.SecurityConstants;
* @see AccessController
*
* @author Roland Schemers
* @since 1.2
*/
public final class AccessControlContext {

View file

@ -38,6 +38,7 @@ package java.security;
*
* @author Li Gong
* @author Roland Schemers
* @since 1.2
*/
public class AccessControlException extends SecurityException {

View file

@ -259,6 +259,7 @@ import jdk.internal.reflect.Reflection;
*
* @author Li Gong
* @author Roland Schemers
* @since 1.2
*/
public final class AccessController {

View file

@ -51,6 +51,7 @@ import sun.security.util.SecurityConstants;
*
*
* @author Roland Schemers
* @since 1.2
*
* @serial exclude
*/

View file

@ -62,6 +62,7 @@ import java.util.concurrent.ConcurrentHashMap;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*/
public abstract class BasicPermission extends Permission

View file

@ -56,6 +56,7 @@ import java.util.Date;
* the certificate and satisfy itself of its validity.
*
* @author Benjamin Renaud
* @since 1.1
* @deprecated A new certificate handling package is created in the Java platform.
* This Certificate interface is entirely deprecated and
* is here to allow for a smooth transition to the new

View file

@ -44,6 +44,7 @@ import sun.net.util.URLUtil;
*
* @author Li Gong
* @author Roland Schemers
* @since 1.2
*/
public class CodeSource implements java.io.Serializable {

View file

@ -29,6 +29,7 @@ package java.security;
* This is the generic Message Digest exception.
*
* @author Benjamin Renaud
* @since 1.1
*/
public class DigestException extends GeneralSecurityException {

View file

@ -59,6 +59,7 @@ import java.io.ByteArrayInputStream;
* @see DigestOutputStream
*
* @author Benjamin Renaud
* @since 1.2
*/
public class DigestInputStream extends FilterInputStream {

View file

@ -51,6 +51,7 @@ import java.io.ByteArrayOutputStream;
* @see DigestInputStream
*
* @author Benjamin Renaud
* @since 1.2
*/
public class DigestOutputStream extends FilterOutputStream {

View file

@ -31,6 +31,7 @@ package java.security;
* security-related exception classes that extend from it.
*
* @author Jan Luehe
* @since 1.2
*/
public class GeneralSecurityException extends Exception {

View file

@ -38,6 +38,7 @@ package java.security;
*
* @author Roland Schemers
* @author Li Gong
* @since 1.2
*/
public interface Guard {

View file

@ -44,6 +44,7 @@ package java.security;
*
* @author Roland Schemers
* @author Li Gong
* @since 1.2
*/
public class GuardedObject implements java.io.Serializable {

View file

@ -51,6 +51,7 @@ import java.util.*;
* @see Principal
*
* @author Benjamin Renaud
* @since 1.1
* @deprecated This class is no longer used. Its functionality has been
* replaced by {@code java.security.KeyStore}, the
* {@code java.security.cert} package, and

View file

@ -55,6 +55,7 @@ import java.util.Properties;
* @see Key
*
* @author Benjamin Renaud
* @since 1.1
*
* @deprecated This class is no longer used. Its functionality has been
* replaced by {@code java.security.KeyStore}, the

View file

@ -31,6 +31,7 @@ package java.security;
* length, uninitialized, etc).
*
* @author Benjamin Renaud
* @since 1.1
*/
public class InvalidKeyException extends KeyException {

View file

@ -31,6 +31,7 @@ package java.security;
* to a method.
*
* @author Benjamin Renaud
* @since 1.1
*/
public class InvalidParameterException extends IllegalArgumentException {

View file

@ -97,6 +97,7 @@ package java.security;
* @see Signer
*
* @author Benjamin Renaud
* @since 1.1
*/
public interface Key extends java.io.Serializable {

View file

@ -33,6 +33,7 @@ package java.security;
* @see KeyManagementException
*
* @author Benjamin Renaud
* @since 1.1
*/
public class KeyException extends GeneralSecurityException {

View file

@ -38,6 +38,7 @@ package java.security;
* </ul>
*
* @author Benjamin Renaud
* @since 1.1
*
* @see Key
* @see KeyException

View file

@ -36,6 +36,7 @@ import java.util.*;
* @see PrivateKey
*
* @author Benjamin Renaud
* @since 1.1
*/
public final class KeyPair implements java.io.Serializable {

View file

@ -121,6 +121,7 @@ import sun.security.util.Debug;
* other algorithms are supported.
*
* @author Benjamin Renaud
* @since 1.1
*
* @see java.security.spec.AlgorithmParameterSpec
*/

View file

@ -43,6 +43,7 @@ import java.security.spec.AlgorithmParameterSpec;
* of 1024 bits.
*
* @author Benjamin Renaud
* @since 1.2
*
*
* @see KeyPairGenerator

View file

@ -96,6 +96,7 @@ import javax.crypto.SecretKey;
* other algorithms are supported.
*
* @author Benjamin Renaud
* @since 1.1
*
* @see DigestInputStream
* @see DigestOutputStream

View file

@ -43,6 +43,7 @@ import sun.security.jca.JCAUtil;
* <p> Implementations are free to implement the Cloneable interface.
*
* @author Benjamin Renaud
* @since 1.2
*
*
* @see MessageDigest

View file

@ -30,6 +30,7 @@ package java.security;
* requested but is not available in the environment.
*
* @author Benjamin Renaud
* @since 1.1
*/
public class NoSuchAlgorithmException extends GeneralSecurityException {

View file

@ -30,6 +30,7 @@ package java.security;
* requested but is not available in the environment.
*
* @author Benjamin Renaud
* @since 1.1
*/
public class NoSuchProviderException extends GeneralSecurityException {

View file

@ -60,6 +60,7 @@ package java.security;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*/
public abstract class Permission implements Guard, java.io.Serializable {

View file

@ -91,6 +91,7 @@ import java.util.stream.StreamSupport;
*
*
* @author Roland Schemers
* @since 1.2
*/
public abstract class PermissionCollection implements java.io.Serializable {

View file

@ -75,6 +75,7 @@ import java.io.IOException;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*
* @serial exclude
*/

View file

@ -78,6 +78,7 @@ import sun.security.util.SecurityConstants;
*
* @author Roland Schemers
* @author Gary Ellison
* @since 1.2
* @see java.security.Provider
* @see java.security.ProtectionDomain
* @see java.security.Permission

View file

@ -35,6 +35,7 @@ import javax.security.auth.Subject;
* @see java.security.cert.X509Certificate
*
* @author Li Gong
* @since 1.1
*/
public interface Principal {

View file

@ -54,6 +54,7 @@ package java.security;
*
* @author Benjamin Renaud
* @author Josh Bloch
* @since 1.1
*/
public interface PrivateKey extends Key, javax.security.auth.Destroyable {

View file

@ -34,6 +34,7 @@ package java.security;
* throw checked exceptions must use {@code PrivilegedExceptionAction}
* instead.
*
* @since 1.2
* @see AccessController
* @see AccessController#doPrivileged(PrivilegedAction)
* @see PrivilegedExceptionAction

View file

@ -43,6 +43,7 @@ package java.security;
* <i>cause</i>, and may be accessed via the {@link Throwable#getCause()}
* method, as well as the aforementioned "legacy method."
*
* @since 1.2
* @see PrivilegedExceptionAction
* @see AccessController#doPrivileged(PrivilegedExceptionAction)
* @see AccessController#doPrivileged(PrivilegedExceptionAction,AccessControlContext)

View file

@ -35,6 +35,7 @@ package java.security;
* computations that do not throw
* checked exceptions should use {@code PrivilegedAction} instead.
*
* @since 1.2
* @see AccessController
* @see AccessController#doPrivileged(PrivilegedExceptionAction)
* @see AccessController#doPrivileged(PrivilegedExceptionAction,

View file

@ -59,6 +59,7 @@ import sun.security.util.SecurityConstants;
* @author Li Gong
* @author Roland Schemers
* @author Gary Ellison
* @since 1.2
*/
public class ProtectionDomain {

View file

@ -102,6 +102,7 @@ import java.util.function.Function;
*
* @author Benjamin Renaud
* @author Andreas Sterbenz
* @since 1.1
*/
public abstract class Provider extends Properties {

View file

@ -32,6 +32,7 @@ package java.security;
* throw specialized, provider-specific runtime errors.
*
* @author Benjamin Renaud
* @since 1.1
*/
public class ProviderException extends RuntimeException {

View file

@ -34,6 +34,7 @@ package java.security;
* See, for example, the DSAPublicKey interface in
* {@code java.security.interfaces}.
*
* @since 1.1
* @see Key
* @see PrivateKey
* @see Certificate

View file

@ -39,6 +39,7 @@ import sun.security.util.Debug;
*
* @author Li Gong
* @author Roland Schemers
* @since 1.2
*/
public class SecureClassLoader extends ClassLoader {
/*

View file

@ -143,6 +143,7 @@ import sun.security.util.Debug;
*
* @author Benjamin Renaud
* @author Josh Bloch
* @since 1.1
*/
public class SecureRandom extends java.util.Random {

View file

@ -45,6 +45,7 @@ import sun.security.jca.*;
* {@code conf/security/java.security} in the Java installation directory.
*
* @author Benjamin Renaud
* @since 1.1
*/
public final class Security {

View file

@ -333,6 +333,7 @@ import java.util.StringTokenizer;
*
* @author Marianne Mueller
* @author Roland Schemers
* @since 1.2
*/
public final class SecurityPermission extends BasicPermission {

View file

@ -113,6 +113,7 @@ import sun.security.jca.GetInstance.Instance;
* other algorithms are supported.
*
* @author Benjamin Renaud
* @since 1.1
*
*/

View file

@ -29,6 +29,7 @@ package java.security;
* This is the generic Signature exception.
*
* @author Benjamin Renaud
* @since 1.1
*/
public class SignatureException extends GeneralSecurityException {

View file

@ -44,6 +44,7 @@ import sun.security.jca.JCAUtil;
* of a particular signature algorithm.
*
* @author Benjamin Renaud
* @since 1.2
*
*
* @see Signature

View file

@ -114,6 +114,7 @@ import java.io.*;
* @see Signature
*
* @author Li Gong
* @since 1.2
*/
public final class SignedObject implements Serializable {

View file

@ -38,6 +38,7 @@ import java.io.*;
* @see Identity
*
* @author Benjamin Renaud
* @since 1.1
*
* @deprecated This class is no longer used. Its functionality has been
* replaced by {@code java.security.KeyStore}, the

View file

@ -96,6 +96,7 @@ import java.security.cert.*;
*
*
* @author Roland Schemers
* @since 1.2
*/
public final class UnresolvedPermission extends Permission

View file

@ -43,6 +43,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
*
*
* @author Roland Schemers
* @since 1.2
*
* @serial include
*/

View file

@ -82,6 +82,7 @@ import java.security.Principal;
* @see java.security.acl.Acl#getPermissions
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -50,6 +50,7 @@ import java.security.Principal;
* @see java.security.acl.Acl
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -30,6 +30,7 @@ package java.security.acl;
* non-existent ACL (Access Control List).
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -39,6 +39,7 @@ import java.security.Principal;
* Principal or Group.
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -32,6 +32,7 @@ package java.security.acl;
* @see java.security.acl.Owner#deleteOwner
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -31,6 +31,7 @@ package java.security.acl;
* the object, but the Principal attempting the modification is not an owner.
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -34,6 +34,7 @@ import java.security.Principal;
* interface.) The initial owner Principal should be specified as an
* argument to the constructor of the class implementing this interface.
*
* @since 1.1
* @see java.security.acl.Acl
*
* @deprecated This package has been replaced by {@code java.security.Policy}

View file

@ -31,6 +31,7 @@ package java.security.acl;
* a particular type of access to a resource.
*
* @author Satish Dharmaraj
* @since 1.1
*
* @deprecated This package has been replaced by {@code java.security.Policy}
* and related classes since 1.2.

View file

@ -31,6 +31,7 @@ import java.security.GeneralSecurityException;
* CRL (Certificate Revocation List) Exception.
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public class CRLException extends GeneralSecurityException {

View file

@ -57,6 +57,7 @@ import sun.security.x509.X509CertImpl;
* @see CertificateFactory
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public abstract class Certificate implements java.io.Serializable {

View file

@ -30,6 +30,7 @@ package java.security.cert;
* occurs while attempting to encode a certificate.
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public class CertificateEncodingException extends CertificateException {

View file

@ -31,6 +31,7 @@ import java.security.GeneralSecurityException;
* This exception indicates one of a variety of certificate problems.
*
* @author Hemma Prafullchandra
* @since 1.2
* @see Certificate
*/
public class CertificateException extends GeneralSecurityException {

View file

@ -32,6 +32,7 @@ package java.security.cert;
* of the certificate.
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public class CertificateExpiredException extends CertificateException {

View file

@ -32,6 +32,7 @@ package java.security.cert;
* validity period.
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public class CertificateNotYetValidException extends CertificateException {

View file

@ -31,6 +31,7 @@ package java.security.cert;
* are found in the Certificate.
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public class CertificateParsingException extends CertificateException {

View file

@ -102,6 +102,7 @@ import sun.security.x509.X509CRLImpl;
* }</pre>
*
* @author Hemma Prafullchandra
* @since 1.2
*
*
* @see CRL

View file

@ -62,6 +62,7 @@ import sun.security.x509.X509CRLEntryImpl;
* @see X509Extension
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public abstract class X509CRLEntry implements X509Extension {

View file

@ -95,6 +95,7 @@ import sun.security.x509.X509CertImpl;
* </pre>
*
* @author Hemma Prafullchandra
* @since 1.2
*
*
* @see Certificate

View file

@ -65,6 +65,7 @@ import java.util.Set;
* be handled by a <em>Class</em> that understands the extension.
*
* @author Hemma Prafullchandra
* @since 1.2
*/
public interface X509Extension {

View file

@ -35,6 +35,7 @@ package java.security.interfaces;
*
* @author Benjamin Renaud
* @author Josh Bloch
* @since 1.1
*/
public interface DSAKey {

View file

@ -65,6 +65,7 @@ import java.security.*;
* <p>Note: Some earlier implementations of this interface may not support
* larger sizes of DSA parameters such as 2048 and 3072-bit.
*
* @since 1.1
* @see java.security.KeyPairGenerator
*/
public interface DSAKeyPairGenerator {

View file

@ -38,6 +38,7 @@ import java.math.BigInteger;
*
* @author Benjamin Renaud
* @author Josh Bloch
* @since 1.1
*/
public interface DSAParams {

View file

@ -37,6 +37,7 @@ import java.math.BigInteger;
* @see DSAPublicKey
*
* @author Benjamin Renaud
* @since 1.1
*/
public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey {

View file

@ -37,6 +37,7 @@ import java.math.BigInteger;
* @see DSAPrivateKey
*
* @author Benjamin Renaud
* @since 1.1
*/
public interface DSAPublicKey extends DSAKey, java.security.PublicKey {

View file

@ -32,6 +32,7 @@ import java.math.BigInteger;
* using the <i>Chinese Remainder Theorem</i> (CRT) information values.
*
* @author Jan Luehe
* @since 1.2
*
*
* @see RSAPrivateKey

View file

@ -31,6 +31,7 @@ import java.math.BigInteger;
* The interface to an RSA private key.
*
* @author Jan Luehe
* @since 1.2
*
*
* @see RSAPrivateCrtKey

View file

@ -31,6 +31,7 @@ import java.math.BigInteger;
* The interface to an RSA public key.
*
* @author Jan Luehe
* @since 1.2
*
*/

View file

@ -33,6 +33,7 @@ import java.math.BigInteger;
* efficiency.
*
* @author Jan Luehe
* @since 1.2
*
*
* @see java.security.Key

View file

@ -31,6 +31,7 @@ import java.math.BigInteger;
* This class specifies an RSA private key.
*
* @author Jan Luehe
* @since 1.2
*
*
* @see java.security.Key

View file

@ -31,6 +31,7 @@ import java.math.BigInteger;
* This class specifies an RSA public key.
*
* @author Jan Luehe
* @since 1.2
*
*
* @see java.security.Key

View file

@ -221,6 +221,7 @@ import sun.util.locale.provider.LocaleServiceProviderPool;
* and the next is a word; otherwise, it's the material between words.)
* </blockquote>
*
* @since 1.1
* @see CharacterIterator
*
*/

View file

@ -98,6 +98,7 @@ package java.text;
* }
* }</pre>
*
* @since 1.1
* @see StringCharacterIterator
* @see AttributedCharacterIterator
*/

View file

@ -163,6 +163,7 @@ import java.util.Arrays;
* @see DecimalFormat
* @see MessageFormat
* @author Mark Davis
* @since 1.1
*/
public class ChoiceFormat extends NumberFormat {

View file

@ -104,6 +104,7 @@ import sun.text.normalizer.NormalizerBase;
* @see Collator
* @see RuleBasedCollator
* @author Helena Shih, Laura Werner, Richard Gillam
* @since 1.1
*/
public final class CollationElementIterator
{

View file

@ -95,6 +95,7 @@ package java.text;
* @see Collator
* @see RuleBasedCollator
* @author Helena Shih
* @since 1.1
*/
public abstract class CollationKey implements Comparable<CollationKey> {

View file

@ -123,6 +123,7 @@ import sun.util.locale.provider.LocaleServiceProviderPool;
* @see CollationElementIterator
* @see Locale
* @author Helena Shih, Laura Werner, Richard Gillam
* @since 1.1
*/
public abstract class Collator

View file

@ -167,6 +167,7 @@ import sun.util.locale.provider.LocaleServiceProviderPool;
* @see java.util.GregorianCalendar
* @see java.util.TimeZone
* @author Mark Davis, Chen-Lieh Huang, Alan Liu
* @since 1.1
*/
public abstract class DateFormat extends Format {

Some files were not shown because too many files have changed in this diff Show more