Closed
Bug 4839
Opened 26 years ago
Closed 26 years ago
nsJVMManager.cpp includes the private NSPR header primpl.h.
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M6
People
(Reporter: wtc, Assigned: beard)
Details
mozilla/modules/oji/src/nsJVMManager.cpp includes
the private NSPR header primpl.h. It shouldn't.
Because of this, nsJVMManager.cpp does not compile
on Solaris 7. This is reported by vdemarco@novazen.com
in Bugzilla bug #4761.
primpl.h should not be included by files outside
of NSPR. I suspect that nsJVMManager.cpp doesn't
need primpl.h at all.
Updated•26 years ago
|
Assignee: amusil → beard
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M5
Assignee | ||
Comment 1•26 years ago
|
||
Removing primpl.h doesn't compile on Windows. Is xp_path.h an acceptable
substitute? Chris Yeh says this is potentially obsolete.
Reporter | ||
Comment 2•26 years ago
|
||
xp_path.h was my invention. Before, many
files included primpl.h just to get the
definitions of a few path-related macros
(PR_PATH_SEPARATOR, PR_DIRECTORY_SEPARATOR,
etc.) I moved the definitions of these
path-related macros to the new file xp_path.h
so that those files didn't need to include
primpl.h.
So nsJVMManager.cpp can include xp_path.h.
If later there's a replacement for xp_path.h,
we will modify nsJVMManager.cpp as well as
many other files to include that more
appropriate header.
Assignee | ||
Updated•26 years ago
|
Target Milestone: M5 → M6
Assignee | ||
Comment 3•26 years ago
|
||
-> M6
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•26 years ago
|
||
Now using xp_path.h. Fixed in v1.19.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
Developer defect marking verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•