[Bug 1198] JSObject passed to Javascript incorrectly

Adam Domurad adomurad at redhat.com
Fri Nov 30 13:10:53 PST 2012

On 11/30/2012 07:58 AM, helpcrypto helpcrypto wrote:
> Thanks a lot!
> Ill be waiting to test if our applet finally works.
> :D
> On Thu, Nov 29, 2012 at 8:13 PM, Adam Domurad <adomurad at redhat.com 
> <mailto:adomurad at redhat.com>> wrote:
>     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

I have posted the patch (actually, it was quite a lot of furious coding 
getting it out by today, but you motivated me :) I still plan to do some 
further testing but wanted your feedback as you have code relying on 
this feature. Please let me know how it fairs. The patch should be 
applied to icedtea-web HEAD. Let me know if theres patching/runtime 
problems, or if additional bugs surface.

- Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121130/55388cca/attachment.html 

More information about the distro-pkg-dev mailing list