-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
2.0
-
x86
-
windows_nt
Name: dkC59003 Date: 01/10/2000
The regression test (testbase_nsk) nsk/regression/b4289162 fails
under the HotSpot Server VM (2.0rc1, build I) on win32.
The test sets breakpoint in the emptyMethod() method which is called in loop
(5 times). When the breakpoint is caught for the first time the test
enables the JVMDI_EVENT_SINGLE_STEP event and when
this event is caught the test disables the JVMDI_EVENT_SINGLE_STEP
event . After this the JVMDI_EVENT_BREAKPOINT events are not sent any more.
The same happens for not-empty method.
To reproduce the bug run doit.bat on win32 in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.
The first parameter for doit.bat should be JDK root directory
(e.g. L:/java/jdk1.2.2/win32) and the other parameter(s) -
VM option(s) (optional).
The Classic VM runs the test perfectly.
See log:
% doit.bat d:/export/java/jdk1.2.2/win32
java version "1.2.2"
Java HotSpot(TM) Server VM (2.0rc1, mixed mode, build I)
----> Test nsk/regression/4289162 FAILED
----> Expected result: breakpoint_counter = 5
----> Set_EVENT_SINGLE_STEP = MADE
----> UnSet_EVENT_SINGLE_STEP = MADE
----> EVENT_SINGLE_STEP_catch_counter = 1
----> Produced result: breakpoint_counter = 1
----> Set_EVENT_SINGLE_STEP = MADE
----> UnSet_EVENT_SINGLE_STEP = MADE
----> EVENT_SINGLE_STEP_catch_counter = 1
% doit.bat d:/export/java/jdk1.2.2/win32 -classic -Djava.compiler=NONE
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, nojit)
----> Test nsk/regression/4289162 PASSED
----> Produced (expected) result: breakpoint_counter = 5
----> Set_EVENT_SINGLE_STEP = MADE
----> UnSet_EVENT_SINGLE_STEP = MADE
----> EVENT_SINGLE_STEP_catch_counter = 1
======================================================================