hg: nashorn/jdk9/nashorn: 8037177: -Dnashorn.optimistic should be enabled by default, meaning that it has to be explicitly set to false to run with the jdk 8 style conservative types

marcus.lagergren at oracle.com marcus.lagergren at oracle.com
Wed Mar 12 09:35:05 UTC 2014


Changeset: 3c1163f9c095
Author:    lagergren
Date:      2014-03-12 10:31 +0100
URL:       http://hg.openjdk.java.net/nashorn/jdk9/nashorn/rev/3c1163f9c095

8037177: -Dnashorn.optimistic should be enabled by default, meaning that it has to be explicitly set to false to run with the jdk 8 style conservative types
Summary: This will be the new default setting, so the explicit flag should be removed, and instead reverse checked for explicitly DISABLED optimistic types. In the future, we might remove the flag altogether.
Reviewed-by: attila, hannesw

! bin/runoptdualcatch.sh
! src/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk/nashorn/internal/codegen/ObjectClassGenerator.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/options/Options.java



More information about the nashorn-dev mailing list