8176566: @since value errors in types of java.base module

Reviewed-by: martin, psandoz
This commit is contained in:
Hamlin Li 2017-03-14 19:23:37 -07:00
parent 8cfcabb1f6
commit 2be8407266
20 changed files with 30 additions and 1 deletions

View File

@ -82,6 +82,7 @@ private static CallSite bootstrapDynamic(MethodHandles.Lookup caller, String nam
}
}</pre></blockquote>
* @author John Rose, JSR 292 EG
* @since 1.7
*/
abstract
public class CallSite {

View File

@ -30,6 +30,7 @@ package java.lang.invoke;
* An {@code invokedynamic} instruction linked to a {@code ConstantCallSite} is permanently
* bound to the call site's target.
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public class ConstantCallSite extends CallSite {
private final boolean isFrozen;

View File

@ -27,6 +27,8 @@ package java.lang.invoke;
/**
* LambdaConversionException
*
* @since 1.8
*/
public class LambdaConversionException extends Exception {
private static final long serialVersionUID = 292L + 8L;

View File

@ -211,6 +211,7 @@ import java.util.Arrays;
* theory, any method handle could be used. Currently supported are direct method
* handles representing invocation of virtual, interface, constructor and static
* methods.
* @since 1.8
*/
public class LambdaMetafactory {

View File

@ -423,6 +423,7 @@ mh.invokeExact(System.out, "Hello, world.");
* @see MethodType
* @see MethodHandles
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public abstract class MethodHandle {

View File

@ -38,6 +38,8 @@ import static java.lang.invoke.MethodHandleStatics.*;
/**
* This class consists exclusively of static methods that help adapt
* method handles to other JVM types, such as interfaces.
*
* @since 1.7
*/
public class MethodHandleProxies {

View File

@ -88,6 +88,7 @@ import sun.invoke.util.VerifyType;
* (But the classes need not be initialized, as is the case with a {@code CONSTANT_Class}.)
* This loading may occur at any time before the {@code MethodType} object is first derived.
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public final
class MethodType implements java.io.Serializable {

View File

@ -81,6 +81,7 @@ assertEquals("Wilma, dear?", (String) worker2.invokeExact());
* For target values which will be frequently updated, consider using
* a {@linkplain VolatileCallSite volatile call site} instead.
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public class MutableCallSite extends CallSite {
/**

View File

@ -54,6 +54,7 @@ import java.util.Objects;
* lambda actually captured by that class.
*
* @see LambdaMetafactory
* @since 1.8
*/
public final class SerializedLambda implements Serializable {
private static final long serialVersionUID = 8025925345765570181L;

View File

@ -108,6 +108,7 @@ package java.lang.invoke;
* }
* }</pre>
* @author Remi Forax, JSR 292 EG
* @since 1.7
*/
public class SwitchPoint {
private static final MethodHandle

View File

@ -40,6 +40,7 @@ package java.lang.invoke;
* with {@code MutableCallSite}.
* @see MutableCallSite
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public class VolatileCallSite extends CallSite {
/**

View File

@ -28,6 +28,8 @@ package java.nio.file;
/**
* Unchecked exception thrown when an attempt is made to invoke an operation on
* a file and the file system is closed.
*
* @since 1.7
*/
public class ClosedFileSystemException

View File

@ -28,6 +28,8 @@ package java.nio.file;
/**
* Unchecked exception thrown when an attempt is made to invoke an operation on
* a watch service that is closed.
*
* @since 1.7
*/
public class ClosedWatchServiceException

View File

@ -28,6 +28,8 @@ package java.nio.file;
/**
* Runtime exception thrown when an attempt is made to create a file system that
* already exists.
*
* @since 1.7
*/
public class FileSystemAlreadyExistsException

View File

@ -27,6 +27,8 @@ package java.nio.file;
/**
* Runtime exception thrown when a file system cannot be found.
*
* @since 1.7
*/
public class FileSystemNotFoundException

View File

@ -29,6 +29,8 @@ package java.nio.file;
* Unchecked exception thrown when path string cannot be converted into a
* {@link Path} because the path string contains invalid characters, or
* the path string is invalid for other file system specific reasons.
*
* @since 1.7
*/
public class InvalidPathException

View File

@ -29,6 +29,8 @@ package java.nio.file;
* Unchecked exception thrown when an attempt is made to invoke a method on an
* object created by one file system provider with a parameter created by a
* different file system provider.
*
* @since 1.7
*/
public class ProviderMismatchException
extends java.lang.IllegalArgumentException

View File

@ -27,6 +27,8 @@ package java.nio.file;
/**
* Runtime exception thrown when a provider of the required type cannot be found.
*
* @since 1.7
*/
public class ProviderNotFoundException

View File

@ -28,6 +28,8 @@ package java.nio.file;
/**
* Unchecked exception thrown when an attempt is made to update an object
* associated with a {@link FileSystem#isReadOnly() read-only} {@code FileSystem}.
*
* @since 1.7
*/
public class ReadOnlyFileSystemException

View File

@ -32,7 +32,7 @@ import java.io.IOException;
*
* @author unascribed
* @see java.io.IOException
* @since 1.0
* @since 1.1
*/
public