... this time in combination with running Rhino's CVS HEAD.

Does anybody know what is going on here[1]?  All tests that try to
execute some Javascript fail with a "FAILED ASSERTION" inside Rhino -
the innermost exception always seems to be

    [junit] --- Nested Exception ---
    [junit] java.lang.RuntimeException: FAILED ASSERTION
    [junit]     at org.mozilla.javascript.Context.codeBug(Context.java:2093)
    [junit]     at 
org.mozilla.javascript.ScriptOrFnNode.setBaseLineno(ScriptOrFnNode.java:66)
    [junit]     at org.mozilla.javascript.IRFactory.initScript(IRFactory.java:65)
    [junit]     at org.mozilla.javascript.Parser.parse(Parser.java:148)
    [junit]     at org.mozilla.javascript.Context.compile(Context.java:1923)
    [junit]     at org.mozilla.javascript.Context.compileString(Context.java:927)
    [junit]     at org.mozilla.javascript.Context.evaluateString(Context.java:784)
    [junit]     at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown 
Source)
    [junit]     at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source)
    [junit]     at org.apache.bsf.BSFManager$6.run(Unknown Source)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.apache.bsf.BSFManager.exec(Unknown Source)
    [junit]     at org.apache.bsf.BSFManager.exec(Unknown Source)

There are several Javascript snippets that used to work two days ago.

Stefan

Footnotes: 
[1] http://cvs.apache.org/builds/gump/2003-07-09/test-ant.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to