diff options
author | Keith Seitz <keiths@redhat.com> | 2006-03-09 23:18:29 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2006-03-09 23:18:29 +0000 |
commit | f814c4db6a39e8b2dce710ed5c7352eaff036d2c (patch) | |
tree | 236709c9cb2806c62818045791a74b68295186e3 /gnu/classpath | |
parent | 714f74635a0625cb7411545242d0fd6901e4f01d (diff) | |
download | classpath-f814c4db6a39e8b2dce710ed5c7352eaff036d2c.tar.gz |
* gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
* gnu/classpath/jdwp/event/ThreadStartEvent.java
(ThreadStartEvent): Likewise.
* gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
* gnu/classpath/jdwp/event/filters/ConditionalFilter.java
(ConditionalFilter): Likewise.
* gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
(ExceptionOnlyFilter): Likewise.
* gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
(FieldOnlyFilter): Likewise.
* gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
(getSize): Likewise.
(StepFilter): Likewise.
* gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
* gnu/classpath/jdwp/transport/JdwpPacket.java
(JdwpPacket): Likewise.
(fromBytes): Likewise.
* gnu/classpath/jdwp/transport/JdwpReplyPacket.java
(JdwpReplyPacket): Likewise.
* gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
* vm/reference/gnu/classpath/jdwp/VMIdManager.java
(getReferenceType): Likewise.
(newObjectId): Likewise.
* vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(getFrames): Fix typo in parameter name and update javadoc.
(getClassMethod): Update javadoc.
Diffstat (limited to 'gnu/classpath')
-rw-r--r-- | gnu/classpath/jdwp/event/EventManager.java | 2 | ||||
-rw-r--r-- | gnu/classpath/jdwp/event/ThreadStartEvent.java | 6 | ||||
-rw-r--r-- | gnu/classpath/jdwp/event/VmDeathEvent.java | 4 | ||||
-rw-r--r-- | gnu/classpath/jdwp/event/filters/ConditionalFilter.java | 2 | ||||
-rw-r--r-- | gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java | 8 | ||||
-rw-r--r-- | gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java | 2 | ||||
-rw-r--r-- | gnu/classpath/jdwp/event/filters/StepFilter.java | 14 | ||||
-rw-r--r-- | gnu/classpath/jdwp/id/JdwpId.java | 2 | ||||
-rw-r--r-- | gnu/classpath/jdwp/transport/JdwpPacket.java | 3 | ||||
-rw-r--r-- | gnu/classpath/jdwp/transport/JdwpReplyPacket.java | 2 | ||||
-rw-r--r-- | gnu/classpath/jdwp/util/Value.java | 6 |
11 files changed, 25 insertions, 26 deletions
diff --git a/gnu/classpath/jdwp/event/EventManager.java b/gnu/classpath/jdwp/event/EventManager.java index 82d1d71e4..eb0c3ddb7 100644 --- a/gnu/classpath/jdwp/event/EventManager.java +++ b/gnu/classpath/jdwp/event/EventManager.java @@ -56,7 +56,7 @@ import java.util.Iterator; * 2) Filter event notifications from the VM * * If an event request arrives from the debugger, the back-end will - * call {@link #reqestEvent}, which will first check for a valid event. + * call {@link #requestEvent}, which will first check for a valid event. * If it is valid, <code>EventManager</code> will record the request * internally and register the event with the virtual machine, which may * choose to handle the request itself (as is likely the case with diff --git a/gnu/classpath/jdwp/event/ThreadStartEvent.java b/gnu/classpath/jdwp/event/ThreadStartEvent.java index 67caea97c..2fa207917 100644 --- a/gnu/classpath/jdwp/event/ThreadStartEvent.java +++ b/gnu/classpath/jdwp/event/ThreadStartEvent.java @@ -49,7 +49,7 @@ import java.io.IOException; /** * "Notification of a new running thread in the target VM. The new - * thread can be the result of a call to {@link java.lang.Thread.start} or + * thread can be the result of a call to {@link java.lang.Thread#start} or * the result of attaching a new thread to the VM though JNI. The * notification is generated by the new thread some time before its * execution starts. Because of this timing, it is possible to receive @@ -70,9 +70,9 @@ public class ThreadStartEvent private Thread _thread; /** - * Constructs a new <code>ThreadStartEvent</code> + * Constructs a new ThreadStartEvent object * - * @param tid the thread ID in which event occurred + * @param thread the thread ID in which event occurred */ public ThreadStartEvent (Thread thread) { super (JdwpConstants.EventKind.THREAD_END); diff --git a/gnu/classpath/jdwp/event/VmDeathEvent.java b/gnu/classpath/jdwp/event/VmDeathEvent.java index b0d9b6565..160ef6ace 100644 --- a/gnu/classpath/jdwp/event/VmDeathEvent.java +++ b/gnu/classpath/jdwp/event/VmDeathEvent.java @@ -53,9 +53,7 @@ public class VmDeathEvent extends Event { /** - * Constructs a <code>VmDeathEvent</code> object - * - * @param thread the initial thread + * Constructs a new VmDeathEvent object */ public VmDeathEvent () { diff --git a/gnu/classpath/jdwp/event/filters/ConditionalFilter.java b/gnu/classpath/jdwp/event/filters/ConditionalFilter.java index 1fab693ee..645a70f42 100644 --- a/gnu/classpath/jdwp/event/filters/ConditionalFilter.java +++ b/gnu/classpath/jdwp/event/filters/ConditionalFilter.java @@ -61,7 +61,7 @@ public class ConditionalFilter * <p><b>NOTE:</b> This filter is marked "for the future", * i.e, there is no way to actually use this yet. * - * @param cond the conditional expression + * @param conditional the conditional expression * @throws NotImplementedException if used */ public ConditionalFilter (Object conditional) diff --git a/gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java b/gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java index cc4919de6..cf6c0704d 100644 --- a/gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java +++ b/gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java @@ -59,11 +59,11 @@ public class ExceptionOnlyFilter private boolean _uncaught; /** - * Constructs a new <code>ExceptionOnlyFilter</code> + * Constructs a new ExceptionOnlyFilter * - * @param refid - * @param caught - * @param uncaught + * @param refId ID of the exception to report + * @param caught Report caught exceptions + * @param uncaught Report uncaught exceptions * @throws InvalidClassException if refid is invalid */ public ExceptionOnlyFilter (ReferenceTypeId refId, boolean caught, diff --git a/gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java b/gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java index 19c5b8a9b..20a9edf22 100644 --- a/gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java +++ b/gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java @@ -64,7 +64,7 @@ public class FieldOnlyFilter * @param refId class for field * @param fid field * @throws InvalidClassException if class is invalid - * @throws InvalidFieldExcpetion if field is invalid + * @throws InvalidFieldException if field is invalid */ public FieldOnlyFilter (ReferenceTypeId refId, /*Field*/ReferenceTypeId fid) throws InvalidClassException, InvalidFieldException diff --git a/gnu/classpath/jdwp/event/filters/StepFilter.java b/gnu/classpath/jdwp/event/filters/StepFilter.java index d029e61e1..340546e88 100644 --- a/gnu/classpath/jdwp/event/filters/StepFilter.java +++ b/gnu/classpath/jdwp/event/filters/StepFilter.java @@ -44,9 +44,9 @@ import gnu.classpath.jdwp.exception.InvalidThreadException; import gnu.classpath.jdwp.id.ThreadId; /** - * An event filter which restricts reported step events to those which + * "An event filter which restricts reported step events to those which * satisfy depth and size constraints. This modifier can only be used with - * step event kinds. + * step event kinds." * * @author Keith Seitz (keiths@redhat.com) */ @@ -58,9 +58,11 @@ public class StepFilter private int _depth; /** - * Constructs a new <code>StepFilter</code> with the given count. + * Constructs a new StepFilter * - * @param count the number of times the event will be ignored + * @param tid ID of the thread in which to step + * @param size size of each step + * @param depth relative call stack limit * @throws InvalidThreadException if thread is invalid */ public StepFilter (ThreadId tid, int size, int depth) @@ -88,7 +90,7 @@ public class StepFilter * Returns the size of each step (insn, line) * * @return the step size - * @see JdwpConstants.StepSize + * @see gnu.classpath.jdwp.JdwpConstants.StepSize */ public int getSize () { @@ -99,7 +101,7 @@ public class StepFilter * Returns the relative call stack limit (into, over, out) * * @return how to step - * @see JdwpConstants.StepDepth + * @see gnu.classpath.jdwp.JdwpConstants.StepDepth */ public int getDepth () { diff --git a/gnu/classpath/jdwp/id/JdwpId.java b/gnu/classpath/jdwp/id/JdwpId.java index 472650de8..61cc15d2e 100644 --- a/gnu/classpath/jdwp/id/JdwpId.java +++ b/gnu/classpath/jdwp/id/JdwpId.java @@ -63,7 +63,7 @@ public abstract class JdwpId /** * Tag of ID's type (see {@link gnu.classpath.jdwp.JdwpConstants.Tag}) * for object-like IDs or the type tag (see {@link - * gnu.classpath.JdwpConstants.TypeTag}) for reference type IDs. + * gnu.classpath.jdwp.JdwpConstants.TypeTag}) for reference type IDs. */ private byte _tag; diff --git a/gnu/classpath/jdwp/transport/JdwpPacket.java b/gnu/classpath/jdwp/transport/JdwpPacket.java index 7fa93e2de..a3afe8421 100644 --- a/gnu/classpath/jdwp/transport/JdwpPacket.java +++ b/gnu/classpath/jdwp/transport/JdwpPacket.java @@ -55,7 +55,7 @@ import java.io.IOException; * This class deal with everything except the command- and reply-specific * data, which get handled in {@link * gnu.classpath.jdwp.transport.JdwpCommandPacket} and {@link - * gnu.classpath.jdwp.transprot.JdwpReplyPacket}. + * gnu.classpath.jdwp.transport.JdwpReplyPacket}. * * @author Keith Seitz <keiths@redhat.com> */ @@ -183,7 +183,6 @@ public abstract class JdwpPacket * <code>null</code>. * * @param bytes packet data from the wire - * @param index index into <code>bytes</code> to start processing * @return number of bytes in <code>bytes</code> processed */ public static JdwpPacket fromBytes (byte[] bytes) diff --git a/gnu/classpath/jdwp/transport/JdwpReplyPacket.java b/gnu/classpath/jdwp/transport/JdwpReplyPacket.java index de32ecf99..d060dec99 100644 --- a/gnu/classpath/jdwp/transport/JdwpReplyPacket.java +++ b/gnu/classpath/jdwp/transport/JdwpReplyPacket.java @@ -45,7 +45,7 @@ import java.io.IOException; /** * A class represents a JDWP reply packet. * This class adds an error code to the packet header information - * in {@link gnu.classpath.transport.JdwpPacket} and adds additional + * in {@link gnu.classpath.jdwp.transport.JdwpPacket} and adds additional * reply packet-specific processing. * * @author Keith Seitz <keiths@redhat.com> diff --git a/gnu/classpath/jdwp/util/Value.java b/gnu/classpath/jdwp/util/Value.java index 759b2a99c..c73ffef80 100644 --- a/gnu/classpath/jdwp/util/Value.java +++ b/gnu/classpath/jdwp/util/Value.java @@ -203,12 +203,12 @@ public class Value } /** - * Reads the an object of the given Class from the untagged value contained + * Reads an object of the given Class from the untagged value contained * in the ByteBuffer. * - * @param bb contains the Object + * @param bb contains the Object * @param type corresponds to the TAG of value to be read - * @return + * @return the resultant object * @throws JdwpException * @throws IOException */ |