[rfc][icedtea-web] Reproducer for PR1198: JSObject#eval creates invalid JS object

Adam Domurad adomurad at redhat.com
Fri Nov 9 11:26:05 PST 2012

Reproduces http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1198.
When calling:

                     JSObject win = JSObject.getWindow(applet);
                     JSObject js = (JSObject) win.eval("new Object();")

'js' should be a valid JSObject, but due to this bug it is not possible 
to set or query its members. (JSObject encapsulates an ID passed from 
the C++ side of things, still looking into cause of bug).

2012-11-09  Adam Domurad  <adomurad at redhat.com>

     Reproducer for PR1198, JSObject#eval creates invalid JS object.
     Loads applet + JS for test
     Calls java code to test JSObject#eval
     * tests/reproducers/simple/JSObjectFromEval/srcs/JSObjectFromEval.java:
     Provides java<->JS wrappers for JSObject methods
     Tests if JSObject#eval creates valid JSObject.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JSObjectFromEval.patch
Type: text/x-patch
Size: 9926 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121109/608eedcf/JSObjectFromEval.patch 

More information about the distro-pkg-dev mailing list