jdk/src/jdk.jdi/share/classes/com/sun/jdi/ModuleReference.java
changeset 45564 0149773a140c
parent 42338 a60f280f803c
equal deleted inserted replaced
45563:ece4ae6beba3 45564:0149773a140c
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 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;
    26 package com.sun.jdi;
    27 
    27 
       
    28 import com.sun.jdi.event.EventQueue;
       
    29 import com.sun.jdi.event.VMDisconnectEvent;
    28 
    30 
    29 /**
    31 /**
    30  * A module in the target VM.
    32  * A module in the target VM.
    31  * <p>
    33  * <p>
    32  * Any method on {@code ModuleReference} which directly or
    34  * Any method on {@code ModuleReference} which directly or indirectly takes
    33  * indirectly takes {@code ModuleReference} as a parameter may throw
    35  * {@code ModuleReference} as a parameter may throw {@link VMDisconnectedException}
    34  * {@link com.sun.jdi.VMDisconnectedException} if the target VM is
    36  * if the target VM is disconnected and the {@link VMDisconnectEvent} has been or is
    35  * disconnected and the {@link com.sun.jdi.event.VMDisconnectEvent} has been or is
    37  * available to be read from the {@link EventQueue}.
    36  * available to be read from the {@link com.sun.jdi.event.EventQueue}.
       
    37  * <p>
    38  * <p>
    38  * Any method on {@code ModuleReference} which directly or
    39  * Any method on {@code ModuleReference} which directly or indirectly takes
    39  * indirectly takes {@code ModuleReference} as a parameter may throw
    40  * {@code ModuleReference} as a parameter may throw {@link VMOutOfMemoryException}
    40  * {@link com.sun.jdi.VMOutOfMemoryException} if the target VM has run out of memory.
    41  * if the target VM has run out of memory.
    41  * <p>
    42  * <p>
    42  * Any method on {@code ModuleReference} or which directly or indirectly takes
    43  * Any method on {@code ModuleReference} or which directly or indirectly takes
    43  * {@code ModuleReference} as a parameter may throw
    44  * {@code ModuleReference} as a parameter may throw {@link InvalidModuleException}
    44  * {@link com.sun.jdi.InvalidModuleException} if the mirrored module
    45  * if the mirrored module has been unloaded.
    45  * has been unloaded.
       
    46  *
    46  *
    47  * Not all target virtual machines support this class.
    47  * Not all target virtual machines support this class.
    48  * Use {@link VirtualMachine#canGetModuleInfo()}
    48  * Use {@link VirtualMachine#canGetModuleInfo()}
    49  * to determine if the class is supported.
    49  * to determine if the class is supported.
    50  *
    50  *