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

Octane Raytrace fails when optimistic typing turned off

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u40
    • core-libs
    • b10
    • x86
    • linux

        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

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

                Created:
                Updated:
                Resolved: