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

JDI: incorrect notification of caught and uncaught exception events

XMLWordPrintable

    • ladybird
    • generic
    • generic
    • Verified



        Name: elR10090 Date: 01/23/2001


         The HotSpot VM (from both ladybird and merlin) fails to pass the tests

        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq001,
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq006,
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq008

        from testbase_nsk on all platforms.

         The tests consist of debugger part (crexreq00X.java) and debugee part
        (crexreq00Xt.java). The debugger creates requests of the exception events
        in debugee using
        com.sun.jdi.request.EventRequestManager.createExceptionRequest()
        with various combinations of booolean notifyCaught and notifyUncaught
        parameters.
        The debugee incorrectly notifies or does not notify the debugger about
        caught and uncaught exception events.
         
        JDK version
        -----------
        java version "1.3.1beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b13)
        Java HotSpot(TM) Client VM (build 1.3.1beta-b13, mixed mode)

        java version "1.4.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b47)
        Java HotSpot(TM) Client VM (build 1.4beta-B47, mixed mode)

        Platforms
        ---------
        Solaris sparc 5.7, Linux Red Hat 6.2, Windows NT 4.0

        Error message from output of the test execution
        -----------------------------------------------
        # ERROR: TEST FAILED: test case #3: caught exception
        java.lang.NumberFormatException was reported by the debugger
        # ERROR: TEST FAILED: test case #4: caught exception
        nsk.jdi.EventRequestManager.createExceptionRequest.crexreq001tException was not
        reported by the debugger

        Test source files location
        --------------------------
        /net/sqesvr/export/vsn/GammaBase/Bugs/<this bug number>

        Scripts to reproduce the failure
        --------------------------------
        /net/sqesvr/export/vsn/GammaBase/Bugs/<this bug number>/crexreq001/doit.ksh
        <JAVA_HOME>
        /net/sqesvr/export/vsn/GammaBase/Bugs/<this bug number>/crexreq006/doit.ksh
        <JAVA_HOME>
        /net/sqesvr/export/vsn/GammaBase/Bugs/<this bug number>/crexreq008/doit.ksh
        <JAVA_HOME>

        ======================================================================

        Name: egR10015 Date: 02/04/2001


        This bug also affects the following tests from testbase_nsk:
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq002
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq003
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq004
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq005
        nsk/jdi/EventRequestManager/createExceptionRequest/crexreq007

        ======================================================================

              rfield Robert Field (Inactive)
              latkinsunw Latkin Latkin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: