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

FRAME_POP event is sent when a method terminates by throwing an exception

XMLWordPrintable

    • rc1
    • x86
    • windows_nt
    • Verified



        Name: dkC59003 Date: 03/09/2000



        Kestrel HotSpot build 1.3rc2-V fails the test
        nsk/jvmdi/NotifyFramePop/nframepop001 from testbase_nsk.

        The spec states in the Frame Events description:
        "If a method terminates by throwing an exception to its
        caller, neither a method exit event nor a frame pop event will be generated."
        But the HotSpot VM does generate JVMDI_EVENT_FRAME_POP event when
        the method meth2 throws Throwable exception.

        Classic and HotSpot 1.3rc2-V on Solaris pass the test.

        To reproduce the bug run
        doit.bat <jdk root directory>
        in
        /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

        When running on winNT the test outputs:

        >doit G:\ld24\java\hotspot\jdk1.3.0\win32
        ...
        java version "1.3.0rc2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-V)
        Java HotSpot(TM) Client VM (build 1.3.0rc2-V, mixed mode)

        FRAME_POP event sent

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

              mchung Mandy Chung (Inactive)
              dkhukhrosunw Dmitry Khukhro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: