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

com/sun/jdi tests can fail when a background thread throws exceptions

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The test:
      com/sun/jdi/ExceptionEvents.java
      Can fail when a background thread (such as Flight Recorder) throws exceptions since the test is testing for no unexpected exceptions.

      The failure is difficult to reproduce but looking at the test sources it is clear that "oracle.*" and "com.oracle.*" should be added to the already existing exclude list.

      Failure:
      java.lang.Exception: ExceptionEvents(... StackOverflow...) FAILED ... tests!
      at ExceptionEvents.summarize(ExceptionEvents.java:229)
      at ExceptionEvents.main(ExceptionEvents.java:210)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mgerdin Mikael Gerdin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: