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

(spec thread) Thread.stop missing @throws NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b59
    • CPU:
      generic
    • OS:
      generic

      Description

      The Thread.stop(Throwable) javadoc mentions a check for null arguments but there is no corresponding @throws, making it easy to overlook this detail.

      Existing TCK test api/java_lang/Thread/index.html#stop1 covers this spec detail, no need for an additional test.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psoper Pete Soper (Inactive)
              Reporter:
              psoper Pete Soper (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: