8176566: @since value errors in types of java.base module
Reviewed-by: martin, psandoz
This commit is contained in:
parent
8cfcabb1f6
commit
2be8407266
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -27,6 +27,8 @@ package java.lang.invoke;
|
||||
|
||||
/**
|
||||
* LambdaConversionException
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
public class LambdaConversionException extends Exception {
|
||||
private static final long serialVersionUID = 292L + 8L;
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -27,6 +27,8 @@ package java.nio.file;
|
||||
|
||||
/**
|
||||
* Runtime exception thrown when a file system cannot be found.
|
||||
*
|
||||
* @since 1.7
|
||||
*/
|
||||
|
||||
public class FileSystemNotFoundException
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -32,7 +32,7 @@ import java.io.IOException;
|
||||
*
|
||||
* @author unascribed
|
||||
* @see java.io.IOException
|
||||
* @since 1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
|
||||
public
|
||||
|
Loading…
Reference in New Issue
Block a user