jdk/src/jdk.jdi/share/classes/com/sun/jdi/event/ThreadStartEvent.java
changeset 45564 0149773a140c
parent 34894 3248b89d1921
equal deleted inserted replaced
45563:ece4ae6beba3 45564:0149773a140c
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package com.sun.jdi.event;
    26 package com.sun.jdi.event;
    27 
    27 
    28 import com.sun.jdi.*;
    28 import com.sun.jdi.ThreadReference;
       
    29 import com.sun.jdi.VirtualMachine;
    29 
    30 
    30 /**
    31 /**
    31  * Notification of a new running thread in the target VM.
    32  * Notification of a new running thread in the target VM.
    32  * The new thread can be the result of a call to
    33  * The new thread can be the result of a call to
    33  * <code>{@link java.lang.Thread#start}</code> or the result of
    34  * <code>{@link java.lang.Thread#start}</code> or the result of
    51  *
    52  *
    52  * @author Robert Field
    53  * @author Robert Field
    53  * @since  1.3
    54  * @since  1.3
    54  */
    55  */
    55 public interface ThreadStartEvent extends Event {
    56 public interface ThreadStartEvent extends Event {
       
    57 
    56     /**
    58     /**
    57      * Returns the thread which has started.
    59      * Returns the thread which has started.
    58      *
    60      *
    59      * @return a {@link ThreadReference} which mirrors the event's thread in
    61      * @return a {@link ThreadReference} which mirrors the event's thread in
    60      * the target VM.
    62      * the target VM.