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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • b105
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: