An object that currently exists in the target VM. An ObjectReference mirrors only the object itself and is not specific to any {@link Field} or {@link LocalVariable} to which it is currentlyassigned. An ObjectReference can have 0 or more references from field(s) and/or variable(s).
Any method on ObjectReference
which directly or indirectly takes ObjectReference
as an parameter may throw {@link com.sun.jdi.VMDisconnectedException} if the target VM isdisconnected and the {@link com.sun.jdi.event.VMDisconnectEvent} has been or isavailable to be read from the {@link com.sun.jdi.event.EventQueue}.
Any method on ObjectReference
which directly or indirectly takes ObjectReference
as an parameter may throw {@link com.sun.jdi.VMOutOfMemoryException} if the target VM has run out of memory.
Any method on ObjectReference
or which directly or indirectly takes ObjectReference
as parameter may throw {@link com.sun.jdi.ObjectCollectedException} if the mirrored object has beengarbage collected.
@author Robert Field
@author Gordon Hirsch
@author James McIlree
@since 1.3