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

Degrade Thread.countStackFrames() to throw UOE

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      This method is deprecated for removal:

      @Deprecated(since="1.2", forRemoval=true) int java.lang.Thread.countStackFrames()

      Update: This issue was originally created to remove this method. Joe Darcy has suggested that we degrade it first, to throw UOE, in advance of removing it. This is the approach we also used for Thread.stop(Throwable).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alanb Alan Bateman
              Reporter:
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: