-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0, 1.3.0
-
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
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
- duplicates
-
JDK-4303113 JVMDI_EVENT_METHOD_ENTRY, JVMDI_EVENT_METHOD_EXIT not generated sometimes
-
- Closed
-