From 769af1a8ac451d2039333afab3a475aabf2393ed Mon Sep 17 00:00:00 2001 From: Miroslav Ć ulc Date: Sun, 16 Nov 2008 16:14:35 +0000 Subject: Added ebuild from java-overlay (Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo x86_64) --- dev-java/httpunit/files/rhino-fix-1.6.2.diff | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-java/httpunit/files/rhino-fix-1.6.2.diff (limited to 'dev-java/httpunit') diff --git a/dev-java/httpunit/files/rhino-fix-1.6.2.diff b/dev-java/httpunit/files/rhino-fix-1.6.2.diff new file mode 100644 index 000000000000..c439d7183ca0 --- /dev/null +++ b/dev-java/httpunit/files/rhino-fix-1.6.2.diff @@ -0,0 +1,25 @@ +diff -Nur httpunit-1.6.2/src/com/meterware/httpunit/javascript/JavaScript.java httpunit-1.6.2_fixed/src/com/meterware/httpunit/javascript/JavaScript.java +--- httpunit-1.6.2/src/com/meterware/httpunit/javascript/JavaScript.java 2006-03-26 22:16:46.000000000 +0300 ++++ httpunit-1.6.2_fixed/src/com/meterware/httpunit/javascript/JavaScript.java 2007-10-14 20:34:03.000000000 +0300 +@@ -838,8 +838,6 @@ + static ElementArray newElementArray( Scriptable parent ) { + try { + return (ElementArray) Context.getCurrentContext().newObject( parent, "ElementArray" ); +- } catch (PropertyException e) { +- throw new RhinoException( e ); + } catch (NotAFunctionException e) { + throw new RhinoException( e ); + } catch (JavaScriptException e) { +@@ -1144,10 +1142,10 @@ + + class RhinoException extends RuntimeException { + +- private Exception _cause; ++ private Throwable _cause; + + +- public RhinoException( Exception cause ) { ++ public RhinoException( Throwable cause ) { + _cause = cause; + } + -- cgit v1.2.3-65-gdbad