Closed
Bug 40937
Opened 25 years ago
Closed 25 years ago
ProxyJNI.cpp does not build under Linux/ia64
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
People
(Reporter: jim_nance, Assigned: drapeau)
Details
Attachments
(1 file)
2.74 KB,
patch
|
Details | Diff | Splinter Review |
The compiler on Linux/ia64 is complaining about code like this:
jargs[i].z = va_arg(args, jboolean);
Apparently a jboolean is shorter than an int, and it will be
promoted to an int when passed to a function as one of the
... arguments. Therefor the compiler wants you to ask for
the promoted type when you use the va_arg macro. I have
attached a patch that fixes this and allows the file to
compile. It also fixes some warnings about using NULL for
non-pointer values.
Comment 2•25 years ago
|
||
*** This bug has been marked as a duplicate of 37364 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•