JDK-4228509 : JDI: Add exit info to the VMDeathEvent
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.2.0
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 1999-04-10
  • Updated: 2016-11-03
  • Resolved: 2016-11-03
Related Reports
Relates :  
Description
Can an additional method be added to the VMDisconnect or VMDeath events to return the exit code and any descriptive text.



Comments
This is not on our list of current priorities, if this changes please re-open this issue.
03-11-2016

EVALUATION There is some question about our ability to reliably generate this information given multiple exit paths in the VM itself, not counting what a native agent can do. At the Java level some of this functionality could be implemented using BCI. For example, System.exit() could be instrumented. We are likely to close this bug as "will not fix".
30-01-2007