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

Javadoc for Thread.join(long, int) should specify that it waits forever when both arguments are zero

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • Verification:
      Not verified

      Backports

        Description

        Currently the javadoc states:
        "Waits at most millis milliseconds plus nanos nanoseconds for this thread to die."
        https://download.java.net/java/early_access/jdk11/docs/api/java.base/java/lang/Thread.html#join(long,int)

        It should mention that if both arguments are zero, the method will wait forever like in the javadoc for join(long).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igerasim Ivan Gerasimov (Inactive)
                  Reporter:
                  igerasim Ivan Gerasimov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: