Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6323942
Votes 0
Synopsis jvmti.h causes C compiler warning
Category hotspot:jvmti
Reported Against
Release Fixed
State 3-Accepted, bug
Priority: 4-Low
Related Bugs
Submit Date 14-SEP-2005
Description
> FYI...
>
> The Sun version of lint is complaining about:
>
> typedef jint (JNICALL *jvmtiReservedCallback)();
>
> being an old-style declaration, wants it to be:
>
> typedef jint (JNICALL *jvmtiReservedCallback)(void);
>


Or since it is never called, you could change it to typedef jint (JNICALL *jvmtiReservedCallback)(void*);
and both C++ and C would be happy.
Posted Date : 2005-09-14 15:03:06.0
Work Around
N/A
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang