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

instance property "message" of Error objects should be non-enumerable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • None
    • b02
    • generic
    • generic

    Backports

      Description

        ECMA section 15 Standard Built-in ECMAScript Objects says:

        "Every other property described in this clause has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified."

        Instance property of Error, TypeError, URIError etc. is enumerable in nashorn. Confirmed with other impls. that this property is non-enumerable. (unfortunately this is not covered by test262..)

        Attachments

          Issue Links

            Activity

              People

                sundar Sundararajan Athijegannathan
                sundar Sundararajan Athijegannathan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: