Bug 35202 - Calling Java method which accepts Object always passes a null argument
Summary: Calling Java method which accepts Object always passes a null argument
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Java (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
: 35203 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-20 18:42 PST by Alexey Proskuryakov
Modified: 2010-02-20 22:02 PST (History)
0 users

See Also:


Attachments
proposed fix (5.36 KB, patch)
2010-02-20 18:45 PST, Alexey Proskuryakov
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2010-02-20 18:42:25 PST
Bug 9761 said that converting from JS to Java with target type java.lang.Object should produce a String object. This is actually more general, other types also need to be converted to appropriate objects.

<rdar://problem/4856597>
Comment 1 Alexey Proskuryakov 2010-02-20 18:42:54 PST
*** Bug 35203 has been marked as a duplicate of this bug. ***
Comment 2 Alexey Proskuryakov 2010-02-20 18:45:04 PST
Created attachment 49139 [details]
proposed fix
Comment 3 Maciej Stachowiak 2010-02-20 20:56:37 PST
Comment on attachment 49139 [details]
proposed fix

r=me
Comment 4 Alexey Proskuryakov 2010-02-20 22:02:07 PST
Committed <http://trac.webkit.org/changeset/55059>.