Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6992720

RFE: ThreadReference needs a way to show Thread interrupt flag setting

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • 10
    • 6u10
    • core-svc
    • x86
    • windows_xp

      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.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: