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

Reg test com/sun/jdi/ExceptionEvents.java is failing (StackOverflowError)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-svc
    • None
    • generic
    • generic



      Name: tb29552 Date: 10/12/2001


      See ExceptionEvents.jtr (attached)

      Here is the tail end:

      ----------System.out:(53/2636)----------

      Testing StackOverflowUncaughtTarg with null/caught=true/uncaught=true
      suspend=All
      JVM version:1.4.0-internal
      JDI version: 1.4
      JVM description: Java Debug Interface (Reference Implementation) version 1.4
      Java Debug Wire Protocol (Reference Implementation) version 1.4
      JVM Debug Interface version 1.2
      JVM version 1.4.0-internal (Java HotSpot(TM) Client VM, interpreted mode)
      ExceptionEvent: java.lang.StackOverflowError @ thrower:60
      ExceptionEvent: java.lang.StackOverflowError @ main:57
      Exception in thread "main" java.lang.StackOverflowError
      at StackOverflowUncaughtTarg.thrower(ExceptionEvents.java:60)
      at StackOverflowUncaughtTarg.main(ExceptionEvents.java:57)

      Testing StackOverflowUncaughtTarg with null/caught=false/uncaught=true
      suspend=All
      JVM version:1.4.0-internal
      JDI version: 1.4
      JVM description: Java Debug Interface (Reference Implementation) version 1.4
      Java Debug Wire Protocol (Reference Implementation) version 1.4
      JVM Debug Interface version 1.2
      JVM version 1.4.0-internal (Java HotSpot(TM) Client VM, interpreted mode)
      ExceptionEvent: java.lang.StackOverflowError @ thrower:60
      ExceptionEvent: java.lang.StackOverflowError @ main:57
      Exception in thread "main" java.lang.StackOverflowError
      at StackOverflowUncaughtTarg.thrower(ExceptionEvents.java:60)
      at StackOverflowUncaughtTarg.main(ExceptionEvents.java:57)

      Testing StackOverflowUncaughtTarg with null/caught=true/uncaught=false
      suspend=All
      JVM version:1.4.0-internal
      JDI version: 1.4
      JVM description: Java Debug Interface (Reference Implementation) version 1.4
      Java Debug Wire Protocol (Reference Implementation) version 1.4
      JVM Debug Interface version 1.2
      JVM version 1.4.0-internal (Java HotSpot(TM) Client VM, interpreted mode)
      Exception in thread "main" java.lang.StackOverflowError
      at StackOverflowUncaughtTarg.thrower(ExceptionEvents.java:60)
      at StackOverflowUncaughtTarg.main(ExceptionEvents.java:57)

      Testing StackOverflowUncaughtTarg with null/caught=false/uncaught=false
      suspend=All
      JVM version:1.4.0-internal
      JDI version: 1.4
      JVM description: Java Debug Interface (Reference Implementation) version 1.4
      Java Debug Wire Protocol (Reference Implementation) version 1.4
      JVM Debug Interface version 1.2
      JVM version 1.4.0-internal (Java HotSpot(TM) Client VM, interpreted mode)
      Exception in thread "main" java.lang.StackOverflowError
      at StackOverflowUncaughtTarg.thrower(ExceptionEvents.java:60)
      at StackOverflowUncaughtTarg.main(ExceptionEvents.java:57)

      Summary of tests with too many events:
      StackOverflowUncaughtTarg with null/caught=true/uncaught=true suspend=All
      StackOverflowUncaughtTarg with null/caught=false/uncaught=true suspend=All

      ----------System.err:(22/1180)----------
      run args: [StackOverflowUncaughtTarg]
      FAILURE: expected only one event got: 2
      run args: [StackOverflowUncaughtTarg]
      FAILURE: expected only one event got: 2
      run args: [StackOverflowUncaughtTarg]
      pass: as expected no event sent
      run args: [StackOverflowUncaughtTarg]
      pass: as expected no event sent
      java.lang.Exception: ExceptionEvents(U A StackOverflowUncaughtTarg) FAILED 2
      tests!
      at ExceptionEvents.summarize(ExceptionEvents.java:180)
      at ExceptionEvents.main(ExceptionEvents.java:161)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:327)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:539)

      JavaTest Message: Test threw exception: java.lang.Exception: ExceptionEvents(U A
      StackOverflowUncaughtTarg) FAILED 2 tests!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: ExceptionEvents(U A
      StackOverflowUncaughtTarg) FAILED 2 tests!
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception:
      ExceptionEvents(U A StackOverflowUncaughtTarg) FAILED 2 tests!


      test result: Failed. Execution failed: `main' threw exception:
      java.lang.Exception: ExceptionEvents(U A StackOverflowUncaughtTarg) FAILED 2
      tests!

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

            tbell Tim Bell
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: