8 Replies Latest reply: Feb 27, 2012 2:55 AM by 919101 RSS

    Problem about JVMTI_EVENT_CLASS_FILE_LOAD_HOOK in JVMTI

    919101
      Hi, everyone!
      I have a problem using JVMTI_EVENT_CLASS_FILE_LOAD_HOOK in JVMTI. I encrypt my class file so that it does not begin with class file magic number(0xCAFEBABE).And I want to transform it in my CLASS_FILE_LOAD_HOOK Callback Function.But It seems that JVM will not load that class file, so I do not even have a chance to transform it. How should I do? Thanks in advance.