JDK-6323942 : jvmti.h causes C compiler warning
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2005-09-14
  • Updated: 2023-12-13
  • Resolved: 2016-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
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.