Failure to execute multiple failing @run test statements

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      The test JSR166TestCase.java contains multiple @run statements, but only the first one is executed!
      (edit: only if the @run fails!)

      This is a serious regression, because the test harness is silently failing to execute tests that have been running for years.

       $ grep @run < test/jdk/java/util/concurrent/tck/JSR166TestCase.java
       * @run junit/othervm/timeout=1000 JSR166TestCase
       * @run junit/othervm/timeout=1000 -Djava.security.manager=allow JSR166TestCase
       * @run junit/othervm/timeout=1000
       * @run junit/othervm/timeout=1000
       * @run junit/othervm/timeout=1000
       * @run junit/othervm/timeout=1000/policy=tck.policy

       $ jtreg -v:all -jdk ~/jdk/jdk21 test/jdk/java/util/concurrent/tck/JSR166TestCase.java |& grep 'REASON:.*run junit'
      REASON: User specified action: run junit/othervm/timeout=1000 JSR166TestCase

            Assignee:
            Unassigned
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: