-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.2, 5.0
-
b59
-
generic
-
generic
-
Verified
Testcase :
nsk/jdi/ExceptionEvent/_itself_/exevent001
Location on old NSK testbase:
nsk/jdi/EventRequestManager/createExceptionRequest/crexreq001
Failing on all platforms.
LOG:
/net/alpheridies.sfbay/export/VM/merlin/merlin-nightly/DTF-workspace/exec1/NIGHTLY-Serv_Baseline-ClientVM-JDI_FULLLOOK-comp-Solsparc-starwars-2002-01-23-PM-20-36-38-0665/jdk/solsparc/bin/java -client -Xcomp nsk.jdi.EventRequestManager.createExceptionRequest.crexreq001 -arch=sparc -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-client -client -Xcomp"
##Exit status of execution step=97
##!checkExitCode
## ERROR: TEST FAILED: caught exception java.lang.IllegalMonitorStateException was not reported by the debugger
Name: egR10015 Date: 01/24/2002
Eugene Gorbachev <###@###.###>
In accordance with rfe 4615225 the test has been renamed and moved
to another location as follows:
nsk/jdi/ExceptionEvent/_itself_/exevent001
since testbase_nsk.v14r11, testbase_nsk.v131r11
======================================================================
Name: dkR10014 Date: 01/29/2002
The test fails only when debuggee class (crexreq001t class) is running
on Client VM in -Xcomp mode. The test passes in other modes including when
debuggee is running on Server VM in -Xcomp mode.
The failure is observed on Solaris sparc 5.7, Solaris x86 5.8,
Linux RedHat 6.2, Windows NT 4.0.
The test checks that results of the method
com.sun.jdi.EventRequestManager.createExceptionRequest(ReferenceType refType,
boolean notifyCaught,
boolean notifyUncaught)
complies with its spec.
The debugger class (crexreq001 class) creates ExceptionRequest filtered
to caught exception events and then listens for ExceptionEvents.
The debuggee throws and catches three types of exceptions:
- own crexreq001tException;
- IllegalMonitorStateException;
- NumberFormatException in another class.
Below is part of test log demonstrating the failure:
#Creating ExceptionEvent request that reports cought events
#EventListener: following ExceptionEvent occured:
# ###@###.###req001t:22
in thread main
#>> Exception event equals to expected
nsk.jdi.EventRequestManager.createExceptionRequest.crexreq001tException
#EventListener: following ExceptionEvent occured:
# ###@###.###ger:426 in thread main
#>> Exception event equals to expected java.lang.NumberFormatException
## ERROR: TEST FAILED: caught exception java.lang.IllegalMonitorStateException was not
reported by the debugger
#EventListener: following JDI event occured:
# VMDeathEvent
#Debuggee's process finished with status: 95
#EventListener: exiting
#
To reproduce bug run script in
/net/sqesvr.sfbay/export/vsn/GammaBase/Bugs/4627997 directory:
sh doit.sh <JAVA_HOME> -client -Xcomp
where "-client -Xcomp" are optional parameters for debuggee VM mode.
======================================================================
This bug also affects the following NSK test:
nsk/jvmti/scenarios/multienv/MA08/ma08t001
nsk/jdi/ExceptionEvent/_itself_/exevent001
Location on old NSK testbase:
nsk/jdi/EventRequestManager/createExceptionRequest/crexreq001
Failing on all platforms.
LOG:
/net/alpheridies.sfbay/export/VM/merlin/merlin-nightly/DTF-workspace/exec1/NIGHTLY-Serv_Baseline-ClientVM-JDI_FULLLOOK-comp-Solsparc-starwars-2002-01-23-PM-20-36-38-0665/jdk/solsparc/bin/java -client -Xcomp nsk.jdi.EventRequestManager.createExceptionRequest.crexreq001 -arch=sparc -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-client -client -Xcomp"
##Exit status of execution step=97
##!checkExitCode
## ERROR: TEST FAILED: caught exception java.lang.IllegalMonitorStateException was not reported by the debugger
Name: egR10015 Date: 01/24/2002
Eugene Gorbachev <###@###.###>
In accordance with rfe 4615225 the test has been renamed and moved
to another location as follows:
nsk/jdi/ExceptionEvent/_itself_/exevent001
since testbase_nsk.v14r11, testbase_nsk.v131r11
======================================================================
Name: dkR10014 Date: 01/29/2002
The test fails only when debuggee class (crexreq001t class) is running
on Client VM in -Xcomp mode. The test passes in other modes including when
debuggee is running on Server VM in -Xcomp mode.
The failure is observed on Solaris sparc 5.7, Solaris x86 5.8,
Linux RedHat 6.2, Windows NT 4.0.
The test checks that results of the method
com.sun.jdi.EventRequestManager.createExceptionRequest(ReferenceType refType,
boolean notifyCaught,
boolean notifyUncaught)
complies with its spec.
The debugger class (crexreq001 class) creates ExceptionRequest filtered
to caught exception events and then listens for ExceptionEvents.
The debuggee throws and catches three types of exceptions:
- own crexreq001tException;
- IllegalMonitorStateException;
- NumberFormatException in another class.
Below is part of test log demonstrating the failure:
#Creating ExceptionEvent request that reports cought events
#EventListener: following ExceptionEvent occured:
# ###@###.###req001t:22
in thread main
#>> Exception event equals to expected
nsk.jdi.EventRequestManager.createExceptionRequest.crexreq001tException
#EventListener: following ExceptionEvent occured:
# ###@###.###ger:426 in thread main
#>> Exception event equals to expected java.lang.NumberFormatException
## ERROR: TEST FAILED: caught exception java.lang.IllegalMonitorStateException was not
reported by the debugger
#EventListener: following JDI event occured:
# VMDeathEvent
#Debuggee's process finished with status: 95
#EventListener: exiting
#
To reproduce bug run script in
/net/sqesvr.sfbay/export/vsn/GammaBase/Bugs/4627997 directory:
sh doit.sh <JAVA_HOME> -client -Xcomp
where "-client -Xcomp" are optional parameters for debuggee VM mode.
======================================================================
This bug also affects the following NSK test:
nsk/jvmti/scenarios/multienv/MA08/ma08t001
- duplicates
-
JDK-5049195 Client VM misses exception events of ThreadDeath and InterruptedException
-
- Closed
-
- relates to
-
JDK-4628003 JDI testcase filter_rt001 failing
-
- Resolved
-
-
JDK-4407397 JDI: incorrect notification of caught and uncaught exception events
-
- Closed
-
-
JDK-4628004 JDI testcase issuspended002 failing witn -Xcomp
-
- Closed
-