[Bug 1198] JSObject passed to Javascript incorrectly

Adam Domurad adomurad at redhat.com
Thu Nov 29 11:13:54 PST 2012

On 11/29/2012 05:47 AM, helpcrypto helpcrypto wrote:
> Hi Adam.
> Just to know, are there any news about this?
>     Adam Domurad <mailto:adomurad at redhat.com> changed bug 1198
>     <http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1198>
>     What 	Removed 	Added
>     Summary 	JSObject#eval creates invalid JS object 	JSObject passed
>     to Javascript incorrectly
>     ------------------------------------------------------------------------

Hi. I'll hopefully have a fix posted by tomorrow or so.
The issue is __that JSObject is passed to Javascript as if it were a 
normal java object - ie you can call JSObject specific methods on it 
like you can for other Java objects passed to JS. This is obviously not 
what should happen, the actual javascript object needs to be unboxed.
This will be special cased so that the javascript object reference that 
the JSObject contains will be used, instead of a Java object wrapper.

Happy hacking,
- Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121129/eab99dce/attachment.html 

More information about the distro-pkg-dev mailing list