JDK-4300914 : Test nsk/regression/4289162 FAILED
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmdi
  • Affected Version: 1.1,1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_7,windows_nt
  • CPU: generic,x86
  • Submitted: 1999-12-21
  • Updated: 2002-09-06
  • Resolved: 2002-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.3.0 sol-betaFixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
| arches% doit.sh
| java version "1.3.0"
| Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
                                                    ^^^^^^^^^^^^^
| Java HotSpot(TM) Client VM (build 1.3-R, interpreted mode)
| ----> 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!
| ----> catch_BREAKPOINT: breakpoint_counter = 2
| ----> catch__SINGLE_STEP: breakpoint_counter = 2
| ----> RUN: emptyMethod_call_counter = 2
| ----> catch_BREAKPOINT: breakpoint_counter = 3
| ----> RUN: emptyMethod_call_counter = 3
| ----> catch_BREAKPOINT: breakpoint_counter = 4
| ----> RUN: emptyMethod_call_counter = 4
| ----> catch_BREAKPOINT: breakpoint_counter = 5
| ----> RUN: emptyMethod_call_counter = 5
| ----> catch_BREAKPOINT: breakpoint_counter = 6
| ----> 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 = 6
| ---->                  Set_EVENT_SINGLE_STEP = MADE
| ---->                  UnSet_EVENT_SINGLE_STEP = MADE
| ---->                  EVENT_SINGLE_STEP_catch_counter = 1

See bug report 4298263 for instructions on how to run this test.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: kestrel-solaris FIXED IN: kestrel-solaris INTEGRATED IN: kest-sol-beta
14-06-2004

EVALUATION Basically, the bugs 4298263 (VM crash) and 4300914 (test failure) needs slightly different variants of the test source: to reproduce the VM crash, the following line in the file b4289162.java should be commented away: System.out.println("----> RUN: emptyMethod_call_counter = " + emptyMethod_call_counter); So, I've prepared separate GammaBase/Bugs/4300914 where that line in b4289162.java is not commented away -- in order to reproduce the test failure rather than VM crash. Please look the bug report 4298263 for more details; and note that the author of the bug 4298263 claims that failure of HS 1.3-fcs against the test b4289162 was already filed as the bug 4294585 <###@###.###>, 21 Dec 1999 jon.masamitsu@Eng 2000-01-20 When the test program turned off notification for single stepping, the _bytecode_stepping variable was set to false. _bytecode_stepping also affects the current breakpoint implementation so should not be set to false unless notification for both single stepping and breakpoint for is turned off.
11-06-2004

SUGGESTED FIX jon.masamitsu@Eng 2000-01-20 Turn off bytecode_stepping only if both single stepping notification and breakpoint notification are off.
20-01-2000