Closed
Bug 87929
Opened 24 years ago
Closed 24 years ago
jniregen.pl doesn't work on windows
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.3
People
(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)
Details
Attachments
(1 file)
361 bytes,
patch
|
Details | Diff | Splinter Review |
The problem is that when Perl executes another program (javah), it parses the
argument list using the Windows cmd shell. There's no
way to override the shell. cmd doesn't understand single quotes, so it doesn't
strip them off. Javah was getting its classpath argument
surrounded by single quotes, which is an invalid classpath, so it couldn't find
the class.
My fix is to substitute double quotes for single quotes in the command before
passing it to system(), which will work as long as the command doesn't have
anything tricky in it. I don't see a situation where this would happen.
Assignee | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
This breaks the build under some situations, so it needs to get fixed.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 3.3
Assignee | ||
Comment 3•24 years ago
|
||
Fixed by making that patch to jniregen.pl.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•