jdk/src/jdk.jdi/share/classes/com/sun/jdi/event/ThreadDeathEvent.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 completed thread in the target VM. The
    32  * Notification of a completed thread in the target VM. The
    32  * notification is generated by the dying thread before it terminates.
    33  * notification is generated by the dying thread before it terminates.
    33  * Because of this timing, it is possible
    34  * Because of this timing, it is possible
    44  *
    45  *
    45  * @author Robert Field
    46  * @author Robert Field
    46  * @since  1.3
    47  * @since  1.3
    47  */
    48  */
    48 public interface ThreadDeathEvent extends Event {
    49 public interface ThreadDeathEvent extends Event {
       
    50 
    49     /**
    51     /**
    50      * Returns the thread which is terminating.
    52      * Returns the thread which is terminating.
    51      *
    53      *
    52      * @return a {@link ThreadReference} which mirrors the event's thread in
    54      * @return a {@link ThreadReference} which mirrors the event's thread in
    53      * the target VM.
    55      * the target VM.