diff options
Diffstat (limited to 'java/jdk14/files/patch-javascript_JSInvoke.java')
-rw-r--r-- | java/jdk14/files/patch-javascript_JSInvoke.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/java/jdk14/files/patch-javascript_JSInvoke.java b/java/jdk14/files/patch-javascript_JSInvoke.java new file mode 100644 index 000000000000..fc692b9cb9c1 --- /dev/null +++ b/java/jdk14/files/patch-javascript_JSInvoke.java @@ -0,0 +1,26 @@ +$FreeBSD$ + +--- ../../deploy/src/plugin/src/share/classes/sun/plugin/javascript/JSInvoke.java 1 Jan 1970 00:00:00 -0000 ++++ ../../deploy/src/plugin/src/share/classes/sun/plugin/javascript/JSInvoke.java 3 Dec 2004 03:56:58 -0000 1.1 +@@ -0,0 +1,21 @@ ++/* ++ * @(#)JSInvoke.java 1.1 04/06/20 ++ * ++ * Copyright 2004 Sun Microsystems, Inc. All rights reserved. ++ * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. ++ */ ++ ++package sun.plugin.javascript.invoke; ++ ++import java.lang.reflect.Method; ++import java.lang.reflect.InvocationTargetException; ++ ++/* ++ * JavaScript to Java invocation trampoline class. ++ */ ++class JSInvoke { ++ private static Object invoke(Method m, Object obj, Object[] params) ++ throws InvocationTargetException, IllegalAccessException { ++ return m.invoke(obj, params); ++ } ++} |