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

SyntaxError when property setter has no parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Testcase:
        var x = {
          get toto() {
          },
          set toto() {
          }
        }
        nodejs on v8 is fine with this syntax. It doas impact ether-lite-pad

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                jfdenise Jean-Francois Denise (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: