File: 01_EvaluatorExceptionCompileFix.patch

package info (click to toggle)
libbsf-java 1%3A2.4.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,036 kB
  • ctags: 2,470
  • sloc: java: 5,373; xml: 211; ansic: 182; python: 57; makefile: 15
file content (11 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
--- src/org/apache/bsf/engines/javascript/JavaScriptEngine.java.orig	2005-03-10 18:51:48.068256016 +0100
+++ src/org/apache/bsf/engines/javascript/JavaScriptEngine.java	2005-03-10 18:52:12.629522136 +0100
@@ -119,7 +119,7 @@
             //       Any way to make these arguments *sensible?
             if (fun == Scriptable.NOT_FOUND)
                 throw new EvaluatorException("function " + method +
-                                             " not found.", "none", 0);
+                                             " not found.", "none", 0, null, 0);
 
             cx.setOptimizationLevel(-1);
             cx.setGeneratingDebug(false);