JDK-4900372 : JVMTI spec: extension functions must return error code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-08-03
  • Updated: 2017-05-16
  • Resolved: 2003-10-13
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
5.0 tigerFixed
Related Reports
Relates :  
Description
Extension functions were designed to return an error code -- there is even
a parameter in there definition which specifies which error codes they
return.  But due to a cut and paste typo, the extension function type
returns a void:

	typedef void (JNICALL *jvmtiExtensionFunction)
                (const jvmtiEnv* env,  ...);

this should be:


	typedef jvmtiError (JNICALL *jvmtiExtensionFunction)
                (const jvmtiEnv* env,  ...);

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: tiger INTEGRATED IN: tiger tiger-b18
14-06-2004

EVALUATION like it says
11-06-2004