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

Regenerate signature tests for CDI API 2.0

XMLWordPrintable

    • Hide

      Run the signature tests against the Weld implementation:
      java -jar $SIGTEST_JAR SignatureTest -classpath $SIG_CLASSPATH -Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static

      Show
      Run the signature tests against the Weld implementation: java -jar $SIGTEST_JAR SignatureTest -classpath $SIG_CLASSPATH -Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static

      I've been trying to execute the signature tests against CDI 2.0 (Weld), but I am seeing 100 or so failures.

      After some investigation, it looks the signature test files provided in 2.0.4.Final haven't been regenerated for CDI 2.0. The last update to the signature files was for CDI 1.1:
      https://github.com/cdi-spec/cdi-tck/commit/92120f6e043da5e3a3a6c240ad98a092e8e21857

      Also, this might require a challenge, but are we able to exclude the javax.enterprise.inject.se package from the signature test files? It doesn't seem like SE classes should be required for Java EE compliance.

              manovotn Matěj Novotný
              hwibell_jira Hank Ibell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: