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

Typo in javadoc for Component.getTreeLock()

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Not verified

      Description

      FULL PRODUCT VERSION :
      <= Java 6

      ADDITIONAL OS VERSION INFORMATION :
      not applicable

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      not applicable

      A DESCRIPTION OF THE PROBLEM :
      There is a typo is the description of java.awt.Component.getTreeLock().

      It says:
      "Gets this component's locking object (the object that owns the thread sychronization monitor) for AWT component-tree and layout operations."

      s/sychronization/synchronization

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open your browser.
      Browse the J2SE API documentation.

      Click on java.awt.Component.getTreeLock().
      Read the description.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Shall say:

      "Gets this component's locking object (the object that owns the thread synchronization monitor) for AWT component-tree and layout operations."
      ACTUAL -
      "Gets this component's locking object (the object that owns the thread sychronization monitor) for AWT component-tree and layout operations."

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            dcherepanov Dmitry Cherepanov
            Reporter:
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: