提交 3fc07724 编写于 作者: A alanb

8008662: Add @jdk.Exported to JDK-specific/exported APIs

Reviewed-by: chegar, vinnie, dfuchs, mchung, mullan, darcy
上级 334c0392
...@@ -31,6 +31,7 @@ package com.sun.jdi; ...@@ -31,6 +31,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class AbsentInformationException extends Exception public class AbsentInformationException extends Exception
{ {
private static final long serialVersionUID = 4988939309582416373L; private static final long serialVersionUID = 4988939309582416373L;
......
...@@ -36,6 +36,7 @@ package com.sun.jdi; ...@@ -36,6 +36,7 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Accessible { public interface Accessible {
/** /**
......
...@@ -39,6 +39,7 @@ import java.util.List; ...@@ -39,6 +39,7 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ArrayReference extends ObjectReference { public interface ArrayReference extends ObjectReference {
/** /**
......
...@@ -38,6 +38,7 @@ import java.util.List; ...@@ -38,6 +38,7 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ArrayType extends ReferenceType { public interface ArrayType extends ReferenceType {
/** /**
......
...@@ -35,5 +35,6 @@ package com.sun.jdi; ...@@ -35,5 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface BooleanType extends PrimitiveType { public interface BooleanType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface BooleanValue extends PrimitiveValue @jdk.Exported
{ public interface BooleanValue extends PrimitiveValue {
/** /**
* Returns this BooleanValue as a boolean. * Returns this BooleanValue as a boolean.
* *
......
...@@ -34,6 +34,7 @@ package com.sun.jdi; ...@@ -34,6 +34,7 @@ package com.sun.jdi;
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class Bootstrap extends Object { public class Bootstrap extends Object {
/** /**
......
...@@ -35,6 +35,6 @@ package com.sun.jdi; ...@@ -35,6 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface ByteType extends PrimitiveType @jdk.Exported
{ public interface ByteType extends PrimitiveType {
} }
...@@ -33,8 +33,9 @@ package com.sun.jdi; ...@@ -33,8 +33,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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>. * Returns this ByteValue as a <code>byte</code>.
* *
......
...@@ -35,6 +35,6 @@ package com.sun.jdi; ...@@ -35,6 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface CharType extends PrimitiveType @jdk.Exported
{ public interface CharType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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>. * Returns this CharValue as a <code>char</code>.
* *
......
...@@ -39,6 +39,7 @@ import java.util.List; ...@@ -39,6 +39,7 @@ import java.util.List;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassLoaderReference extends ObjectReference { public interface ClassLoaderReference extends ObjectReference {
/** /**
......
...@@ -67,6 +67,7 @@ package com.sun.jdi; ...@@ -67,6 +67,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class ClassNotLoadedException extends Exception public class ClassNotLoadedException extends Exception
{ {
private static final long serialVersionUID = -6242978768444298722L; private static final long serialVersionUID = -6242978768444298722L;
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class ClassNotPreparedException extends RuntimeException { public class ClassNotPreparedException extends RuntimeException {
private static final long serialVersionUID = -6120698967144079642L; private static final long serialVersionUID = -6120698967144079642L;
public ClassNotPreparedException() public ClassNotPreparedException()
......
...@@ -35,6 +35,7 @@ package com.sun.jdi; ...@@ -35,6 +35,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassObjectReference extends ObjectReference { public interface ClassObjectReference extends ObjectReference {
/** /**
......
...@@ -41,6 +41,7 @@ import java.util.List; ...@@ -41,6 +41,7 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassType extends ReferenceType { public interface ClassType extends ReferenceType {
/** /**
* Gets the superclass of this class. * Gets the superclass of this class.
......
...@@ -35,6 +35,6 @@ package com.sun.jdi; ...@@ -35,6 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface DoubleType extends PrimitiveType @jdk.Exported
{ public interface DoubleType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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>. * Returns this DoubleValue as a <code>double</code>.
* *
......
...@@ -38,6 +38,7 @@ package com.sun.jdi; ...@@ -38,6 +38,7 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Field extends TypeComponent, Comparable<Field> { public interface Field extends TypeComponent, Comparable<Field> {
/** /**
......
...@@ -35,6 +35,6 @@ package com.sun.jdi; ...@@ -35,6 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface FloatType extends PrimitiveType @jdk.Exported
{ public interface FloatType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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. * Returns this FloatValue as a float.
* *
......
...@@ -32,16 +32,15 @@ package com.sun.jdi; ...@@ -32,16 +32,15 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
public class IncompatibleThreadStateException extends Exception @jdk.Exported
{ public class IncompatibleThreadStateException extends Exception {
private static final long serialVersionUID = 6199174323414551389L; private static final long serialVersionUID = 6199174323414551389L;
public IncompatibleThreadStateException()
{ public IncompatibleThreadStateException() {
super(); super();
} }
public IncompatibleThreadStateException(String s) public IncompatibleThreadStateException(String s) {
{
super(s); super(s);
} }
} }
...@@ -34,6 +34,7 @@ package com.sun.jdi; ...@@ -34,6 +34,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class InconsistentDebugInfoException extends RuntimeException { public class InconsistentDebugInfoException extends RuntimeException {
private static final long serialVersionUID = 7964236415376861808L; private static final long serialVersionUID = 7964236415376861808L;
public InconsistentDebugInfoException() { public InconsistentDebugInfoException() {
......
...@@ -35,6 +35,6 @@ package com.sun.jdi; ...@@ -35,6 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface IntegerType extends PrimitiveType @jdk.Exported
{ public interface IntegerType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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. * Returns this IntegerValue as an int.
* *
......
...@@ -43,6 +43,7 @@ import java.util.List; ...@@ -43,6 +43,7 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface InterfaceType extends ReferenceType { public interface InterfaceType extends ReferenceType {
/** /**
* Gets the interfaces directly extended by this interface. * Gets the interfaces directly extended by this interface.
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class InternalException extends RuntimeException { public class InternalException extends RuntimeException {
private static final long serialVersionUID = -9171606393104480607L; private static final long serialVersionUID = -9171606393104480607L;
private int errorCode; private int errorCode;
......
...@@ -34,6 +34,7 @@ package com.sun.jdi; ...@@ -34,6 +34,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
@Deprecated @Deprecated
public class InvalidCodeIndexException extends RuntimeException { public class InvalidCodeIndexException extends RuntimeException {
private static final long serialVersionUID = 7416010225133747805L; private static final long serialVersionUID = 7416010225133747805L;
......
...@@ -34,6 +34,7 @@ package com.sun.jdi; ...@@ -34,6 +34,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
@Deprecated @Deprecated
public class InvalidLineNumberException extends RuntimeException { public class InvalidLineNumberException extends RuntimeException {
private static final long serialVersionUID = 4048709912372692875L; private static final long serialVersionUID = 4048709912372692875L;
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class InvalidStackFrameException extends RuntimeException { public class InvalidStackFrameException extends RuntimeException {
private static final long serialVersionUID = -1919378296505827922L; private static final long serialVersionUID = -1919378296505827922L;
public InvalidStackFrameException() { public InvalidStackFrameException() {
......
...@@ -32,16 +32,15 @@ package com.sun.jdi; ...@@ -32,16 +32,15 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public class InvalidTypeException extends Exception @jdk.Exported
{ public class InvalidTypeException extends Exception {
private static final long serialVersionUID = 2256667231949650806L; private static final long serialVersionUID = 2256667231949650806L;
public InvalidTypeException()
{ public InvalidTypeException() {
super(); super();
} }
public InvalidTypeException(String s) public InvalidTypeException(String s) {
{
super(s); super(s);
} }
} }
...@@ -32,19 +32,17 @@ package com.sun.jdi; ...@@ -32,19 +32,17 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
public class InvocationException extends Exception @jdk.Exported
{ public class InvocationException extends Exception {
private static final long serialVersionUID = 6066780907971918568L; private static final long serialVersionUID = 6066780907971918568L;
ObjectReference exception; ObjectReference exception;
public InvocationException(ObjectReference exception) public InvocationException(ObjectReference exception) {
{
super("Exception occurred in target VM"); super("Exception occurred in target VM");
this.exception = exception; this.exception = exception;
} }
public ObjectReference exception() public ObjectReference exception() {
{
return exception; return exception;
} }
} }
...@@ -78,6 +78,7 @@ package com.sun.jdi; ...@@ -78,6 +78,7 @@ package com.sun.jdi;
* *
*/ */
@jdk.Exported
public final class JDIPermission extends java.security.BasicPermission { public final class JDIPermission extends java.security.BasicPermission {
private static final long serialVersionUID = -6988461416938786271L; private static final long serialVersionUID = -6988461416938786271L;
/** /**
......
...@@ -42,6 +42,7 @@ package com.sun.jdi; ...@@ -42,6 +42,7 @@ package com.sun.jdi;
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface LocalVariable extends Mirror, Comparable<LocalVariable> { public interface LocalVariable extends Mirror, Comparable<LocalVariable> {
/** /**
......
...@@ -33,6 +33,7 @@ package com.sun.jdi; ...@@ -33,6 +33,7 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Locatable { public interface Locatable {
/** /**
* Returns the {@link Location} of this mirror, if there * Returns the {@link Location} of this mirror, if there
......
...@@ -86,6 +86,7 @@ import java.util.List; ...@@ -86,6 +86,7 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Location extends Mirror, Comparable<Location> { public interface Location extends Mirror, Comparable<Location> {
/** /**
......
...@@ -35,6 +35,6 @@ package com.sun.jdi; ...@@ -35,6 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface LongType extends PrimitiveType @jdk.Exported
{ public interface LongType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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. * Returns this LongValue as a long.
* *
......
...@@ -39,6 +39,7 @@ import java.util.List; ...@@ -39,6 +39,7 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Method extends TypeComponent, Locatable, Comparable<Method> { public interface Method extends TypeComponent, Locatable, Comparable<Method> {
/** /**
......
...@@ -56,6 +56,7 @@ package com.sun.jdi; ...@@ -56,6 +56,7 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Mirror { public interface Mirror {
/** /**
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorInfo extends Mirror { public interface MonitorInfo extends Mirror {
/** /**
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class NativeMethodException extends RuntimeException { public class NativeMethodException extends RuntimeException {
private static final long serialVersionUID = 3924951669039469992L; private static final long serialVersionUID = 3924951669039469992L;
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class ObjectCollectedException extends RuntimeException { public class ObjectCollectedException extends RuntimeException {
private static final long serialVersionUID = -1928428056197269588L; private static final long serialVersionUID = -1928428056197269588L;
public ObjectCollectedException() { public ObjectCollectedException() {
......
...@@ -55,8 +55,9 @@ import java.util.Map; ...@@ -55,8 +55,9 @@ import java.util.Map;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface ObjectReference extends Value @jdk.Exported
{ public interface ObjectReference extends Value {
/** /**
* Gets the {@link ReferenceType} that mirrors the type * Gets the {@link ReferenceType} that mirrors the type
* of this object. The type may be a subclass or implementor of the * of this object. The type may be a subclass or implementor of the
......
...@@ -33,6 +33,7 @@ import java.util.List; ...@@ -33,6 +33,7 @@ import java.util.List;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface PathSearchingVirtualMachine extends VirtualMachine { public interface PathSearchingVirtualMachine extends VirtualMachine {
/** /**
* Get the class path for this virtual machine. * Get the class path for this virtual machine.
......
...@@ -37,5 +37,6 @@ package com.sun.jdi; ...@@ -37,5 +37,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface PrimitiveType extends Type { public interface PrimitiveType extends Type {
} }
...@@ -35,8 +35,9 @@ package com.sun.jdi; ...@@ -35,8 +35,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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 * Converts this value to a BooleanValue and returns the result
* as a boolean. * as a boolean.
......
...@@ -77,6 +77,7 @@ import java.util.Map; ...@@ -77,6 +77,7 @@ import java.util.Map;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ReferenceType public interface ReferenceType
extends Type, Comparable<ReferenceType>, Accessible extends Type, Comparable<ReferenceType>, Accessible
{ {
......
...@@ -35,5 +35,6 @@ package com.sun.jdi; ...@@ -35,5 +35,6 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ShortType extends PrimitiveType { public interface ShortType extends PrimitiveType {
} }
...@@ -34,8 +34,9 @@ package com.sun.jdi; ...@@ -34,8 +34,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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. * Returns this ShortValue as a short.
* *
......
...@@ -58,8 +58,9 @@ import java.util.Map; ...@@ -58,8 +58,9 @@ import java.util.Map;
* @author James McIlree * @author James McIlree
* @since 1.3 * @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. * Returns the {@link Location} of the current instruction in the frame.
* The method for which this frame was created can also be accessed * The method for which this frame was created can also be accessed
......
...@@ -35,8 +35,8 @@ package com.sun.jdi; ...@@ -35,8 +35,8 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface StringReference extends ObjectReference @jdk.Exported
{ public interface StringReference extends ObjectReference {
/** /**
* Returns the StringReference as a String. The returned string * Returns the StringReference as a String. The returned string
* is the equivalent of the mirrored string, but is an entity in the * is the equivalent of the mirrored string, but is an entity in the
......
...@@ -37,8 +37,9 @@ import java.util.List; ...@@ -37,8 +37,9 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface ThreadGroupReference extends ObjectReference @jdk.Exported
{ public interface ThreadGroupReference extends ObjectReference {
/** /**
* Returns the name of this thread group. * Returns the name of this thread group.
* *
......
...@@ -36,8 +36,8 @@ import java.util.List; ...@@ -36,8 +36,8 @@ import java.util.List;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface ThreadReference extends ObjectReference @jdk.Exported
{ public interface ThreadReference extends ObjectReference {
/** Thread status is unknown */ /** Thread status is unknown */
public final int THREAD_STATUS_UNKNOWN =-1; public final int THREAD_STATUS_UNKNOWN =-1;
/** Thread has completed execution */ /** Thread has completed execution */
......
...@@ -127,8 +127,9 @@ package com.sun.jdi; ...@@ -127,8 +127,9 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
public interface Type extends Mirror @jdk.Exported
{ public interface Type extends Mirror {
/** /**
* Returns the JNI-style signature for this type. * Returns the JNI-style signature for this type.
* <p> * <p>
......
...@@ -44,6 +44,7 @@ package com.sun.jdi; ...@@ -44,6 +44,7 @@ package com.sun.jdi;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface TypeComponent extends Mirror, Accessible { public interface TypeComponent extends Mirror, Accessible {
/** /**
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Jim Holmlund * @author Jim Holmlund
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public class VMCannotBeModifiedException extends UnsupportedOperationException { public class VMCannotBeModifiedException extends UnsupportedOperationException {
private static final long serialVersionUID = -4063879815130164009L; private static final long serialVersionUID = -4063879815130164009L;
public VMCannotBeModifiedException() { public VMCannotBeModifiedException() {
......
...@@ -33,6 +33,7 @@ package com.sun.jdi; ...@@ -33,6 +33,7 @@ package com.sun.jdi;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class VMDisconnectedException extends RuntimeException { public class VMDisconnectedException extends RuntimeException {
private static final long serialVersionUID = 2892975269768351637L; private static final long serialVersionUID = 2892975269768351637L;
......
...@@ -33,6 +33,7 @@ package com.sun.jdi; ...@@ -33,6 +33,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class VMMismatchException extends RuntimeException { public class VMMismatchException extends RuntimeException {
private static final long serialVersionUID = 289169358790459564L; private static final long serialVersionUID = 289169358790459564L;
public VMMismatchException() { public VMMismatchException() {
......
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class VMOutOfMemoryException extends RuntimeException { public class VMOutOfMemoryException extends RuntimeException {
private static final long serialVersionUID = 71504228548910686L; private static final long serialVersionUID = 71504228548910686L;
public VMOutOfMemoryException() { public VMOutOfMemoryException() {
......
...@@ -168,8 +168,8 @@ package com.sun.jdi; ...@@ -168,8 +168,8 @@ package com.sun.jdi;
* @since 1.3 * @since 1.3
*/ */
public interface Value extends Mirror @jdk.Exported
{ public interface Value extends Mirror {
/** /**
* Returns the run-time type of this value. * Returns the run-time type of this value.
* *
......
...@@ -70,6 +70,7 @@ import java.util.Map; ...@@ -70,6 +70,7 @@ import java.util.Map;
* @author James McIlree * @author James McIlree
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VirtualMachine extends Mirror { public interface VirtualMachine extends Mirror {
/** /**
......
...@@ -271,6 +271,7 @@ import java.io.IOException; ...@@ -271,6 +271,7 @@ import java.io.IOException;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VirtualMachineManager { public interface VirtualMachineManager {
/** /**
......
...@@ -35,5 +35,6 @@ package com.sun.jdi; ...@@ -35,5 +35,6 @@ package com.sun.jdi;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VoidType extends Type { public interface VoidType extends Type {
} }
...@@ -32,6 +32,7 @@ package com.sun.jdi; ...@@ -32,6 +32,7 @@ package com.sun.jdi;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VoidValue extends Value { public interface VoidValue extends Value {
/** /**
......
...@@ -35,6 +35,7 @@ import java.io.IOException; ...@@ -35,6 +35,7 @@ import java.io.IOException;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface AttachingConnector extends Connector { public interface AttachingConnector extends Connector {
/** /**
* Attaches to a running application and and returns a * Attaches to a running application and and returns a
......
...@@ -45,6 +45,7 @@ import java.io.Serializable; ...@@ -45,6 +45,7 @@ import java.io.Serializable;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Connector { public interface Connector {
/** /**
* Returns a short identifier for the connector. Connector implementors * Returns a short identifier for the connector. Connector implementors
...@@ -91,6 +92,7 @@ public interface Connector { ...@@ -91,6 +92,7 @@ public interface Connector {
* {@link Connector.IntegerArgument}, * {@link Connector.IntegerArgument},
* or {@link Connector.SelectedArgument}. * or {@link Connector.SelectedArgument}.
*/ */
@jdk.Exported
public interface Argument extends Serializable { public interface Argument extends Serializable {
/** /**
* Returns a short, unique identifier for the argument. * Returns a short, unique identifier for the argument.
...@@ -156,6 +158,7 @@ public interface Connector { ...@@ -156,6 +158,7 @@ public interface Connector {
* whose value is Boolean. Boolean values are represented * whose value is Boolean. Boolean values are represented
* by the localized versions of the strings "true" and "false". * by the localized versions of the strings "true" and "false".
*/ */
@jdk.Exported
public interface BooleanArgument extends Argument { public interface BooleanArgument extends Argument {
/** /**
* Sets the value of the argument. * Sets the value of the argument.
...@@ -196,6 +199,7 @@ public interface Connector { ...@@ -196,6 +199,7 @@ public interface Connector {
* whose value is an integer. Integer values are represented * whose value is an integer. Integer values are represented
* by their corresponding strings. * by their corresponding strings.
*/ */
@jdk.Exported
public interface IntegerArgument extends Argument { public interface IntegerArgument extends Argument {
/** /**
* Sets the value of the argument. * Sets the value of the argument.
...@@ -257,6 +261,7 @@ public interface Connector { ...@@ -257,6 +261,7 @@ public interface Connector {
* Specification for and value of a Connector argument, * Specification for and value of a Connector argument,
* whose value is a String. * whose value is a String.
*/ */
@jdk.Exported
public interface StringArgument extends Argument { public interface StringArgument extends Argument {
/** /**
* Performs basic sanity check of argument. * Performs basic sanity check of argument.
...@@ -269,6 +274,7 @@ public interface Connector { ...@@ -269,6 +274,7 @@ public interface Connector {
* Specification for and value of a Connector argument, * Specification for and value of a Connector argument,
* whose value is a String selected from a list of choices. * whose value is a String selected from a list of choices.
*/ */
@jdk.Exported
public interface SelectedArgument extends Argument { public interface SelectedArgument extends Argument {
/** /**
* Return the possible values for the argument * Return the possible values for the argument
......
...@@ -36,8 +36,9 @@ import java.util.Collections; ...@@ -36,8 +36,9 @@ import java.util.Collections;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
public class IllegalConnectorArgumentsException extends Exception @jdk.Exported
{ public class IllegalConnectorArgumentsException extends Exception {
private static final long serialVersionUID = -3042212603611350941L; private static final long serialVersionUID = -3042212603611350941L;
List<String> names; List<String> names;
......
...@@ -35,6 +35,7 @@ import java.io.IOException; ...@@ -35,6 +35,7 @@ import java.io.IOException;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface LaunchingConnector extends Connector { public interface LaunchingConnector extends Connector {
/** /**
* Launches an application and connects to its VM. Properties * Launches an application and connects to its VM. Properties
......
...@@ -35,6 +35,7 @@ import com.sun.jdi.VirtualMachine; ...@@ -35,6 +35,7 @@ import com.sun.jdi.VirtualMachine;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ListeningConnector extends Connector { public interface ListeningConnector extends Connector {
/** /**
* Indicates whether this listening connector supports multiple * Indicates whether this listening connector supports multiple
......
...@@ -42,6 +42,7 @@ import com.sun.jdi.connect.spi.TransportService; // for javadoc ...@@ -42,6 +42,7 @@ import com.sun.jdi.connect.spi.TransportService; // for javadoc
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Transport { public interface Transport {
/** /**
* Returns a short identifier for the transport. * Returns a short identifier for the transport.
......
...@@ -54,6 +54,7 @@ package com.sun.jdi.connect; ...@@ -54,6 +54,7 @@ package com.sun.jdi.connect;
* *
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public class TransportTimeoutException extends java.io.IOException { public class TransportTimeoutException extends java.io.IOException {
private static final long serialVersionUID = 4107035242623365074L; private static final long serialVersionUID = 4107035242623365074L;
/** /**
......
...@@ -34,8 +34,9 @@ package com.sun.jdi.connect; ...@@ -34,8 +34,9 @@ package com.sun.jdi.connect;
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
*/ */
public class VMStartException extends Exception @jdk.Exported
{ public class VMStartException extends Exception {
private static final long serialVersionUID = 6408644824640801020L; private static final long serialVersionUID = 6408644824640801020L;
Process process; Process process;
......
/*
* 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;
<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; ...@@ -45,6 +45,7 @@ package com.sun.jdi.connect.spi;
* *
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public class ClosedConnectionException extends java.io.IOException { public class ClosedConnectionException extends java.io.IOException {
private static final long serialVersionUID = 3877032124297204774L; private static final long serialVersionUID = 3877032124297204774L;
/** /**
......
...@@ -56,6 +56,7 @@ import java.io.IOException; ...@@ -56,6 +56,7 @@ import java.io.IOException;
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public abstract class Connection { public abstract class Connection {
/** /**
......
...@@ -77,6 +77,7 @@ import com.sun.jdi.connect.TransportTimeoutException; ...@@ -77,6 +77,7 @@ import com.sun.jdi.connect.TransportTimeoutException;
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public abstract class TransportService { public abstract class TransportService {
/** /**
...@@ -96,6 +97,7 @@ public abstract class TransportService { ...@@ -96,6 +97,7 @@ public abstract class TransportService {
/** /**
* The transport service capabilities. * The transport service capabilities.
*/ */
@jdk.Exported
public static abstract class Capabilities { public static abstract class Capabilities {
/** /**
...@@ -229,6 +231,7 @@ public abstract class TransportService { ...@@ -229,6 +231,7 @@ public abstract class TransportService {
* #stopListening stopListening} to stop the transport * #stopListening stopListening} to stop the transport
* service from listening on an address. * service from listening on an address.
*/ */
@jdk.Exported
public static abstract class ListenKey { public static abstract class ListenKey {
/** /**
......
/*
* 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;
<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.*; ...@@ -37,5 +37,6 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface AccessWatchpointEvent extends WatchpointEvent { public interface AccessWatchpointEvent extends WatchpointEvent {
} }
...@@ -47,6 +47,6 @@ import java.util.List; ...@@ -47,6 +47,6 @@ import java.util.List;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface BreakpointEvent extends LocatableEvent { public interface BreakpointEvent extends LocatableEvent {
} }
...@@ -39,6 +39,7 @@ import com.sun.jdi.*; ...@@ -39,6 +39,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassPrepareEvent extends Event { public interface ClassPrepareEvent extends Event {
/** /**
* Returns the thread in which this event has occurred. * Returns the thread in which this event has occurred.
......
...@@ -39,6 +39,7 @@ import com.sun.jdi.*; ...@@ -39,6 +39,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassUnloadEvent extends Event { public interface ClassUnloadEvent extends Event {
/** /**
* Returns the name of the class that has been unloaded. * Returns the name of the class that has been unloaded.
......
...@@ -43,6 +43,7 @@ import com.sun.jdi.request.EventRequest; ...@@ -43,6 +43,7 @@ import com.sun.jdi.request.EventRequest;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface Event extends Mirror { public interface Event extends Mirror {
/** /**
......
...@@ -40,6 +40,7 @@ import java.util.Iterator; ...@@ -40,6 +40,7 @@ import java.util.Iterator;
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface EventIterator extends Iterator<Event> { public interface EventIterator extends Iterator<Event> {
/** /**
......
...@@ -57,6 +57,7 @@ import com.sun.jdi.*; ...@@ -57,6 +57,7 @@ import com.sun.jdi.*;
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface EventQueue extends Mirror { public interface EventQueue extends Mirror {
/** /**
......
...@@ -127,6 +127,7 @@ import java.util.Set; ...@@ -127,6 +127,7 @@ import java.util.Set;
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface EventSet extends Mirror, Set<Event> { public interface EventSet extends Mirror, Set<Event> {
/** /**
......
...@@ -44,6 +44,7 @@ import com.sun.jdi.*; ...@@ -44,6 +44,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ExceptionEvent extends LocatableEvent { public interface ExceptionEvent extends LocatableEvent {
/** /**
......
...@@ -36,6 +36,7 @@ import java.util.List; ...@@ -36,6 +36,7 @@ import java.util.List;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface LocatableEvent extends Event, Locatable { public interface LocatableEvent extends Event, Locatable {
/** /**
......
...@@ -43,6 +43,7 @@ import com.sun.jdi.*; ...@@ -43,6 +43,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface MethodEntryEvent extends LocatableEvent { public interface MethodEntryEvent extends LocatableEvent {
/** /**
......
...@@ -40,6 +40,7 @@ import com.sun.jdi.*; ...@@ -40,6 +40,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface MethodExitEvent extends LocatableEvent { public interface MethodExitEvent extends LocatableEvent {
/** /**
......
...@@ -38,6 +38,7 @@ import com.sun.jdi.*; ...@@ -38,6 +38,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ModificationWatchpointEvent extends WatchpointEvent { public interface ModificationWatchpointEvent extends WatchpointEvent {
/** /**
......
...@@ -40,6 +40,7 @@ import com.sun.jdi.*; ...@@ -40,6 +40,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorContendedEnterEvent extends LocatableEvent { public interface MonitorContendedEnterEvent extends LocatableEvent {
/** /**
......
...@@ -39,6 +39,7 @@ import com.sun.jdi.*; ...@@ -39,6 +39,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorContendedEnteredEvent extends LocatableEvent { public interface MonitorContendedEnteredEvent extends LocatableEvent {
/** /**
......
...@@ -38,6 +38,7 @@ import com.sun.jdi.*; ...@@ -38,6 +38,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorWaitEvent extends LocatableEvent { public interface MonitorWaitEvent extends LocatableEvent {
/** /**
......
...@@ -38,6 +38,7 @@ import com.sun.jdi.*; ...@@ -38,6 +38,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorWaitedEvent extends LocatableEvent { public interface MonitorWaitedEvent extends LocatableEvent {
/** /**
......
...@@ -46,6 +46,6 @@ import com.sun.jdi.*; ...@@ -46,6 +46,6 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface StepEvent extends LocatableEvent { public interface StepEvent extends LocatableEvent {
} }
...@@ -45,6 +45,7 @@ import com.sun.jdi.*; ...@@ -45,6 +45,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ThreadDeathEvent extends Event { public interface ThreadDeathEvent extends Event {
/** /**
* Returns the thread which is terminating. * Returns the thread which is terminating.
......
...@@ -52,6 +52,7 @@ import com.sun.jdi.*; ...@@ -52,6 +52,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ThreadStartEvent extends Event { public interface ThreadStartEvent extends Event {
/** /**
* Returns the thread which has started. * Returns the thread which has started.
......
...@@ -68,5 +68,6 @@ import com.sun.jdi.*; ...@@ -68,5 +68,6 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VMDeathEvent extends Event { public interface VMDeathEvent extends Event {
} }
...@@ -52,5 +52,6 @@ import com.sun.jdi.*; ...@@ -52,5 +52,6 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VMDisconnectEvent extends Event { public interface VMDisconnectEvent extends Event {
} }
...@@ -43,6 +43,7 @@ import com.sun.jdi.*; ...@@ -43,6 +43,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface VMStartEvent extends Event { public interface VMStartEvent extends Event {
/** /**
* Returns the initial thread of the VM which has started. * Returns the initial thread of the VM which has started.
......
...@@ -37,6 +37,7 @@ import com.sun.jdi.*; ...@@ -37,6 +37,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface WatchpointEvent extends LocatableEvent { public interface WatchpointEvent extends LocatableEvent {
/** /**
......
/*
* 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 JDI events and event processing.
* An {@link com.sun.jdi.event.Event} is always a member of an
* {@link com.sun.jdi.event.EventSet}, which
* is retrieved from the {@link com.sun.jdi.event.EventQueue}.
* Examples of Events include
* {@link com.sun.jdi.event.BreakpointEvent "breakpoints events"},
* {@link com.sun.jdi.event.ThreadStartEvent "thread creation events"} and
* {@link com.sun.jdi.event.VMDeathEvent "virtual machine death event"}.
* With the exception
* of termination events, all events received must be requested with an
* {@link com.sun.jdi.request.EventRequest "EventRequest"}. The
* {@link com.sun.jdi.request} package defines event requests and event
* request management.
* <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.event;
<html>
<head>
<title>com.sun.jdi.event 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 JDI events and event processing.
An {@link com.sun.jdi.event.Event} is always a member of an
{@link com.sun.jdi.event.EventSet}, which
is retrieved from the {@link com.sun.jdi.event.EventQueue}.
Examples of Events include
{@link com.sun.jdi.event.BreakpointEvent "breakpoints events"},
{@link com.sun.jdi.event.ThreadStartEvent "thread creation events"} and
{@link com.sun.jdi.event.VMDeathEvent "virtual machine death event"}.
With the exception
of termination events, all events received must be requested with an
{@link com.sun.jdi.request.EventRequest "EventRequest"}. The
{@link com.sun.jdi.request} package defines event requests and event
request management.
<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>
/*
* 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 is the core package of the Java Debug
* Interface (JDI), it defines mirrors for values, types, and the target
* VirtualMachine itself - as well bootstrapping facilities.
* {@link com.sun.jdi.VirtualMachine} mirrors the target virtual machine and
* is the origin of all information provided by the JDI. A VirtualMachine
* is typically created by using the
* {@link com.sun.jdi.VirtualMachineManager} to create
* a connection to the target virtual machine (see the
* {@link com.sun.jdi.connect} package). In turn the
* {@link com.sun.jdi.VirtualMachineManager} is typically created by calling
* {@link com.sun.jdi.Bootstrap#virtualMachineManager()}.
* <p>
* Most of the methods within this package can throw the unchecked exception
* {@link com.sun.jdi.VMDisconnectedException}.
* <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;
<html>
<head>
<title>com.sun.jdi package description</title>
<!--
Copyright (c) 1998, 2000, 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 is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
{@link com.sun.jdi.VirtualMachine} mirrors the target virtual machine and
is the origin of all information provided by the JDI. A VirtualMachine
is typically created by using the
{@link com.sun.jdi.VirtualMachineManager} to create
a connection to the target virtual machine (see the
{@link com.sun.jdi.connect} package). In turn the
{@link com.sun.jdi.VirtualMachineManager} is typically created by calling
{@link com.sun.jdi.Bootstrap#virtualMachineManager()}.
<p>
Most of the methods within this package can throw the unchecked exception
{@link com.sun.jdi.VMDisconnectedException}.
<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>
...@@ -56,5 +56,6 @@ import com.sun.jdi.*; ...@@ -56,5 +56,6 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface AccessWatchpointRequest extends WatchpointRequest { public interface AccessWatchpointRequest extends WatchpointRequest {
} }
...@@ -46,6 +46,7 @@ import com.sun.jdi.*; ...@@ -46,6 +46,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface BreakpointRequest extends EventRequest, Locatable { public interface BreakpointRequest extends EventRequest, Locatable {
/** /**
......
...@@ -47,6 +47,7 @@ import com.sun.jdi.*; ...@@ -47,6 +47,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassPrepareRequest extends EventRequest { public interface ClassPrepareRequest extends EventRequest {
/** /**
......
...@@ -46,6 +46,7 @@ import com.sun.jdi.*; ...@@ -46,6 +46,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ClassUnloadRequest extends EventRequest { public interface ClassUnloadRequest extends EventRequest {
/** /**
......
...@@ -31,16 +31,15 @@ package com.sun.jdi.request; ...@@ -31,16 +31,15 @@ package com.sun.jdi.request;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
public class DuplicateRequestException extends RuntimeException @jdk.Exported
{ public class DuplicateRequestException extends RuntimeException {
private static final long serialVersionUID = -3719784920313411060L; private static final long serialVersionUID = -3719784920313411060L;
public DuplicateRequestException()
{ public DuplicateRequestException() {
super(); super();
} }
public DuplicateRequestException(String s) public DuplicateRequestException(String s) {
{
super(s); super(s);
} }
} }
...@@ -78,6 +78,7 @@ import com.sun.jdi.*; ...@@ -78,6 +78,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface EventRequest extends Mirror { public interface EventRequest extends Mirror {
/** /**
......
...@@ -44,6 +44,7 @@ import java.util.List; ...@@ -44,6 +44,7 @@ import java.util.List;
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface EventRequestManager extends Mirror { public interface EventRequestManager extends Mirror {
/** /**
......
...@@ -43,6 +43,7 @@ import com.sun.jdi.*; ...@@ -43,6 +43,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ExceptionRequest extends EventRequest { public interface ExceptionRequest extends EventRequest {
/** /**
......
...@@ -35,6 +35,7 @@ package com.sun.jdi.request; ...@@ -35,6 +35,7 @@ package com.sun.jdi.request;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public class InvalidRequestStateException extends RuntimeException { public class InvalidRequestStateException extends RuntimeException {
private static final long serialVersionUID = -3774632428543322148L; private static final long serialVersionUID = -3774632428543322148L;
public InvalidRequestStateException() public InvalidRequestStateException()
......
...@@ -44,6 +44,7 @@ import com.sun.jdi.*; ...@@ -44,6 +44,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface MethodEntryRequest extends EventRequest { public interface MethodEntryRequest extends EventRequest {
/** /**
......
...@@ -44,6 +44,7 @@ import com.sun.jdi.*; ...@@ -44,6 +44,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface MethodExitRequest extends EventRequest { public interface MethodExitRequest extends EventRequest {
/** /**
......
...@@ -55,5 +55,6 @@ import com.sun.jdi.*; ...@@ -55,5 +55,6 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ModificationWatchpointRequest extends WatchpointRequest { public interface ModificationWatchpointRequest extends WatchpointRequest {
} }
...@@ -45,6 +45,7 @@ import com.sun.jdi.*; ...@@ -45,6 +45,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorContendedEnterRequest extends EventRequest { public interface MonitorContendedEnterRequest extends EventRequest {
/** /**
......
...@@ -45,6 +45,7 @@ import com.sun.jdi.*; ...@@ -45,6 +45,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorContendedEnteredRequest extends EventRequest { public interface MonitorContendedEnteredRequest extends EventRequest {
/** /**
......
...@@ -45,6 +45,7 @@ import com.sun.jdi.*; ...@@ -45,6 +45,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorWaitRequest extends EventRequest { public interface MonitorWaitRequest extends EventRequest {
/** /**
......
...@@ -45,6 +45,7 @@ import com.sun.jdi.*; ...@@ -45,6 +45,7 @@ import com.sun.jdi.*;
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface MonitorWaitedRequest extends EventRequest { public interface MonitorWaitedRequest extends EventRequest {
/** /**
......
...@@ -43,6 +43,7 @@ import com.sun.jdi.*; ...@@ -43,6 +43,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface StepRequest extends EventRequest { public interface StepRequest extends EventRequest {
/** Step into any newly pushed frames */ /** Step into any newly pushed frames */
......
...@@ -44,6 +44,7 @@ import com.sun.jdi.*; ...@@ -44,6 +44,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ThreadDeathRequest extends EventRequest { public interface ThreadDeathRequest extends EventRequest {
/** /**
......
...@@ -44,6 +44,7 @@ import com.sun.jdi.*; ...@@ -44,6 +44,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface ThreadStartRequest extends EventRequest { public interface ThreadStartRequest extends EventRequest {
/** /**
......
...@@ -56,6 +56,7 @@ import com.sun.jdi.*; ...@@ -56,6 +56,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.4 * @since 1.4
*/ */
@jdk.Exported
public interface VMDeathRequest extends EventRequest { public interface VMDeathRequest extends EventRequest {
} }
...@@ -38,6 +38,7 @@ import com.sun.jdi.*; ...@@ -38,6 +38,7 @@ import com.sun.jdi.*;
* @author Robert Field * @author Robert Field
* @since 1.3 * @since 1.3
*/ */
@jdk.Exported
public interface WatchpointRequest extends EventRequest { public interface WatchpointRequest extends EventRequest {
/** /**
......
/*
* 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 is used to request that a JDI
* event be sent under specified conditions.
* With the exception of termination events, which are
* always sent, there is one kind of
* {@link com.sun.jdi.request.EventRequest} for each kind of
* {@link com.sun.jdi.event.Event Event} - for example,
* {@link com.sun.jdi.request.BreakpointRequest} is used to request a
* {@link com.sun.jdi.event.BreakpointEvent BreakpointEvent}.
* Event requests are created by the
* {@link com.sun.jdi.request.EventRequestManager}.
* Events and event processing are defined in the
* {@link com.sun.jdi.event} package.
* <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.request;
<html>
<head>
<title>com.sun.jdi.request 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 is used to request that a JDI
event be sent under specified conditions.
With the exception of termination events, which are
always sent, there is one kind of
{@link com.sun.jdi.request.EventRequest} for each kind of
{@link com.sun.jdi.event.Event Event} - for example,
{@link com.sun.jdi.request.BreakpointRequest} is used to request a
{@link com.sun.jdi.event.BreakpointEvent BreakpointEvent}.
Event requests are created by the
{@link com.sun.jdi.request.EventRequestManager}.
Events and event processing are defined in the
{@link com.sun.jdi.event} package.
<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>
...@@ -85,6 +85,7 @@ import sun.management.GarbageCollectionNotifInfoCompositeData; ...@@ -85,6 +85,7 @@ import sun.management.GarbageCollectionNotifInfoCompositeData;
* </ul> * </ul>
**/ **/
@jdk.Exported
public class GarbageCollectionNotificationInfo implements CompositeDataView { public class GarbageCollectionNotificationInfo implements CompositeDataView {
private final String gcName; private final String gcName;
......
...@@ -37,6 +37,7 @@ import javax.management.openmbean.CompositeType; ...@@ -37,6 +37,7 @@ import javax.management.openmbean.CompositeType;
* @author Mandy Chung * @author Mandy Chung
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public interface GarbageCollectorMXBean public interface GarbageCollectorMXBean
extends java.lang.management.GarbageCollectorMXBean { extends java.lang.management.GarbageCollectorMXBean {
......
...@@ -64,6 +64,7 @@ import sun.management.GcInfoBuilder; ...@@ -64,6 +64,7 @@ import sun.management.GcInfoBuilder;
* @author Mandy Chung * @author Mandy Chung
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public class GcInfo implements CompositeData, CompositeDataView { public class GcInfo implements CompositeData, CompositeDataView {
private final long index; private final long index;
private final long startTime; private final long startTime;
......
...@@ -48,6 +48,7 @@ import java.lang.management.PlatformManagedObject; ...@@ -48,6 +48,7 @@ import java.lang.management.PlatformManagedObject;
* *
* @see ManagementFactory#getPlatformMXBeans(Class) * @see ManagementFactory#getPlatformMXBeans(Class)
*/ */
@jdk.Exported
public interface HotSpotDiagnosticMXBean extends PlatformManagedObject { public interface HotSpotDiagnosticMXBean extends PlatformManagedObject {
/** /**
* Dumps the heap to the <tt>outputFile</tt> file in the same * Dumps the heap to the <tt>outputFile</tt> file in the same
......
...@@ -39,6 +39,7 @@ package com.sun.management; ...@@ -39,6 +39,7 @@ package com.sun.management;
* @author Mandy Chung * @author Mandy Chung
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public interface OperatingSystemMXBean extends public interface OperatingSystemMXBean extends
java.lang.management.OperatingSystemMXBean { java.lang.management.OperatingSystemMXBean {
......
...@@ -38,6 +38,7 @@ import java.util.Map; ...@@ -38,6 +38,7 @@ import java.util.Map;
* @since 6u25 * @since 6u25
*/ */
@jdk.Exported
public interface ThreadMXBean extends java.lang.management.ThreadMXBean { public interface ThreadMXBean extends java.lang.management.ThreadMXBean {
/** /**
* Returns the total CPU time for each thread whose ID is * Returns the total CPU time for each thread whose ID is
......
...@@ -32,6 +32,7 @@ package com.sun.management; ...@@ -32,6 +32,7 @@ package com.sun.management;
* @author Mandy Chung * @author Mandy Chung
* @since 1.5 * @since 1.5
*/ */
@jdk.Exported
public interface UnixOperatingSystemMXBean extends public interface UnixOperatingSystemMXBean extends
com.sun.management.OperatingSystemMXBean { com.sun.management.OperatingSystemMXBean {
......
...@@ -52,6 +52,7 @@ import javax.management.openmbean.CompositeData; ...@@ -52,6 +52,7 @@ import javax.management.openmbean.CompositeData;
* @author Mandy Chung * @author Mandy Chung
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public class VMOption { public class VMOption {
private String name; private String name;
private String value; private String value;
...@@ -64,6 +65,7 @@ public class VMOption { ...@@ -64,6 +65,7 @@ public class VMOption {
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public enum Origin { public enum Origin {
/** /**
* The VM option has not been set and its value * The VM option has not been set and its value
......
/*
* Copyright (c) 2004, 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 contains Oracle Corporation's platform extension to
* the implementation of the
* <a href="{@docRoot}/../../../../api/java/lang/management/package-summary.html">
* java.lang.management</a> API and also defines the management
* interface for some other components for the platform.
*
* <p>
* All platform MBeans are registered in the <em>platform MBeanServer</em>
* which can be obtained via the
* <a href="{@docRoot}/../../../../api/java/lang/management/ManagementFactory.html#getPlatformMBeanServer()">
* java.lang.management.ManagementFactory.getPlatformMBeanServer</a>
*
* @author Mandy Chung
* @since 1.5
*/
@jdk.Exported
package com.sun.management;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--
Copyright (c) 2004, 2006, 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 contains Oracle Corporation's platform extension to
the implementation of the
<a href="{@docRoot}/../../../../api/java/lang/management/package-summary.html">
java.lang.management</a> API and also defines the management
interface for some other components for the platform.
<p>
All platform MBeans are registered in the <em>platform MBeanServer</em>
which can be obtained via the
<a href="{@docRoot}/../../../../api/java/lang/management/ManagementFactory.html#getPlatformMBeanServer()">
java.lang.management.ManagementFactory.getPlatformMBeanServer</a>
@author Mandy Chung
@since 1.5
</body>
</html>
...@@ -36,6 +36,7 @@ import java.util.*; ...@@ -36,6 +36,7 @@ import java.util.*;
* Note. This implies that any caching of credentials or other authentication * Note. This implies that any caching of credentials or other authentication
* information must be done outside of this class. * information must be done outside of this class.
*/ */
@jdk.Exported
public abstract class Authenticator { public abstract class Authenticator {
/** /**
...@@ -47,6 +48,7 @@ public abstract class Authenticator { ...@@ -47,6 +48,7 @@ public abstract class Authenticator {
* Indicates an authentication failure. The authentication * Indicates an authentication failure. The authentication
* attempt has completed. * attempt has completed.
*/ */
@jdk.Exported
public static class Failure extends Result { public static class Failure extends Result {
private int responseCode; private int responseCode;
...@@ -68,6 +70,7 @@ public abstract class Authenticator { ...@@ -68,6 +70,7 @@ public abstract class Authenticator {
* authenticated user principal can be acquired by calling * authenticated user principal can be acquired by calling
* getPrincipal(). * getPrincipal().
*/ */
@jdk.Exported
public static class Success extends Result { public static class Success extends Result {
private HttpPrincipal principal; private HttpPrincipal principal;
...@@ -89,6 +92,7 @@ public abstract class Authenticator { ...@@ -89,6 +92,7 @@ public abstract class Authenticator {
* set any necessary response headers in the given HttpExchange * set any necessary response headers in the given HttpExchange
* before returning this Retry object. * before returning this Retry object.
*/ */
@jdk.Exported
public static class Retry extends Result { public static class Retry extends Result {
private int responseCode; private int responseCode;
......
...@@ -33,6 +33,7 @@ import java.util.Base64; ...@@ -33,6 +33,7 @@ import java.util.Base64;
* to provide an implementation of {@link #checkCredentials(String,String)} * to provide an implementation of {@link #checkCredentials(String,String)}
* which is called to verify each incoming request. * which is called to verify each incoming request.
*/ */
@jdk.Exported
public abstract class BasicAuthenticator extends Authenticator { public abstract class BasicAuthenticator extends Authenticator {
protected String realm; protected String realm;
......
...@@ -39,6 +39,7 @@ import java.util.*; ...@@ -39,6 +39,7 @@ import java.util.*;
* exchange handler. * exchange handler.
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class Filter { public abstract class Filter {
protected Filter () {} protected Filter () {}
...@@ -48,6 +49,7 @@ public abstract class Filter { ...@@ -48,6 +49,7 @@ public abstract class Filter {
* Each filter in the chain is given one of these * Each filter in the chain is given one of these
* so it can invoke the next filter in the chain * so it can invoke the next filter in the chain
*/ */
@jdk.Exported
public static class Chain { public static class Chain {
/* the last element in the chain must invoke the users /* the last element in the chain must invoke the users
* handler * handler
......
...@@ -58,6 +58,7 @@ import java.util.*; ...@@ -58,6 +58,7 @@ import java.util.*;
* as a header line containing the key but no associated value. * as a header line containing the key but no associated value.
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public class Headers implements Map<String,List<String>> { public class Headers implements Map<String,List<String>> {
HashMap<String,List<String>> map; HashMap<String,List<String>> map;
......
...@@ -40,6 +40,7 @@ import java.util.*; ...@@ -40,6 +40,7 @@ import java.util.*;
* context can be pre- and post-processed by each Filter in the chain. * context can be pre- and post-processed by each Filter in the chain.
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class HttpContext { public abstract class HttpContext {
protected HttpContext () { protected HttpContext () {
......
...@@ -65,6 +65,7 @@ import sun.net.www.MessageHeader; ...@@ -65,6 +65,7 @@ import sun.net.www.MessageHeader;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class HttpExchange { public abstract class HttpExchange {
protected HttpExchange () { protected HttpExchange () {
......
...@@ -32,6 +32,7 @@ import java.io.IOException; ...@@ -32,6 +32,7 @@ import java.io.IOException;
* HTTP exchange is handled by one of these handlers. * HTTP exchange is handled by one of these handlers.
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface HttpHandler { public interface HttpHandler {
/** /**
* Handle the given request and generate an appropriate response. * Handle the given request and generate an appropriate response.
......
...@@ -33,6 +33,7 @@ import java.security.Principal; ...@@ -33,6 +33,7 @@ import java.security.Principal;
* Represents a user authenticated by HTTP Basic or Digest * Represents a user authenticated by HTTP Basic or Digest
* authentication. * authentication.
*/ */
@jdk.Exported
public class HttpPrincipal implements Principal { public class HttpPrincipal implements Principal {
private String username, realm; private String username, realm;
......
...@@ -87,6 +87,7 @@ import com.sun.net.httpserver.spi.HttpServerProvider; ...@@ -87,6 +87,7 @@ import com.sun.net.httpserver.spi.HttpServerProvider;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class HttpServer { public abstract class HttpServer {
/** /**
......
...@@ -67,6 +67,7 @@ import javax.net.ssl.*; ...@@ -67,6 +67,7 @@ import javax.net.ssl.*;
* </blockquote></pre> * </blockquote></pre>
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public class HttpsConfigurator { public class HttpsConfigurator {
private SSLContext context; private SSLContext context;
......
...@@ -39,6 +39,7 @@ import java.util.*; ...@@ -39,6 +39,7 @@ import java.util.*;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class HttpsExchange extends HttpExchange { public abstract class HttpsExchange extends HttpExchange {
protected HttpsExchange () { protected HttpsExchange () {
......
...@@ -49,6 +49,7 @@ import javax.net.ssl.SSLParameters; ...@@ -49,6 +49,7 @@ import javax.net.ssl.SSLParameters;
* are used, and any settings made in this object are ignored. * are used, and any settings made in this object are ignored.
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class HttpsParameters { public abstract class HttpsParameters {
private String[] cipherSuites; private String[] cipherSuites;
......
...@@ -45,6 +45,7 @@ import com.sun.net.httpserver.spi.*; ...@@ -45,6 +45,7 @@ import com.sun.net.httpserver.spi.*;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class HttpsServer extends HttpServer { public abstract class HttpsServer extends HttpServer {
/** /**
......
...@@ -123,4 +123,5 @@ ...@@ -123,4 +123,5 @@
<p> <p>
@since 1.6 @since 1.6
*/ */
@jdk.Exported
package com.sun.net.httpserver; package com.sun.net.httpserver;
...@@ -40,6 +40,7 @@ import com.sun.net.httpserver.*; ...@@ -40,6 +40,7 @@ import com.sun.net.httpserver.*;
* {@link HttpServer} and associated classes. Applications do not normally use * {@link HttpServer} and associated classes. Applications do not normally use
* this class. See {@link #provider()} for how providers are found and loaded. * this class. See {@link #provider()} for how providers are found and loaded.
*/ */
@jdk.Exported
public abstract class HttpServerProvider { public abstract class HttpServerProvider {
/** /**
......
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
*/ */
/** /**
Provides a pluggable service provider interface, which allows the HTTP server * Provides a pluggable service provider interface, which allows the HTTP server
implementation to be replaced with other implementations. * implementation to be replaced with other implementations.
*/ */
@jdk.Exported
package com.sun.net.httpserver.spi; package com.sun.net.httpserver.spi;
...@@ -39,6 +39,7 @@ package com.sun.nio.sctp; ...@@ -39,6 +39,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public class AbstractNotificationHandler<T> public class AbstractNotificationHandler<T>
implements NotificationHandler<T> implements NotificationHandler<T>
{ {
......
...@@ -51,6 +51,7 @@ package com.sun.nio.sctp; ...@@ -51,6 +51,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public class Association { public class Association {
private final int associationID; private final int associationID;
private final int maxInStreams; private final int maxInStreams;
......
...@@ -29,6 +29,7 @@ package com.sun.nio.sctp; ...@@ -29,6 +29,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class AssociationChangeNotification public abstract class AssociationChangeNotification
implements Notification implements Notification
{ {
...@@ -37,6 +38,7 @@ public abstract class AssociationChangeNotification ...@@ -37,6 +38,7 @@ public abstract class AssociationChangeNotification
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public enum AssocChangeEvent public enum AssocChangeEvent
{ {
/** /**
......
...@@ -34,6 +34,7 @@ package com.sun.nio.sctp; ...@@ -34,6 +34,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public enum HandlerResult { public enum HandlerResult {
/** /**
* Try to receieve another message or notification. * Try to receieve another message or notification.
......
...@@ -31,6 +31,7 @@ package com.sun.nio.sctp; ...@@ -31,6 +31,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public class IllegalReceiveException extends IllegalStateException { public class IllegalReceiveException extends IllegalStateException {
private static final long serialVersionUID = 2296619040988576224L; private static final long serialVersionUID = 2296619040988576224L;
......
...@@ -31,6 +31,7 @@ package com.sun.nio.sctp; ...@@ -31,6 +31,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public class IllegalUnbindException extends IllegalStateException { public class IllegalUnbindException extends IllegalStateException {
private static final long serialVersionUID = -310540883995532224L; private static final long serialVersionUID = -310540883995532224L;
......
...@@ -30,6 +30,7 @@ package com.sun.nio.sctp; ...@@ -30,6 +30,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public class InvalidStreamException extends IllegalArgumentException { public class InvalidStreamException extends IllegalArgumentException {
private static final long serialVersionUID = -9172703378046665558L; private static final long serialVersionUID = -9172703378046665558L;
......
...@@ -56,6 +56,7 @@ import java.net.SocketAddress; ...@@ -56,6 +56,7 @@ import java.net.SocketAddress;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class MessageInfo { public abstract class MessageInfo {
/** /**
* Initializes a new instance of this class. * Initializes a new instance of this class.
......
...@@ -37,6 +37,7 @@ package com.sun.nio.sctp; ...@@ -37,6 +37,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public interface Notification { public interface Notification {
/** /**
* Returns the association that this notification is applicable to. * Returns the association that this notification is applicable to.
......
...@@ -49,6 +49,7 @@ package com.sun.nio.sctp; ...@@ -49,6 +49,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public interface NotificationHandler<T> { public interface NotificationHandler<T> {
/** /**
* Invoked when a notification is received from the SCTP stack. * Invoked when a notification is received from the SCTP stack.
......
...@@ -32,6 +32,7 @@ import java.net.SocketAddress; ...@@ -32,6 +32,7 @@ import java.net.SocketAddress;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class PeerAddressChangeNotification public abstract class PeerAddressChangeNotification
implements Notification implements Notification
{ {
...@@ -46,6 +47,7 @@ public abstract class PeerAddressChangeNotification ...@@ -46,6 +47,7 @@ public abstract class PeerAddressChangeNotification
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public enum AddressChangeEvent { public enum AddressChangeEvent {
/** /**
* This address is now reachable. * This address is now reachable.
......
...@@ -134,6 +134,7 @@ import java.nio.channels.SelectionKey; ...@@ -134,6 +134,7 @@ import java.nio.channels.SelectionKey;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class SctpChannel public abstract class SctpChannel
extends AbstractSelectableChannel extends AbstractSelectableChannel
{ {
......
...@@ -134,6 +134,7 @@ import java.nio.channels.SelectionKey; ...@@ -134,6 +134,7 @@ import java.nio.channels.SelectionKey;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class SctpMultiChannel public abstract class SctpMultiChannel
extends AbstractSelectableChannel extends AbstractSelectableChannel
{ {
......
...@@ -68,6 +68,7 @@ import java.nio.channels.spi.AbstractSelectableChannel; ...@@ -68,6 +68,7 @@ import java.nio.channels.spi.AbstractSelectableChannel;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class SctpServerChannel public abstract class SctpServerChannel
extends AbstractSelectableChannel extends AbstractSelectableChannel
{ {
......
...@@ -35,4 +35,5 @@ import java.net.SocketOption; ...@@ -35,4 +35,5 @@ import java.net.SocketOption;
* *
* @see SctpStandardSocketOptions * @see SctpStandardSocketOptions
*/ */
@jdk.Exported
public interface SctpSocketOption<T> extends SocketOption<T> { } public interface SctpSocketOption<T> extends SocketOption<T> { }
...@@ -34,6 +34,7 @@ import sun.nio.ch.sctp.SctpStdSocketOption; ...@@ -34,6 +34,7 @@ import sun.nio.ch.sctp.SctpStdSocketOption;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public class SctpStandardSocketOptions { public class SctpStandardSocketOptions {
private SctpStandardSocketOptions() {} private SctpStandardSocketOptions() {}
/** /**
...@@ -315,6 +316,7 @@ public class SctpStandardSocketOptions { ...@@ -315,6 +316,7 @@ public class SctpStandardSocketOptions {
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public static class InitMaxStreams { public static class InitMaxStreams {
private int maxInStreams; private int maxInStreams;
private int maxOutStreams; private int maxOutStreams;
......
...@@ -37,6 +37,7 @@ import java.net.SocketAddress; ...@@ -37,6 +37,7 @@ import java.net.SocketAddress;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class SendFailedNotification implements Notification { public abstract class SendFailedNotification implements Notification {
/** /**
* Initializes a new instance of this class. * Initializes a new instance of this class.
......
...@@ -32,6 +32,7 @@ package com.sun.nio.sctp; ...@@ -32,6 +32,7 @@ package com.sun.nio.sctp;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
public abstract class ShutdownNotification implements Notification { public abstract class ShutdownNotification implements Notification {
/** /**
* Initializes a new instance of this class. * Initializes a new instance of this class.
......
...@@ -72,4 +72,5 @@ ...@@ -72,4 +72,5 @@
* @since 1.7 * @since 1.7
*/ */
@jdk.Exported
package com.sun.nio.sctp; package com.sun.nio.sctp;
...@@ -45,6 +45,7 @@ import javax.naming.ldap.LdapName; ...@@ -45,6 +45,7 @@ import javax.naming.ldap.LdapName;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public final class LdapPrincipal implements Principal, java.io.Serializable { public final class LdapPrincipal implements Principal, java.io.Serializable {
private static final long serialVersionUID = 6820120005580754861L; private static final long serialVersionUID = 6820120005580754861L;
......
...@@ -45,6 +45,7 @@ import java.security.Principal; ...@@ -45,6 +45,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class NTDomainPrincipal implements Principal, java.io.Serializable { public class NTDomainPrincipal implements Principal, java.io.Serializable {
private static final long serialVersionUID = -4408637351440771220L; private static final long serialVersionUID = -4408637351440771220L;
......
...@@ -31,6 +31,7 @@ package com.sun.security.auth; ...@@ -31,6 +31,7 @@ package com.sun.security.auth;
* *
*/ */
@jdk.Exported
public class NTNumericCredential { public class NTNumericCredential {
private long impersonationToken; private long impersonationToken;
......
...@@ -47,6 +47,7 @@ import java.security.Principal; ...@@ -47,6 +47,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class NTSid implements Principal, java.io.Serializable { public class NTSid implements Principal, java.io.Serializable {
private static final long serialVersionUID = 4412290580770249885L; private static final long serialVersionUID = 4412290580770249885L;
......
...@@ -43,6 +43,7 @@ package com.sun.security.auth; ...@@ -43,6 +43,7 @@ package com.sun.security.auth;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class NTSidDomainPrincipal extends NTSid { public class NTSidDomainPrincipal extends NTSid {
private static final long serialVersionUID = 5247810785821650912L; private static final long serialVersionUID = 5247810785821650912L;
......
...@@ -40,6 +40,7 @@ package com.sun.security.auth; ...@@ -40,6 +40,7 @@ package com.sun.security.auth;
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
* @see com.sun.security.auth.NTSid * @see com.sun.security.auth.NTSid
*/ */
@jdk.Exported
public class NTSidGroupPrincipal extends NTSid { public class NTSidGroupPrincipal extends NTSid {
private static final long serialVersionUID = -1373347438636198229L; private static final long serialVersionUID = -1373347438636198229L;
......
...@@ -39,6 +39,7 @@ package com.sun.security.auth; ...@@ -39,6 +39,7 @@ package com.sun.security.auth;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class NTSidPrimaryGroupPrincipal extends NTSid { public class NTSidPrimaryGroupPrincipal extends NTSid {
private static final long serialVersionUID = 8011978367305190527L; private static final long serialVersionUID = 8011978367305190527L;
......
...@@ -39,6 +39,7 @@ package com.sun.security.auth; ...@@ -39,6 +39,7 @@ package com.sun.security.auth;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class NTSidUserPrincipal extends NTSid { public class NTSidUserPrincipal extends NTSid {
private static final long serialVersionUID = -5573239889517749525L; private static final long serialVersionUID = -5573239889517749525L;
......
...@@ -41,6 +41,7 @@ import java.security.Principal; ...@@ -41,6 +41,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class NTUserPrincipal implements Principal, java.io.Serializable { public class NTUserPrincipal implements Principal, java.io.Serializable {
private static final long serialVersionUID = -8737649811939033735L; private static final long serialVersionUID = -8737649811939033735L;
......
...@@ -215,6 +215,7 @@ import javax.security.auth.Subject; ...@@ -215,6 +215,7 @@ import javax.security.auth.Subject;
* @see java.security.ProtectionDomain * @see java.security.ProtectionDomain
* @see java.security.Security security properties * @see java.security.Security security properties
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class PolicyFile extends javax.security.auth.Policy { public class PolicyFile extends javax.security.auth.Policy {
......
...@@ -50,6 +50,7 @@ package com.sun.security.auth; ...@@ -50,6 +50,7 @@ package com.sun.security.auth;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public interface PrincipalComparator { public interface PrincipalComparator {
/** /**
* Check if the specified <code>Subject</code> is implied by * Check if the specified <code>Subject</code> is implied by
......
...@@ -45,6 +45,7 @@ import java.security.Principal; ...@@ -45,6 +45,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class SolarisNumericGroupPrincipal implements public class SolarisNumericGroupPrincipal implements
Principal, Principal,
......
...@@ -44,6 +44,7 @@ import java.security.Principal; ...@@ -44,6 +44,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class SolarisNumericUserPrincipal implements public class SolarisNumericUserPrincipal implements
Principal, Principal,
......
...@@ -44,6 +44,7 @@ import java.security.Principal; ...@@ -44,6 +44,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class SolarisPrincipal implements Principal, java.io.Serializable { public class SolarisPrincipal implements Principal, java.io.Serializable {
......
...@@ -41,6 +41,7 @@ import java.security.Principal; ...@@ -41,6 +41,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class UnixNumericGroupPrincipal implements public class UnixNumericGroupPrincipal implements
Principal, Principal,
java.io.Serializable { java.io.Serializable {
......
...@@ -41,6 +41,7 @@ import java.security.Principal; ...@@ -41,6 +41,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class UnixNumericUserPrincipal implements public class UnixNumericUserPrincipal implements
Principal, Principal,
java.io.Serializable { java.io.Serializable {
......
...@@ -41,6 +41,7 @@ import java.security.Principal; ...@@ -41,6 +41,7 @@ import java.security.Principal;
* @see java.security.Principal * @see java.security.Principal
* @see javax.security.auth.Subject * @see javax.security.auth.Subject
*/ */
@jdk.Exported
public class UnixPrincipal implements Principal, java.io.Serializable { public class UnixPrincipal implements Principal, java.io.Serializable {
private static final long serialVersionUID = -2951667807323493631L; private static final long serialVersionUID = -2951667807323493631L;
......
...@@ -42,6 +42,7 @@ import java.security.Principal; ...@@ -42,6 +42,7 @@ import java.security.Principal;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public final class UserPrincipal implements Principal, java.io.Serializable { public final class UserPrincipal implements Principal, java.io.Serializable {
private static final long serialVersionUID = 892106070870210969L; private static final long serialVersionUID = 892106070870210969L;
......
...@@ -49,6 +49,7 @@ import sun.security.x509.X500Name; ...@@ -49,6 +49,7 @@ import sun.security.x509.X500Name;
* class. * class.
* @see javax.security.auth.x500.X500Principal * @see javax.security.auth.x500.X500Principal
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class X500Principal implements Principal, java.io.Serializable { public class X500Principal implements Principal, java.io.Serializable {
......
...@@ -54,6 +54,7 @@ import javax.swing.JTextField; ...@@ -54,6 +54,7 @@ import javax.swing.JTextField;
* @see javax.security.auth.callback * @see javax.security.auth.callback
* @deprecated This class will be removed in a future release. * @deprecated This class will be removed in a future release.
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class DialogCallbackHandler implements CallbackHandler { public class DialogCallbackHandler implements CallbackHandler {
......
...@@ -53,6 +53,7 @@ import sun.security.util.Password; ...@@ -53,6 +53,7 @@ import sun.security.util.Password;
* @see javax.security.auth.callback * @see javax.security.auth.callback
*/ */
@jdk.Exported
public class TextCallbackHandler implements CallbackHandler { public class TextCallbackHandler implements CallbackHandler {
/** /**
......
/*
* Copyright (c) 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.
*/
@jdk.Exported
package com.sun.security.auth.callback;
...@@ -83,6 +83,7 @@ import java.net.URI; ...@@ -83,6 +83,7 @@ import java.net.URI;
* @see javax.security.auth.login.LoginContext * @see javax.security.auth.login.LoginContext
* @see java.security.Security security properties * @see java.security.Security security properties
*/ */
@jdk.Exported
public class ConfigFile extends Configuration { public class ConfigFile extends Configuration {
private final sun.security.provider.ConfigFile.Spi spi; private final sun.security.provider.ConfigFile.Spi spi;
......
/*
* Copyright (c) 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.
*/
@jdk.Exported
package com.sun.security.auth.login;
...@@ -151,6 +151,7 @@ import com.sun.security.auth.UnixNumericGroupPrincipal; ...@@ -151,6 +151,7 @@ import com.sun.security.auth.UnixNumericGroupPrincipal;
* </pre> * </pre>
* *
*/ */
@jdk.Exported
public class JndiLoginModule implements LoginModule { public class JndiLoginModule implements LoginModule {
private static final ResourceBundle rb = AccessController.doPrivileged( private static final ResourceBundle rb = AccessController.doPrivileged(
......
...@@ -110,6 +110,7 @@ import sun.security.util.Password; ...@@ -110,6 +110,7 @@ import sun.security.util.Password;
* *
* </dl> * </dl>
*/ */
@jdk.Exported
public class KeyStoreLoginModule implements LoginModule { public class KeyStoreLoginModule implements LoginModule {
private static final ResourceBundle rb = AccessController.doPrivileged( private static final ResourceBundle rb = AccessController.doPrivileged(
......
...@@ -379,6 +379,7 @@ import sun.misc.HexDumpEncoder; ...@@ -379,6 +379,7 @@ import sun.misc.HexDumpEncoder;
* @author Ram Marti * @author Ram Marti
*/ */
@jdk.Exported
public class Krb5LoginModule implements LoginModule { public class Krb5LoginModule implements LoginModule {
// initial state // initial state
......
...@@ -304,6 +304,7 @@ import com.sun.security.auth.UserPrincipal; ...@@ -304,6 +304,7 @@ import com.sun.security.auth.UserPrincipal;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public class LdapLoginModule implements LoginModule { public class LdapLoginModule implements LoginModule {
// Use the default classloader for this class to load the prompt strings. // Use the default classloader for this class to load the prompt strings.
......
...@@ -57,6 +57,7 @@ import com.sun.security.auth.NTNumericCredential; ...@@ -57,6 +57,7 @@ import com.sun.security.auth.NTNumericCredential;
* *
* @see javax.security.auth.spi.LoginModule * @see javax.security.auth.spi.LoginModule
*/ */
@jdk.Exported
public class NTLoginModule implements LoginModule { public class NTLoginModule implements LoginModule {
private NTSystem ntSystem; private NTSystem ntSystem;
......
...@@ -30,6 +30,7 @@ package com.sun.security.auth.module; ...@@ -30,6 +30,7 @@ package com.sun.security.auth.module;
* security information for the current user. * security information for the current user.
* *
*/ */
@jdk.Exported
public class NTSystem { public class NTSystem {
private native void getCurrent(boolean debug); private native void getCurrent(boolean debug);
......
...@@ -52,6 +52,7 @@ import com.sun.security.auth.SolarisNumericGroupPrincipal; ...@@ -52,6 +52,7 @@ import com.sun.security.auth.SolarisNumericGroupPrincipal;
* UnixLoginModule. * UnixLoginModule.
* *
*/ */
@jdk.Exported(false)
@Deprecated @Deprecated
public class SolarisLoginModule implements LoginModule { public class SolarisLoginModule implements LoginModule {
......
...@@ -30,6 +30,7 @@ package com.sun.security.auth.module; ...@@ -30,6 +30,7 @@ package com.sun.security.auth.module;
* UID/GID/groups information for the current user. * UID/GID/groups information for the current user.
* *
*/ */
@jdk.Exported
public class SolarisSystem { public class SolarisSystem {
private native void getSolarisInfo(); private native void getSolarisInfo();
......
...@@ -47,6 +47,7 @@ import com.sun.security.auth.UnixNumericGroupPrincipal; ...@@ -47,6 +47,7 @@ import com.sun.security.auth.UnixNumericGroupPrincipal;
* debug messages will be output to the output stream, System.out. * debug messages will be output to the output stream, System.out.
* *
*/ */
@jdk.Exported
public class UnixLoginModule implements LoginModule { public class UnixLoginModule implements LoginModule {
// initial state // initial state
......
...@@ -30,6 +30,7 @@ package com.sun.security.auth.module; ...@@ -30,6 +30,7 @@ package com.sun.security.auth.module;
* UID/GID/groups information for the current user. * UID/GID/groups information for the current user.
* *
*/ */
@jdk.Exported
public class UnixSystem { public class UnixSystem {
private native void getUnixInfo(); private native void getUnixInfo();
......
/*
* Copyright (c) 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.
*/
@jdk.Exported
package com.sun.security.auth.module;
/*
* Copyright (c) 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.
*/
@jdk.Exported
package com.sun.security.auth;
...@@ -28,7 +28,8 @@ package com.sun.security.jgss; ...@@ -28,7 +28,8 @@ package com.sun.security.jgss;
/** /**
* Kerberos 5 AuthorizationData entry. * Kerberos 5 AuthorizationData entry.
*/ */
final public class AuthorizationDataEntry { @jdk.Exported
public final class AuthorizationDataEntry {
private final int type; private final int type;
private final byte[] data; private final byte[] data;
......
...@@ -32,6 +32,7 @@ import org.ietf.jgss.*; ...@@ -32,6 +32,7 @@ import org.ietf.jgss.*;
* functionalities not defined by {@code org.ietf.jgss.GSSContext}, * functionalities not defined by {@code org.ietf.jgss.GSSContext},
* such as querying context-specific attributes. * such as querying context-specific attributes.
*/ */
@jdk.Exported
public interface ExtendedGSSContext extends GSSContext { public interface ExtendedGSSContext extends GSSContext {
/** /**
* Return the mechanism-specific attribute associated with {@code type}. * Return the mechanism-specific attribute associated with {@code type}.
......
...@@ -32,6 +32,7 @@ import org.ietf.jgss.*; ...@@ -32,6 +32,7 @@ import org.ietf.jgss.*;
* functionalities not defined by {@code org.ietf.jgss.GSSCredential}. * functionalities not defined by {@code org.ietf.jgss.GSSCredential}.
* @since 1.8 * @since 1.8
*/ */
@jdk.Exported
public interface ExtendedGSSCredential extends GSSCredential { public interface ExtendedGSSCredential extends GSSCredential {
/** /**
* Impersonates a principal. In Kerberos, this can be implemented * Impersonates a principal. In Kerberos, this can be implemented
......
...@@ -33,6 +33,7 @@ import org.ietf.jgss.GSSCredential; ...@@ -33,6 +33,7 @@ import org.ietf.jgss.GSSCredential;
* GSS-API Utilities for using in conjunction with Sun Microsystem's * GSS-API Utilities for using in conjunction with Sun Microsystem's
* implementation of Java GSS-API. * implementation of Java GSS-API.
*/ */
@jdk.Exported
public class GSSUtil { public class GSSUtil {
/** /**
......
...@@ -35,6 +35,7 @@ import java.security.BasicPermission; ...@@ -35,6 +35,7 @@ import java.security.BasicPermission;
* *
* <p>The target name is the {@link InquireType} allowed. * <p>The target name is the {@link InquireType} allowed.
*/ */
@jdk.Exported
public final class InquireSecContextPermission extends BasicPermission { public final class InquireSecContextPermission extends BasicPermission {
private static final long serialVersionUID = -7131173349668647297L; private static final long serialVersionUID = -7131173349668647297L;
......
...@@ -29,6 +29,7 @@ package com.sun.security.jgss; ...@@ -29,6 +29,7 @@ package com.sun.security.jgss;
* Attribute types that can be specified as an argument of * Attribute types that can be specified as an argument of
* {@link com.sun.security.jgss.ExtendedGSSContext#inquireSecContext} * {@link com.sun.security.jgss.ExtendedGSSContext#inquireSecContext}
*/ */
@jdk.Exported
public enum InquireType { public enum InquireType {
/** /**
* Attribute type for retrieving the session key of an * Attribute type for retrieving the session key of an
......
/*
* Copyright (c) 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.
*/
@jdk.Exported
package com.sun.security.jgss;
...@@ -40,6 +40,7 @@ package com.sun.tools.attach; ...@@ -40,6 +40,7 @@ package com.sun.tools.attach;
* the error returned by the agent's <code>Agent_OnAttach</code> function. * the error returned by the agent's <code>Agent_OnAttach</code> function.
* This error code can be obtained by invoking the {@link #returnValue() returnValue} method. * This error code can be obtained by invoking the {@link #returnValue() returnValue} method.
*/ */
@jdk.Exported
public class AgentInitializationException extends Exception { public class AgentInitializationException extends Exception {
/** use serialVersionUID for interoperability */ /** use serialVersionUID for interoperability */
......
...@@ -36,6 +36,7 @@ package com.sun.tools.attach; ...@@ -36,6 +36,7 @@ package com.sun.tools.attach;
* com.sun.tools.attach.VirtualMachine#loadAgentPath loadAgentPath} methods * com.sun.tools.attach.VirtualMachine#loadAgentPath loadAgentPath} methods
* if the agent, or agent library, cannot be loaded. * if the agent, or agent library, cannot be loaded.
*/ */
@jdk.Exported
public class AgentLoadException extends Exception { public class AgentLoadException extends Exception {
/** use serialVersionUID for interoperability */ /** use serialVersionUID for interoperability */
......
...@@ -36,6 +36,7 @@ import com.sun.tools.attach.spi.AttachProvider; // for javadoc ...@@ -36,6 +36,7 @@ import com.sun.tools.attach.spi.AttachProvider; // for javadoc
* AttachProvider.attachVirtualMachine} if the provider attempts to * AttachProvider.attachVirtualMachine} if the provider attempts to
* attach to a Java virtual machine with which it not comptatible. * attach to a Java virtual machine with which it not comptatible.
*/ */
@jdk.Exported
public class AttachNotSupportedException extends Exception { public class AttachNotSupportedException extends Exception {
/** use serialVersionUID for interoperability */ /** use serialVersionUID for interoperability */
......
...@@ -79,6 +79,7 @@ package com.sun.tools.attach; ...@@ -79,6 +79,7 @@ package com.sun.tools.attach;
* @see com.sun.tools.attach.spi.AttachProvider * @see com.sun.tools.attach.spi.AttachProvider
*/ */
@jdk.Exported
public final class AttachPermission extends java.security.BasicPermission { public final class AttachPermission extends java.security.BasicPermission {
/** use serialVersionUID for interoperability */ /** use serialVersionUID for interoperability */
......
...@@ -102,6 +102,7 @@ import java.io.IOException; ...@@ -102,6 +102,7 @@ import java.io.IOException;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class VirtualMachine { public abstract class VirtualMachine {
private AttachProvider provider; private AttachProvider provider;
private String id; private String id;
......
...@@ -55,6 +55,7 @@ import com.sun.tools.attach.spi.AttachProvider; ...@@ -55,6 +55,7 @@ import com.sun.tools.attach.spi.AttachProvider;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public class VirtualMachineDescriptor { public class VirtualMachineDescriptor {
private AttachProvider provider; private AttachProvider provider;
......
/*
* Copyright (c) 2005, 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.
*/
/**
* Provides the API to attach to a Java<sup><font size=-2>TM</font></sup>
* virtual machine.
* <p>
* A tool, written in the Java Language, uses this API to attach to a target
* virtual machine (VM) and load its tool agent into the target VM. For
* example, a management console might have a management agent which it uses
* to obtain management information from instrumented objects in a Java
* virtual machine. If the management console is required to manage
* an application that is running in a virtual machine that does not include
* the management agent, then this API can be used to attach to the target
* VM and load the agent.
*
* @since 1.6
*/
@jdk.Exported
package com.sun.tools.attach;
<!--
Copyright (c) 2005, 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.
-->
<!doctype html public "-//IETF//DTD HTML//EN">
<html>
<body bgcolor="white">
Provides the API to attach to a Java<sup><font size=-2>TM</font></sup>
virtual machine.
A tool, written in the Java Language, uses this API to attach to a target
virtual machine (VM) and load its tool agent into the target VM. For
example, a management console might have a management agent which it uses
to obtain management information from instrumented objects in a Java
virtual machine. If the management console is required to manage
an application that is running in a virtual machine that does not include
the management agent, then this API can be used to attach to the target
VM and load the agent.
@since 1.6
</body>
</html>
...@@ -74,6 +74,7 @@ import java.util.ServiceLoader; ...@@ -74,6 +74,7 @@ import java.util.ServiceLoader;
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class AttachProvider { public abstract class AttachProvider {
private static final Object lock = new Object(); private static final Object lock = new Object();
......
/*
* Copyright (c) 2005, 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.
*/
/**
* Only developers who are defining new attach providers should need to make
* direct use of this package.
*
* @since 1.6
*/
@jdk.Exported
package com.sun.tools.attach.spi;
<!--
Copyright (c) 2005, 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.
-->
<!doctype html public "-//IETF//DTD HTML//EN">
<html>
<body bgcolor="white">
Provider classes for the <tt>{@link com.sun.tools.attach}</tt> package.
<p> Only developers who are defining new attach providers should need to make
direct use of this package. </p>
@since 1.6
</body>
</html>
...@@ -43,6 +43,7 @@ import javax.swing.event.SwingPropertyChangeSupport; ...@@ -43,6 +43,7 @@ import javax.swing.event.SwingPropertyChangeSupport;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public interface JConsoleContext { public interface JConsoleContext {
/** /**
* The {@link ConnectionState ConnectionState} bound property name. * The {@link ConnectionState ConnectionState} bound property name.
...@@ -53,6 +54,7 @@ public interface JConsoleContext { ...@@ -53,6 +54,7 @@ public interface JConsoleContext {
* Values for the {@linkplain #CONNECTION_STATE_PROPERTY * Values for the {@linkplain #CONNECTION_STATE_PROPERTY
* <i>ConnectionState</i>} bound property. * <i>ConnectionState</i>} bound property.
*/ */
@jdk.Exported
public enum ConnectionState { public enum ConnectionState {
/** /**
* The connection has been successfully established. * The connection has been successfully established.
......
...@@ -72,6 +72,7 @@ import javax.swing.SwingWorker; ...@@ -72,6 +72,7 @@ import javax.swing.SwingWorker;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Exported
public abstract class JConsolePlugin { public abstract class JConsolePlugin {
private volatile JConsoleContext context = null; private volatile JConsoleContext context = null;
private List<PropertyChangeListener> listeners = null; private List<PropertyChangeListener> listeners = null;
......
/*
* Copyright (c) 2006, 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 contains the JConsole API.
*
* @since 1.6
*/
@jdk.Exported
package com.sun.tools.jconsole;
<!--
Copyright (c) 2006, 2007, 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.
-->
<!doctype html public "-//IETF//DTD HTML//EN">
<html>
<head>
</head>
<body bgcolor="white">
This package contains the JConsole API.
@since 1.6
</body>
</html>
...@@ -35,6 +35,7 @@ import sun.management.VMManagement; ...@@ -35,6 +35,7 @@ import sun.management.VMManagement;
* public API and its API may change in incompatable ways between dot dot * public API and its API may change in incompatable ways between dot dot
* releases and even patch releases. You should not rely on this class. * releases and even patch releases. You should not rely on this class.
*/ */
@jdk.Exported(false)
public class OSMBeanFactory { public class OSMBeanFactory {
/* static factory class */ /* static factory class */
private OSMBeanFactory() {}; private OSMBeanFactory() {};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册