java.lang.Thread constructor's ThreadGroup argument documentation is incorrect

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • beta
    • generic
    • generic

      The specification of the "group" argument to the java.lang.Thread constructor
      is incorrect. It says that if group==null, "the new process belongs to the
      same group as the thread that is creating the new thread".

      In reality, if a SecurityManager is installed (as in appletviewer), if
      group==null, the new thread will belong to the group returned from the
      SecurityManager's getThreadGroup() method.

      This specification should be updated to match reality.

            Assignee:
            Alan Sommerer (Inactive)
            Reporter:
            Fred Ecks (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: