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

Setting __proto__ to null removes the __proto__ property

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: