diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-11-16 16:14:35 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-11-16 16:14:35 +0000 |
commit | 769af1a8ac451d2039333afab3a475aabf2393ed (patch) | |
tree | 7137939eaf9e554ff519b27e5b05595fb4d10be3 /dev-java/httpunit | |
parent | Stable on alpha, bug #246826 (diff) | |
download | gentoo-2-769af1a8ac451d2039333afab3a475aabf2393ed.tar.gz gentoo-2-769af1a8ac451d2039333afab3a475aabf2393ed.tar.bz2 gentoo-2-769af1a8ac451d2039333afab3a475aabf2393ed.zip |
Added ebuild from java-overlay
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'dev-java/httpunit')
-rw-r--r-- | dev-java/httpunit/files/rhino-fix-1.6.2.diff | 25 |
1 files changed, 25 insertions, 0 deletions
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; + } + |