Wrap C++ objects with interface-specific Java proxies

RESOLVED FIXED

Status

enhancement
P3
normal
RESOLVED FIXED
20 years ago
5 years ago

People

(Reporter: frankm, Assigned: drapeau)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

20 years ago
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.)
Reporter

Comment 1

20 years ago
Assign to self, until other help emerges.

Comment 2

19 years ago
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

Comment 3

19 years ago
done
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.