[Webkit-unassigned] [Bug 57859] Add implementations of JavaInstance, JavaClass, JavaField and JavaMethod that simply proxy calls to a listener.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 08:46:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57859





--- Comment #7 from Alexey Proskuryakov <ap at webkit.org>  2011-04-06 08:46:25 PST ---
> There's a description in Bug 57230, the umbrella bug for this feature.

I don't think that this is a correct approach. A remote object has pretty much nothing in common with a JavaObject implemented over JNI - but it's almost the same as a remote NPAPI object. In fact, Java is gravitating towards being implemented via an NPAPI plug-in, and the new version of JNI is tailored to that.

What you need seems to be implementing remote objects in Java, which is OK, but they don't need to be JavaObjects on WebCore side.

It seems that you've been working in this direction for a while - I'm sorry that I only realized it now what you are trying to do.

+    // FIXME: This ugliness is required because we're not able to use OwnPtr in
+    // a HashMap. An alternative would be to use RefPtr, but making JavaMethod

You can probably use deleteAllValues() here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list