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 Thu, 03 Jul 2003 16:01:26 GMT
orlikowski    2003/07/03 09:01:26

  Modified:    src/org/apache/bsf/engines/javascript JavaScriptEngine.java
  Log:
  Fix up a build error caused by unwrap() becoming deprecated in Rhino.
  
  Submitted by: Igor Bukanov <igor@fastmail.fm>
  Reviewed by: Victor J. Orlikowski <orlikowski@apache.org>
  
  Revision  Changes    Path
  1.3       +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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JavaScriptEngine.java	25 Jun 2003 09:27:39 -0000	1.2
  +++ JavaScriptEngine.java	3 Jul 2003 16:01:26 -0000	1.3
  @@ -191,7 +191,7 @@
   
       private void handleError(Throwable t) throws BSFException {
           if (t instanceof WrappedException)
  -            t = (Throwable) ((WrappedException) t).unwrap();
  +            t = ((WrappedException) t).getWrappedException();
   
           String message = null;
           Throwable target = t;
  
  
  

Mime
View raw message