JDK-5094138 : jvmti demo hprof cannot be compiled, missing files (java_crw_demo too)
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-08-30
  • Updated: 2006-02-07
  • Resolved: 2004-10-09
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 JDK 6
5.0u2Fixed 6 b08Fixed
Description
Can't compile hprof without opcodes.h opcodes_length, and jvm.h.

These were used to access the standard class constants for opcodes and
constant pool values.  Too bad we can't provide these in general for
native code users.  BCI will create a bigger need for these.

something like opcodes.h, opcodes.length, and jvm.h public#include files, or something like them...  Not functions as much as macrosand constant values.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang FIXED IN: mustang
29-09-2004

SUGGESTED FIX Created a classfile_constants.h file that is part of java_crw_demo. Changed demo to use the constants in this file. Also changed hprof source to not use jvm.h and use this classfile_constants.h file from java_crw_demo too.
29-09-2004

EVALUATION See description ###@###.### 2004-09-03 See suggested fix. ###@###.### 2004-09-14
03-09-2004