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

JCache annotations stop working after CachingProvider is closed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 11.0.4.Final, 12.0.0.Dev05
    • 12.0.0.Dev06
    • JCache
    • None

    Description

      Our JCache annotation interceptors (e.g. CacheResultInterceptor for @CacheResult cache a reference to the default cache manager in DefaultCacheResolver.

      This reference becomes invalid when the application closes the default CacheManager or the CachingProvider. But the JCache specification says after the cache manager or caching provider is closed, the CachingProvider.getCacheManager() method should return a new manager instance, and the TCK tests rely on this.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei
              dberinde@redhat.com Dan Berindei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: