Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4300736

JVMDI: Method events not generated for native methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0, 1.3.0
    • core-svc
    • generic, sparc
    • generic, solaris_2.6

       Unable to obtain MethodEntryEvent for NativeMethod in Classic
       VM,works fine in HotSpot VM.HelloWorld.java uses the nativemethod
      displayHelloWorld,by loading
       the library hello.HelloWorldImp.c implements the nativemethod
      displayHelloWorld.

      Steps to reproduce the bug
      ---------------------------
      1)Set path to JDK1.3.0.R(in Windows platform)
      2)Compile the attached files with -g option
      3)Start the targetVM with the command
      java -Xdebug -Xnoagent
      -Xrunjdwp:transport="dt_socket",server=y,suspend=y,address=5670
      HelloWorld
      4)Start the debugger with the command
      java StackFrameTest
      5)Repeat step 4 & 5 with -classic option.

      Attachments:
      -----------
       1. JDIScaffold.java
       2. VMConnection.java
       3. StackFrameTest.java
       4. HelloWorld.java
       5. HelloWorldImp.c(used VC++5,to generate library file)
       6. windowshotspotlog.txt
       7. windowsclassiclog.txt

            ghirschsunw Gordon Hirsch (Inactive)
            sshakilasunw Shahulhameedmohaideenhaleema Shakila (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: