[Webkit-unassigned] [Bug 9761] New: LiveConnect string conversion fails for java.lang.Object

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Jul 6 12:44:18 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9761

           Summary: LiveConnect string conversion fails for java.lang.Object
           Product: WebKit
           Version: 412
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: marc at netopia.com


The LiveConnect JavaScript-to-Java type conversion rules for JavaScript strings
are at
<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:LiveConnect_Overview:Data_Type_Conversions:JavaScript_to_Java_Conversions#String_Values>

They specifically that JavaScript strings are converted to java.lang.String for
arguments of both java.lang.String and java.lang.Object types.  On Mac OS X
10.4.7, though, only arguments of type java.lang.String work.  java.lang.Object
arguments become null.

I'll send along an attachment with an example.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list