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

Setting __proto__ to null removes the __proto__ property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 8
    • 8
    • core-libs
    • None
    • b108
    • generic
    • generic
    • Verified

    Description

      Test case attached. We are in a case where the __proto__ of an instance i can be set to null. Once set to null, any call to i.__proto__ creates a new __proto__ property that is unrelated to the actual __proto__ property.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: