jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: jakarta-bsf/src/org/apache/bsf/engines/javascript JavaScriptEngine.java
Date Wed, 09 Jul 2003 16:12:51 GMT
orlikowski    2003/07/09 09:12:51

  Modified:    src/org/apache/bsf/engines/javascript JavaScriptEngine.java
  Log:
  Negative line numbers are not permitted, when submitting scripts to
  Rhino for evaluation.
  
  Revision  Changes    Path
  1.5       +1 -1      jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java
  
  Index: JavaScriptEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JavaScriptEngine.java	8 Jul 2003 02:56:50 -0000	1.4
  +++ JavaScriptEngine.java	9 Jul 2003 16:12:51 -0000	1.5
  @@ -172,7 +172,7 @@
               cx.setDebugger(null, null);
   
               retval = cx.evaluateString(global, scriptText,
  -                                       null, -1, null);
  +                                       null, 1, null);
   
               if (retval instanceof NativeJavaObject)
                   retval = ((NativeJavaObject) retval).unwrap();
  
  
  

Mime
View raw message