Closed
Bug 367792
Opened 19 years ago
Closed 18 years ago
Crash when running Java unit tests that call initXPCOM
Categories
(Core Graveyard :: Java to XPCOM Bridge, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhpedemonte, Assigned: jhpedemonte)
References
Details
(Keywords: verified1.8.1.4)
Attachments
(1 file)
2.79 KB,
patch
|
dveditz
:
approval1.8.1.4+
|
Details | Diff | Splinter Review |
When running any of the Java tests from bug 350886 that call |Mozilla.initXPCOM()|, test crashes when trying to access the directory service provider.
The issue was that I was deleting the provided service provider immediately after calling |NS_InitXPCOM2()| (how did this code ever work?). Fixed that code to properly use an nsCOMPtr. Also fixed a related issue in |Mozilla.shutdownXPCOM()|.
Patch attached.
Assignee | ||
Comment 1•18 years ago
|
||
Checked in to trunk. -> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 252386 [details] [diff] [review]
patch
Asking for 1.8.1.3 approval. Fix for crasher. XULRunner only.
Attachment #252386 -
Flags: approval1.8.1.3?
Comment 3•18 years ago
|
||
Comment on attachment 252386 [details] [diff] [review]
patch
approved for 1.8.1.4, a=dveditz for release-drivers
Attachment #252386 -
Flags: approval1.8.1.4? → approval1.8.1.4+
Comment 6•18 years ago
|
||
Javier: If you have verified this fix with the latest 2.0.0.4 rc builds, can you update the keywords with "verified1.8.14"? Thanks!
Assignee | ||
Updated•18 years ago
|
Keywords: fixed1.8.1.4 → verified1.8.1.4
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•