Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4627997

JDI testcase crexreq001 failing with -client -Xcomp only, all platforms

    Details

    • Subcomponent:
    • Resolved In Build:
      b59
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                never Tom Rodriguez
                Reporter:
                mavvarisunw Madhava Avvari (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: