Closed Bug 15491 Opened 21 years ago Closed 20 years ago

Wrap C++ objects with interface-specific Java proxies

Categories

(Core Graveyard :: Java to XPCOM Bridge, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: frankm, Assigned: drapeau)

Details

To represent a C++ object in the Java VM, the system should allocate a proxy
class appropriate to the object being wrapped.  E.g. instances of nsIWebShell
should be proxied by some object implementing the Java nsIWebShell interface.

This requires classes mirroring each XPCOM interface, generated on-the-fly or
statically, that forward arguments to the C++ instance.  Mapping an interface to
the appropriate class may only require a name-based lookup.  (E.g. the proxy
class for [interface] is always org.mozilla.xpcom.[interface]__Proxy.)
Assign to self, until other help emerges.
Frank Mitchell no longer works at Sun and his email is bouncing. Reassigning
his 21 bugs to george for reassignment.
Assignee: frankm → drapeau
Status: ASSIGNED → NEW
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.