Closed
Bug 278133
Opened 20 years ago
Closed 3 years ago
Implement 'array' param support
Categories
(Core Graveyard :: Java to XPCOM Bridge, defect)
Core Graveyard
Java to XPCOM Bridge
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jhpedemonte, Unassigned)
Details
Attachments
(1 file)
|
101.66 KB,
patch
|
Details | Diff | Splinter Review |
Currently, the parameter setup code in nsJavaWrapper and nsJavaXPTCStub just prints a warning message and returns an error for 'array' parameters. The frozen interface nsIProperties has a method that uses an 'array' return value (nsIProperties::getKeys()).
| Reporter | ||
Comment 1•20 years ago
|
||
Work in progress patch for 'array' parameter support in nsJavaWrapper.cpp.
| Reporter | ||
Comment 2•18 years ago
|
||
Comment on attachment 180488 [details] [diff] [review] work in progress (diff -w) (checked in) This patch was checked in a while back. Arrays (and sized strings) are currently supported in nsJavaWrapper.cpp (that is, the Java->XPCOM direction), but not in nsJavaXPTCStub (XPCOM->Java direction). Need to follow xpconnect: create an equivalent of the XPCConvert class, which centralizes all of the Java<->XPCOM parameter marshalling code. This would greatly reduce complexity, and reduce some code duplication.
Attachment #180488 -
Attachment description: work in progress (diff -w) → work in progress (diff -w) (checked in)
| Assignee | ||
Updated•10 years ago
|
Product: Core → Core Graveyard
Comment 3•3 years ago
|
||
JavaXPCOM was removed in bug 648593.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•