JVMDI: Method events not generated for native methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0, 1.3.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: