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

XMLWordPrintable

    • generic
    • generic

      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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: