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

Object.getPrototypeOf should return null for host objects rather than throwing TypeError

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b105
    • generic
    • generic

    Description

      jjs> Object.getPrototypeOf(new java.lang.Object())
      <shell>:1 TypeError: java.lang.Object@10726a3 is not an Object

      should be evaluated to 'null' rather than resulting in TypeError.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: