Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-410

some tests fail with Java8

XMLWordPrintable

      The following tests fail with Java8:

      • org.jboss.jsr299.tck.tests.event.observer.conditional.ConditionalObserverTest
      • org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.DisposalMethodDefinitionTest

      The underlying problem is that java8 returns getMethods() in a different order now. And those 2 tests really depend on the order they are executed in.
      The first test method e.g. notifies a Bean which has an IF_EXIST observer method and later asserts that the observer method did not get triggered.
      But this test method fails if the other test-methods of the class got executed before it (because of the different method ordering in Java8).

            tremes1@redhat.com Tomas Remes
            struberg Mark Struberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: