diff options
Diffstat (limited to 'tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java')
-rw-r--r-- | tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java b/tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java new file mode 100644 index 0000000..fa1b06e --- /dev/null +++ b/tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java @@ -0,0 +1,11 @@ +import java.applet.Applet; +import netscape.javascript.JSObject; + +public class JSObjectWithoutToString extends Applet { + + public void callJSToString(JSObject jso) { + System.out.println(jso.toString()); + System.out.println("*** APPLET FINISHED ***"); + } + +} |