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

JavaDoc for for..in is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b170
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Dai Conrad:

        I was looking at the parser API and I noticed that in the class
        ForOfLoopTree, the methods getStatement() and getVariable()
        have the following javadoc, respectively:

           The statement contained in this for..in statement.

           The for..in left hand side expression.

        In both cases "for..in" should read "for..of".

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sdama Srinivas Dama (Inactive)
                Reporter:
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: