Skip to main content

ERR_INVALID_OBJECT

Constant ERR_INVALID_OBJECT 

Source
pub const ERR_INVALID_OBJECT: u16 = 20;
Expand description

INVALID_OBJECT — the object id is not one this JVM currently knows.

Public for the same reason as the two above, and it is the sharpest example of the rule: a JDWP object id is a weak reference, so this is what a perfectly valid id becomes once the object it named is collected. CONTEXT.md calls that Vanished, and reporting it as a transport failure would blame the debugger for the garbage collector doing its job (TRACE-10, #85).