hg: nashorn/jdk9/nashorn: 8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one.

marcus.lagergren at oracle.com marcus.lagergren at oracle.com
Fri Mar 14 13:27:39 UTC 2014


Changeset: 005ac813256a
Author:    lagergren
Date:      2014-03-14 14:27 +0100
URL:       http://hg.openjdk.java.net/nashorn/jdk9/nashorn/rev/005ac813256a

8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one.
Summary: This uses the inspection framework for generated code to ensure optimisim.
Reviewed-by: attila, lagergren
Contributed-by: matherey.nunez at oracle.com

+ test/script/basic/optimistic_check_type.js
+ test/script/basic/optimistic_check_type.js.EXPECTED
+ test/src/jdk/nashorn/test/tools/StaticTypeInspector.java



More information about the nashorn-dev mailing list