Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10745

infinispan-jcache-remote does not support CDI caching annotations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 9.4.16.Final, 10.0.0.CR3
    • Core
    • None

    Description

      infinispan-jcache-remote does not have CDI interceptors for the JCache annotations like @CacheResult, so the annotations are ignored.

      The JCache TCK has tests for the annotations (e.g. InterceptionCacheNameOnEachMethodTest), but those tests used to pass by accident: a Weld dependency (slf4j-api) was missing in the tck-remote maven-failsafe-plugin execution, and AbstractInterceptionTest was automatically excluding them.

      Weld 2.3.4.Final removed the slf4j-api dependency and the tck-remote interception tests started failing after the upgrade, but we did not notice because of ISPN-10379.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: