-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.3.0
-
generic
-
generic
Name: dkC59003 Date: 12/08/99
The regression test (testbase_nsk) nsk/regression/b4289162 fails
under the Classic VM 1.3.0-Q on Solaris and on win32.
The test sets BREAKPOINT in emptyMethod and when BREAKPOINT
is caught the test calls
SetEventNotificationMode(JVMDI_ENABLE, JVMDI_EVENT_SINGLE_STEP, ...)
method and expects to catch this event, but it does not happen.
It had been checked that the same happens with not-empty method.
To reproduce the bug run doit.sh on Solaris and doit.bat on win32 in
GammaBase/Bugs/<this bug number>.
See log:
% doit.sh
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-Q)
Classic VM (build 1.3.0-Q, green threads, nojit)
----> loadLibrary("b4289162") - COMPLETED
----> breakpoint_init: BREAKPOINT is set for b4289162.emptyMethod()
----> RUN: emptyMethod_call_counter = 1
----> catch_BREAKPOINT: breakpoint_counter = 1
----> Set Event Notification Mode(JVMDI_ENABLE, JVMDI_EVENT_SINGLE_STEP) - MADE!
----> RUN: emptyMethod_exit_counter = 1
----> RUN: emptyMethod_call_counter = 2
----> catch_BREAKPOINT: breakpoint_counter = 2
----> RUN: emptyMethod_exit_counter = 2
----> RUN: emptyMethod_call_counter = 3
----> catch_BREAKPOINT: breakpoint_counter = 3
----> RUN: emptyMethod_exit_counter = 3
----> RUN: emptyMethod_call_counter = 4
----> catch_BREAKPOINT: breakpoint_counter = 4
----> RUN: emptyMethod_exit_counter = 4
----> RUN: emptyMethod_call_counter = 5
----> catch_BREAKPOINT: breakpoint_counter = 5
----> RUN: emptyMethod_exit_counter = 5
----> 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 = 5
----> Set_EVENT_SINGLE_STEP = MADE
----> UnSet_EVENT_SINGLE_STEP = NOT CALLED
----> EVENT_SINGLE_STEP_catch_counter = 0
======================================================================
Sorry for confusion.
The Shell script to run the test on Solaris and the batch file to run the test on win32,
and the sources of the test can be found in
/net/sqesvr/vsn/GammaBase/Bugs/4297943 directory.
<###@###.###>, 22 Dec 1999