A DESCRIPTION OF THE REQUEST :
com.sun.jdi.ThreadReference in the JDI debugger part of the JDK needs to have a way to show the setting of the interrupt flag of a thread, similar to the java.lang.Thread.isInterrupted() call.
JUSTIFICATION :
A Java debugger needs to be able to show to the user the setting of the interrupt flag of any thread.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Have a new method called ThreadReference.isInterrupted() which works similar to the way java.lang.Thread.isInterrupted() works.
ACTUAL -
There is currently no way to get the setting of the interrupt flag of each thread when the debugger has stopped the debuggee.
com.sun.jdi.ThreadReference in the JDI debugger part of the JDK needs to have a way to show the setting of the interrupt flag of a thread, similar to the java.lang.Thread.isInterrupted() call.
JUSTIFICATION :
A Java debugger needs to be able to show to the user the setting of the interrupt flag of any thread.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Have a new method called ThreadReference.isInterrupted() which works similar to the way java.lang.Thread.isInterrupted() works.
ACTUAL -
There is currently no way to get the setting of the interrupt flag of each thread when the debugger has stopped the debuggee.
- relates to
-
JDK-4799761 JDI: ThreadReference should expose more fields in java.lang.Thread
-
- Closed
-