r9518 - helma/helma/trunk/src/helma/scripting/rhino

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <[email protected]>
Author: hannes
Date: 2009-02-18 10:24:33 +0100 (Wed, 18 Feb 2009)
New Revision: 9518

Modified:
   helma/helma/trunk/src/helma/scripting/rhino/RhinoCore.java
Log:
Fix bug  657: Report warnings as error when strictVars app property is set to true.

Details at http://dev.helma.org/trac/helma/changeset/9518

Modified: helma/helma/trunk/src/helma/scripting/rhino/RhinoCore.java
===================================================================
--- helma/helma/trunk/src/helma/scripting/rhino/RhinoCore.java	2009-02-17 22:16:15 UTC (rev 9517)
+++ helma/helma/trunk/src/helma/scripting/rhino/RhinoCore.java	2009-02-18 09:24:33 UTC (rev 9518)
@@ -1146,6 +1146,7 @@
                     return true;
 
                 case Context.FEATURE_STRICT_VARS:
+                case Context.FEATURE_WARNING_AS_ERROR:
                     return strictVars;
 
                 default:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.