Closed Bug 87929 Opened 24 years ago Closed 24 years ago

jniregen.pl doesn't work on windows

Categories

(NSS :: Libraries, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

Details

Attachments

(1 file)

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.
This breaks the build under some situations, so it needs to get fixed.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 3.3
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.

Attachment

General

Creator:
Created:
Updated:
Size: