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

Get rid of global optimistic flag

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 8u40
    • core-libs
    • None
    • b17
    • generic
    • generic

    Backports

      Description

        Currently, optimistic compilation is governed with the system property "nashorn.optimistic". It should be a command line option (e.g. --optimistic-types) configurable on a per-script-environment basis.

        As part of this, tests currently relying on the optimistic flag (NumberAccessTest and NumberBoxingTest) should be relaxed to work identically with optimistic and non-optimistic compilation.

        Attachments

          Issue Links

            Activity

              People

                attila Attila Szegedi
                attila Attila Szegedi
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: