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

Nashorn throws "TypeError: Cannot read property "_key" from undefined" on third iteration of box2d.js when running using jsr223 API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 8
    • core-libs
    • None

      When box2d.js of octane suite is run multiple iterations (10) on nashorn, nashorn throws TypeError on third iteration. The same java code and script works fine on rhino script engine. So, it definitely seems to be either a nashorn issue or a VM issue.

        1. box2d.zip
          178 kB
        2. box2d_rhino.txt
          0.5 kB
        3. box2d_nashorn.txt
          3 kB
        4. box2d_metaspace_oom_nashorn.txt
          4 kB

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

              Created:
              Updated:
              Resolved: