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

Typo in documentation of guarded blocks

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      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


        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: