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

Typo in documentation of guarded blocks

XMLWordPrintable

    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      There is a small typo in this page - https://docs.oracle.com/javase/tutorial/essential/concurrency/guardmeth.html
      ```
      Note: There is a second notification method, notify, which wakes up a single thread. Because notify doesn't allow you to specify the thread that is woken up, it is useful only in massively parallel applications — that is, programs with a large number of threads, all doing similar chores. In such an application, you don't care which thread gets woken up.
      ```
      In this, 'Because notify doesn't' should be instead 'Because notifyAll doesn't'.


      FREQUENCY : always


            dholmes David Holmes
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: