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

Octane Raytrace fails when optimistic typing turned off

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      x86
    • OS:
      linux

      Backports

        Description

        cmdline:
        java jdk.nashorn.tools.Shell test/script/basic/run-octane.js --optimistic-types=false -scripting -- raytrace --runtime nashorn --verbose --iterations 5
        -----------------
        [nashorn] [raytrace] loading 'raytrace' [raytrace.js]...
        [nashorn] [raytrace] running 'raytrace' for 5 iterations of no less than 5 seconds
        [nashorn] [raytrace] *** Aborted and setting score to zero. Reason: TypeError: Cannot read property "red" from undefined
        [nashorn] [raytrace] 0 ops/minute (0-0), warmup=0
        -----------------
        There is no problem in optimistic typing on any build.
        When optimistic typing turned off:
        - jdk8u40b05 - passed
        - jdk8u40b06 - fail
        - jdk8u40b06 - fail
        - custom build from 8u-dev repo (by 23 Sept) - passed

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lagergren Marcus Lagergren
                Reporter:
                skuksenko Sergey Kuksenko
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: