Closed Bug 68338 Opened 25 years ago Closed 25 years ago

Changes to MRJ plugin LiveConnect native methods

Categories

(Core Graveyard :: Java: OJI, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.8.1

People

(Reporter: beard, Assigned: beard)

References

Details

Attachments

(3 files)

Here are some changes that are necessary to keep the MRJ plugin compiling with the proposed changes in bug # 63466, mainly the change to the nsILiveconnect interface. Interestingly, changing the type of the securityContext parameter to nsISupports uncovered some incorrect parameter passing bugs in the code.
Do we require super-review for this plugin? I guess so, if it's "in process" and all that (http://www.mozilla.org/hacking/reviewers.html). diff -u is my friend. Nominating for 0.8. Who should review? /be
Keywords: mozilla0.8
Noting dependency, updating status whiteboard. Patrick, can you ASSIGN this bug and set Target Milestone, in addition to attaching a diff -u patch? Thanks, /be
Depends on: 63466
Whiteboard: critical to mozilla0.8
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.8
Wow, is this a non-standard C++ extension for "weak linking"? + if (&NS_GetGlobalComponentManager) { + NS_GetGlobalComponentManager(&theComponentManager); + } How about using nsCOMPtr and do_GetService here, instead of kickin' it old school? + nsIIOService* ioService; + static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID); + nsresult rv = theServiceManager->GetService(kIOServiceCID, NS_GET_IID(nsIIOService), (nsISupports**)&ioService); + if (rv == NS_OK) + rv = ioService->NewURI(spec, baseURI, result); + NS_RELEASE(ioService); Otherwise, looks ok to me. Does this void* to nsISupports* change mean Sun's JVM plugin, and any others, also need to change? I.e., aren't you changing a part of the OJI for all JVMs that support LiveConnect? /be
Changes landed on trunk. Will land on 0.8 branch tomorrow.
has this landed on the branch? I saw a checkin with bug 63466 in the comment but I didn't see a checkin comment with this bug #.
Actually, it looks like this did make it into the branch and it's bug 63466's patch that did not make it in.
sorry for all the spam (it was well intentioned), cleaning up whiteboard, patches for both of these bugs did make it into the 0.8 branch.
Whiteboard: critical to mozilla0.8
Target Milestone: mozilla0.8 → mozilla0.8.1
Keywords: mozilla0.8
This stuff was checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified per beard's comments.
Status: RESOLVED → VERIFIED
QA Contact: shrir → junruh
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: