8008662: Add @jdk.Exported to JDK-specific/exported APIs
Reviewed-by: chegar, vinnie, dfuchs, mchung, mullan, darcy
This commit is contained in:
parent
9916c42ef7
commit
508933e418
@ -31,6 +31,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class AbsentInformationException extends Exception
|
||||
{
|
||||
private static final long serialVersionUID = 4988939309582416373L;
|
||||
|
@ -36,6 +36,7 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Accessible {
|
||||
|
||||
/**
|
||||
|
@ -39,6 +39,7 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ArrayReference extends ObjectReference {
|
||||
|
||||
/**
|
||||
|
@ -38,6 +38,7 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ArrayType extends ReferenceType {
|
||||
|
||||
/**
|
||||
|
@ -35,5 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface BooleanType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface BooleanValue extends PrimitiveValue
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface BooleanValue extends PrimitiveValue {
|
||||
|
||||
/**
|
||||
* Returns this BooleanValue as a boolean.
|
||||
*
|
||||
|
@ -34,6 +34,7 @@ package com.sun.jdi;
|
||||
* @since 1.3
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public class Bootstrap extends Object {
|
||||
|
||||
/**
|
||||
|
@ -35,6 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface ByteType extends PrimitiveType
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface ByteType extends PrimitiveType {
|
||||
}
|
||||
|
@ -33,8 +33,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface ByteValue extends PrimitiveValue, Comparable<ByteValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface ByteValue extends PrimitiveValue, Comparable<ByteValue> {
|
||||
|
||||
/**
|
||||
* Returns this ByteValue as a <code>byte</code>.
|
||||
*
|
||||
|
@ -35,6 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface CharType extends PrimitiveType
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface CharType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface CharValue extends PrimitiveValue, Comparable<CharValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface CharValue extends PrimitiveValue, Comparable<CharValue> {
|
||||
|
||||
/**
|
||||
* Returns this CharValue as a <code>char</code>.
|
||||
*
|
||||
|
@ -39,6 +39,7 @@ import java.util.List;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ClassLoaderReference extends ObjectReference {
|
||||
|
||||
/**
|
||||
|
@ -67,6 +67,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class ClassNotLoadedException extends Exception
|
||||
{
|
||||
private static final long serialVersionUID = -6242978768444298722L;
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class ClassNotPreparedException extends RuntimeException {
|
||||
private static final long serialVersionUID = -6120698967144079642L;
|
||||
public ClassNotPreparedException()
|
||||
|
@ -35,6 +35,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ClassObjectReference extends ObjectReference {
|
||||
|
||||
/**
|
||||
|
@ -41,6 +41,7 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ClassType extends ReferenceType {
|
||||
/**
|
||||
* Gets the superclass of this class.
|
||||
|
@ -35,6 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface DoubleType extends PrimitiveType
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface DoubleType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface DoubleValue extends PrimitiveValue, Comparable<DoubleValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface DoubleValue extends PrimitiveValue, Comparable<DoubleValue> {
|
||||
|
||||
/**
|
||||
* Returns this DoubleValue as a <code>double</code>.
|
||||
*
|
||||
|
@ -38,6 +38,7 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Field extends TypeComponent, Comparable<Field> {
|
||||
|
||||
/**
|
||||
|
@ -35,6 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface FloatType extends PrimitiveType
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface FloatType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface FloatValue extends PrimitiveValue, Comparable<FloatValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface FloatValue extends PrimitiveValue, Comparable<FloatValue> {
|
||||
|
||||
/**
|
||||
* Returns this FloatValue as a float.
|
||||
*
|
||||
|
@ -32,16 +32,15 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
public class IncompatibleThreadStateException extends Exception
|
||||
{
|
||||
@jdk.Exported
|
||||
public class IncompatibleThreadStateException extends Exception {
|
||||
private static final long serialVersionUID = 6199174323414551389L;
|
||||
public IncompatibleThreadStateException()
|
||||
{
|
||||
|
||||
public IncompatibleThreadStateException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public IncompatibleThreadStateException(String s)
|
||||
{
|
||||
public IncompatibleThreadStateException(String s) {
|
||||
super(s);
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class InconsistentDebugInfoException extends RuntimeException {
|
||||
private static final long serialVersionUID = 7964236415376861808L;
|
||||
public InconsistentDebugInfoException() {
|
||||
|
@ -35,6 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface IntegerType extends PrimitiveType
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface IntegerType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface IntegerValue extends PrimitiveValue, Comparable<IntegerValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface IntegerValue extends PrimitiveValue, Comparable<IntegerValue> {
|
||||
|
||||
/**
|
||||
* Returns this IntegerValue as an int.
|
||||
*
|
||||
|
@ -43,6 +43,7 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface InterfaceType extends ReferenceType {
|
||||
/**
|
||||
* Gets the interfaces directly extended by this interface.
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class InternalException extends RuntimeException {
|
||||
private static final long serialVersionUID = -9171606393104480607L;
|
||||
private int errorCode;
|
||||
|
@ -34,6 +34,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
@Deprecated
|
||||
public class InvalidCodeIndexException extends RuntimeException {
|
||||
private static final long serialVersionUID = 7416010225133747805L;
|
||||
|
@ -34,6 +34,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
@Deprecated
|
||||
public class InvalidLineNumberException extends RuntimeException {
|
||||
private static final long serialVersionUID = 4048709912372692875L;
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class InvalidStackFrameException extends RuntimeException {
|
||||
private static final long serialVersionUID = -1919378296505827922L;
|
||||
public InvalidStackFrameException() {
|
||||
|
@ -32,16 +32,15 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public class InvalidTypeException extends Exception
|
||||
{
|
||||
@jdk.Exported
|
||||
public class InvalidTypeException extends Exception {
|
||||
private static final long serialVersionUID = 2256667231949650806L;
|
||||
public InvalidTypeException()
|
||||
{
|
||||
|
||||
public InvalidTypeException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public InvalidTypeException(String s)
|
||||
{
|
||||
public InvalidTypeException(String s) {
|
||||
super(s);
|
||||
}
|
||||
}
|
||||
|
@ -32,19 +32,17 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
public class InvocationException extends Exception
|
||||
{
|
||||
@jdk.Exported
|
||||
public class InvocationException extends Exception {
|
||||
private static final long serialVersionUID = 6066780907971918568L;
|
||||
ObjectReference exception;
|
||||
|
||||
public InvocationException(ObjectReference exception)
|
||||
{
|
||||
public InvocationException(ObjectReference exception) {
|
||||
super("Exception occurred in target VM");
|
||||
this.exception = exception;
|
||||
}
|
||||
|
||||
public ObjectReference exception()
|
||||
{
|
||||
public ObjectReference exception() {
|
||||
return exception;
|
||||
}
|
||||
}
|
||||
|
@ -78,6 +78,7 @@ package com.sun.jdi;
|
||||
*
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public final class JDIPermission extends java.security.BasicPermission {
|
||||
private static final long serialVersionUID = -6988461416938786271L;
|
||||
/**
|
||||
|
@ -42,6 +42,7 @@ package com.sun.jdi;
|
||||
* @since 1.3
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public interface LocalVariable extends Mirror, Comparable<LocalVariable> {
|
||||
|
||||
/**
|
||||
|
@ -33,6 +33,7 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Locatable {
|
||||
/**
|
||||
* Returns the {@link Location} of this mirror, if there
|
||||
|
@ -86,6 +86,7 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Location extends Mirror, Comparable<Location> {
|
||||
|
||||
/**
|
||||
|
@ -35,6 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface LongType extends PrimitiveType
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface LongType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface LongValue extends PrimitiveValue, Comparable<LongValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface LongValue extends PrimitiveValue, Comparable<LongValue> {
|
||||
|
||||
/**
|
||||
* Returns this LongValue as a long.
|
||||
*
|
||||
|
@ -39,6 +39,7 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Method extends TypeComponent, Locatable, Comparable<Method> {
|
||||
|
||||
/**
|
||||
|
@ -56,6 +56,7 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Mirror {
|
||||
|
||||
/**
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @since 1.6
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public interface MonitorInfo extends Mirror {
|
||||
|
||||
/**
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class NativeMethodException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 3924951669039469992L;
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class ObjectCollectedException extends RuntimeException {
|
||||
private static final long serialVersionUID = -1928428056197269588L;
|
||||
public ObjectCollectedException() {
|
||||
|
@ -55,8 +55,9 @@ import java.util.Map;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface ObjectReference extends Value
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface ObjectReference extends Value {
|
||||
|
||||
/**
|
||||
* Gets the {@link ReferenceType} that mirrors the type
|
||||
* of this object. The type may be a subclass or implementor of the
|
||||
|
@ -33,6 +33,7 @@ import java.util.List;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface PathSearchingVirtualMachine extends VirtualMachine {
|
||||
/**
|
||||
* Get the class path for this virtual machine.
|
||||
|
@ -37,5 +37,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface PrimitiveType extends Type {
|
||||
}
|
||||
|
@ -35,8 +35,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface PrimitiveValue extends Value
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface PrimitiveValue extends Value {
|
||||
|
||||
/**
|
||||
* Converts this value to a BooleanValue and returns the result
|
||||
* as a boolean.
|
||||
|
@ -77,6 +77,7 @@ import java.util.Map;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ReferenceType
|
||||
extends Type, Comparable<ReferenceType>, Accessible
|
||||
{
|
||||
|
@ -35,5 +35,6 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ShortType extends PrimitiveType {
|
||||
}
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface ShortValue extends PrimitiveValue, Comparable<ShortValue>
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface ShortValue extends PrimitiveValue, Comparable<ShortValue> {
|
||||
|
||||
/**
|
||||
* Returns this ShortValue as a short.
|
||||
*
|
||||
|
@ -58,8 +58,9 @@ import java.util.Map;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface StackFrame extends Mirror, Locatable
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface StackFrame extends Mirror, Locatable {
|
||||
|
||||
/**
|
||||
* Returns the {@link Location} of the current instruction in the frame.
|
||||
* The method for which this frame was created can also be accessed
|
||||
|
@ -35,8 +35,8 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface StringReference extends ObjectReference
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface StringReference extends ObjectReference {
|
||||
/**
|
||||
* Returns the StringReference as a String. The returned string
|
||||
* is the equivalent of the mirrored string, but is an entity in the
|
||||
|
@ -37,8 +37,9 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface ThreadGroupReference extends ObjectReference
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface ThreadGroupReference extends ObjectReference {
|
||||
|
||||
/**
|
||||
* Returns the name of this thread group.
|
||||
*
|
||||
|
@ -36,8 +36,8 @@ import java.util.List;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface ThreadReference extends ObjectReference
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface ThreadReference extends ObjectReference {
|
||||
/** Thread status is unknown */
|
||||
public final int THREAD_STATUS_UNKNOWN =-1;
|
||||
/** Thread has completed execution */
|
||||
|
@ -127,8 +127,9 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
public interface Type extends Mirror
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface Type extends Mirror {
|
||||
|
||||
/**
|
||||
* Returns the JNI-style signature for this type.
|
||||
* <p>
|
||||
|
@ -44,6 +44,7 @@ package com.sun.jdi;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface TypeComponent extends Mirror, Accessible {
|
||||
|
||||
/**
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Jim Holmlund
|
||||
* @since 1.5
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class VMCannotBeModifiedException extends UnsupportedOperationException {
|
||||
private static final long serialVersionUID = -4063879815130164009L;
|
||||
public VMCannotBeModifiedException() {
|
||||
|
@ -33,6 +33,7 @@ package com.sun.jdi;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class VMDisconnectedException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 2892975269768351637L;
|
||||
|
@ -33,6 +33,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class VMMismatchException extends RuntimeException {
|
||||
private static final long serialVersionUID = 289169358790459564L;
|
||||
public VMMismatchException() {
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class VMOutOfMemoryException extends RuntimeException {
|
||||
private static final long serialVersionUID = 71504228548910686L;
|
||||
public VMOutOfMemoryException() {
|
||||
|
@ -168,8 +168,8 @@ package com.sun.jdi;
|
||||
* @since 1.3
|
||||
*/
|
||||
|
||||
public interface Value extends Mirror
|
||||
{
|
||||
@jdk.Exported
|
||||
public interface Value extends Mirror {
|
||||
/**
|
||||
* Returns the run-time type of this value.
|
||||
*
|
||||
|
@ -70,6 +70,7 @@ import java.util.Map;
|
||||
* @author James McIlree
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface VirtualMachine extends Mirror {
|
||||
|
||||
/**
|
||||
|
@ -271,6 +271,7 @@ import java.io.IOException;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface VirtualMachineManager {
|
||||
|
||||
/**
|
||||
|
@ -35,5 +35,6 @@ package com.sun.jdi;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface VoidType extends Type {
|
||||
}
|
||||
|
@ -32,6 +32,7 @@ package com.sun.jdi;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface VoidValue extends Value {
|
||||
|
||||
/**
|
||||
|
@ -35,6 +35,7 @@ import java.io.IOException;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface AttachingConnector extends Connector {
|
||||
/**
|
||||
* Attaches to a running application and and returns a
|
||||
|
@ -45,6 +45,7 @@ import java.io.Serializable;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Connector {
|
||||
/**
|
||||
* Returns a short identifier for the connector. Connector implementors
|
||||
@ -91,6 +92,7 @@ public interface Connector {
|
||||
* {@link Connector.IntegerArgument},
|
||||
* or {@link Connector.SelectedArgument}.
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Argument extends Serializable {
|
||||
/**
|
||||
* Returns a short, unique identifier for the argument.
|
||||
@ -156,6 +158,7 @@ public interface Connector {
|
||||
* whose value is Boolean. Boolean values are represented
|
||||
* by the localized versions of the strings "true" and "false".
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface BooleanArgument extends Argument {
|
||||
/**
|
||||
* Sets the value of the argument.
|
||||
@ -196,6 +199,7 @@ public interface Connector {
|
||||
* whose value is an integer. Integer values are represented
|
||||
* by their corresponding strings.
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface IntegerArgument extends Argument {
|
||||
/**
|
||||
* Sets the value of the argument.
|
||||
@ -257,6 +261,7 @@ public interface Connector {
|
||||
* Specification for and value of a Connector argument,
|
||||
* whose value is a String.
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface StringArgument extends Argument {
|
||||
/**
|
||||
* Performs basic sanity check of argument.
|
||||
@ -269,6 +274,7 @@ public interface Connector {
|
||||
* Specification for and value of a Connector argument,
|
||||
* whose value is a String selected from a list of choices.
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface SelectedArgument extends Argument {
|
||||
/**
|
||||
* Return the possible values for the argument
|
||||
|
@ -36,8 +36,9 @@ import java.util.Collections;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
public class IllegalConnectorArgumentsException extends Exception
|
||||
{
|
||||
@jdk.Exported
|
||||
public class IllegalConnectorArgumentsException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -3042212603611350941L;
|
||||
List<String> names;
|
||||
|
||||
|
@ -35,6 +35,7 @@ import java.io.IOException;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface LaunchingConnector extends Connector {
|
||||
/**
|
||||
* Launches an application and connects to its VM. Properties
|
||||
|
@ -35,6 +35,7 @@ import com.sun.jdi.VirtualMachine;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ListeningConnector extends Connector {
|
||||
/**
|
||||
* Indicates whether this listening connector supports multiple
|
||||
|
@ -42,6 +42,7 @@ import com.sun.jdi.connect.spi.TransportService; // for javadoc
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Transport {
|
||||
/**
|
||||
* Returns a short identifier for the transport.
|
||||
|
@ -54,6 +54,7 @@ package com.sun.jdi.connect;
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class TransportTimeoutException extends java.io.IOException {
|
||||
private static final long serialVersionUID = 4107035242623365074L;
|
||||
/**
|
||||
|
@ -34,8 +34,9 @@ package com.sun.jdi.connect;
|
||||
* @author Gordon Hirsch
|
||||
* @since 1.3
|
||||
*/
|
||||
public class VMStartException extends Exception
|
||||
{
|
||||
@jdk.Exported
|
||||
public class VMStartException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = 6408644824640801020L;
|
||||
Process process;
|
||||
|
||||
|
39
jdk/src/share/classes/com/sun/jdi/connect/package-info.java
Normal file
39
jdk/src/share/classes/com/sun/jdi/connect/package-info.java
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This package defines connections between the virtual machine
|
||||
* using the JDI and the target virtual machine.
|
||||
* In concert with {@link com.sun.jdi.VirtualMachineManager}
|
||||
* it is the mechanism for launching, attaching, etc to
|
||||
* target virtual machines.
|
||||
* <p>
|
||||
* Methods may be added to the interfaces in the JDI packages in future
|
||||
* releases. Existing packages may be renamed if the JDI becomes a standard
|
||||
* extension.
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
package com.sun.jdi.connect;
|
@ -1,43 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>com.sun.jdi.connect description</title>
|
||||
<!--
|
||||
|
||||
Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
|
||||
This code is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License version 2 only, as
|
||||
published by the Free Software Foundation. Oracle designates this
|
||||
particular file as subject to the "Classpath" exception as provided
|
||||
by Oracle in the LICENSE file that accompanied this code.
|
||||
|
||||
This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
version 2 for more details (a copy is included in the LICENSE file that
|
||||
accompanied this code).
|
||||
|
||||
You should have received a copy of the GNU General Public License version
|
||||
2 along with this work; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
or visit www.oracle.com if you need additional information or have any
|
||||
questions.
|
||||
-->
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
|
||||
This package defines
|
||||
connections between the virtual machine
|
||||
using the JDI and the target virtual machine.
|
||||
In concert with {@link com.sun.jdi.VirtualMachineManager}
|
||||
it is the mechanism for launching, attaching, etc to
|
||||
target virtual machines.
|
||||
<p>
|
||||
Methods may be added to the interfaces in the JDI packages in future
|
||||
releases. Existing packages may be renamed if the JDI becomes a standard
|
||||
extension.
|
||||
</body>
|
||||
</html>
|
@ -45,6 +45,7 @@ package com.sun.jdi.connect.spi;
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
@jdk.Exported
|
||||
public class ClosedConnectionException extends java.io.IOException {
|
||||
private static final long serialVersionUID = 3877032124297204774L;
|
||||
/**
|
||||
|
@ -56,6 +56,7 @@ import java.io.IOException;
|
||||
* @since 1.5
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public abstract class Connection {
|
||||
|
||||
/**
|
||||
|
@ -77,6 +77,7 @@ import com.sun.jdi.connect.TransportTimeoutException;
|
||||
* @since 1.5
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public abstract class TransportService {
|
||||
|
||||
/**
|
||||
@ -96,6 +97,7 @@ public abstract class TransportService {
|
||||
/**
|
||||
* The transport service capabilities.
|
||||
*/
|
||||
@jdk.Exported
|
||||
public static abstract class Capabilities {
|
||||
|
||||
/**
|
||||
@ -229,6 +231,7 @@ public abstract class TransportService {
|
||||
* #stopListening stopListening} to stop the transport
|
||||
* service from listening on an address.
|
||||
*/
|
||||
@jdk.Exported
|
||||
public static abstract class ListenKey {
|
||||
|
||||
/**
|
||||
|
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This package comprises the interfaces and classes used to
|
||||
* develop new {@link com.sun.jdi.connect.spi.TransportService}
|
||||
* implementations.
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
package com.sun.jdi.connect.spi;
|
@ -1,35 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>com.sun.jdi.connect.spi description</title>
|
||||
<!--
|
||||
|
||||
Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
|
||||
This code is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License version 2 only, as
|
||||
published by the Free Software Foundation. Oracle designates this
|
||||
particular file as subject to the "Classpath" exception as provided
|
||||
by Oracle in the LICENSE file that accompanied this code.
|
||||
|
||||
This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
version 2 for more details (a copy is included in the LICENSE file that
|
||||
accompanied this code).
|
||||
|
||||
You should have received a copy of the GNU General Public License version
|
||||
2 along with this work; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
or visit www.oracle.com if you need additional information or have any
|
||||
questions.
|
||||
-->
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
This package comprises the interfaces and classes used to
|
||||
develop new {@link com.sun.jdi.connect.spi.TransportService}
|
||||
implementations.
|
||||
</body>
|
||||
</html>
|
@ -37,5 +37,6 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface AccessWatchpointEvent extends WatchpointEvent {
|
||||
}
|
||||
|
@ -47,6 +47,6 @@ import java.util.List;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface BreakpointEvent extends LocatableEvent {
|
||||
|
||||
}
|
||||
|
@ -39,6 +39,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ClassPrepareEvent extends Event {
|
||||
/**
|
||||
* Returns the thread in which this event has occurred.
|
||||
|
@ -39,6 +39,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ClassUnloadEvent extends Event {
|
||||
/**
|
||||
* Returns the name of the class that has been unloaded.
|
||||
|
@ -43,6 +43,7 @@ import com.sun.jdi.request.EventRequest;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface Event extends Mirror {
|
||||
|
||||
/**
|
||||
|
@ -40,6 +40,7 @@ import java.util.Iterator;
|
||||
* @since 1.3
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public interface EventIterator extends Iterator<Event> {
|
||||
|
||||
/**
|
||||
|
@ -57,6 +57,7 @@ import com.sun.jdi.*;
|
||||
* @since 1.3
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public interface EventQueue extends Mirror {
|
||||
|
||||
/**
|
||||
|
@ -127,6 +127,7 @@ import java.util.Set;
|
||||
* @since 1.3
|
||||
*/
|
||||
|
||||
@jdk.Exported
|
||||
public interface EventSet extends Mirror, Set<Event> {
|
||||
|
||||
/**
|
||||
|
@ -44,6 +44,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ExceptionEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -36,6 +36,7 @@ import java.util.List;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface LocatableEvent extends Event, Locatable {
|
||||
|
||||
/**
|
||||
|
@ -43,6 +43,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface MethodEntryEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -40,6 +40,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface MethodExitEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -38,6 +38,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ModificationWatchpointEvent extends WatchpointEvent {
|
||||
|
||||
/**
|
||||
|
@ -40,6 +40,7 @@ import com.sun.jdi.*;
|
||||
* @author Swamy Venkataramanappa
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface MonitorContendedEnterEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -39,6 +39,7 @@ import com.sun.jdi.*;
|
||||
* @author Swamy Venkataramanappa
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface MonitorContendedEnteredEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -38,6 +38,7 @@ import com.sun.jdi.*;
|
||||
* @author Swamy Venkataramanappa
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface MonitorWaitEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -38,6 +38,7 @@ import com.sun.jdi.*;
|
||||
* @author Swamy Venkataramanappa
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface MonitorWaitedEvent extends LocatableEvent {
|
||||
|
||||
/**
|
||||
|
@ -46,6 +46,6 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface StepEvent extends LocatableEvent {
|
||||
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ThreadDeathEvent extends Event {
|
||||
/**
|
||||
* Returns the thread which is terminating.
|
||||
|
@ -52,6 +52,7 @@ import com.sun.jdi.*;
|
||||
* @author Robert Field
|
||||
* @since 1.3
|
||||
*/
|
||||
@jdk.Exported
|
||||
public interface ThreadStartEvent extends Event {
|
||||
/**
|
||||
* Returns the thread which has started.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user