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

No need to wrap ClassLoaders in WeakReference in invocationContext implementations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 6.0.0.Final
    • None
    • None
    • None

      AbstractInvocationContext is having a reference to the ClassLoader but uses a weak reference.
      Besides not being needed and being an unnecessary object allocation, I think it could also be dangerous if the CL "vanishes" during an in-flight operation which should be using it.

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: